[FFmpeg-devel] mpegts_write_header(), the buffering and thus reordering of audio samples.

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 1 13:26:53 CET 2011


Will Korbe <wkorbe <at> gmail.com> writes:

> I see there is an efficiency built in to bundle multiple audio samples
> into one PES packet and was wondering if someone could point out a
> paragraph from the MPEG2 specification which indicates the reordering
> of TS Packets this causes is okay? I have a video with many 41 byte
> audio samples at the start, and this seems to push the first audio
> samples 5 seconds into the output.

Is this related to tickets 542 and 566?
(ffmpeg does not see aac streams in newly created ts files if the audio stream
starts silent.)

Carl Eugen



More information about the ffmpeg-devel mailing list