Translate H.264 Annex B streams to AVC elementary streams
Fragmented MP4s expected H264 data in mdats to a sequence of NAL units preceded by their length. MPEG2-TS streams transmit H264 data using start codes to signal the beginning of aNAL. When parsing NALs to build the sample table, reformat them to remove start codes and add length fields. Pulled the video-related program stream parsing into its own stream object because Transmuxer was getting too busy.
Showing
3 changed files
with
258 additions
and
114 deletions
-
Please register or sign in to post a comment