[FFmpeg-user] Transcoding with different codec (libfdk_aac) alters duration, how to fix?

frafart at free.fr frafart at free.fr
Fri Dec 27 14:42:48 CET 2013


> This works in principle but causes problems in the resulting output file at
> the boundaries of the joined segments. Specifically, there is an
> audible "gap" in the audio stream.

You have the same "problem" than me : AAC protocol induced "Audio priming".
See : https://developer.apple.com/library/mac/documentation/quicktime/qtff/QTFFAppenG/QTFF

The 0.046s added in the file after AAC encoding must be a bunch of silence at the begining.

You can see my post on this list ("Deal with AAC priming when join file").

If you find a solution, thank to think to me ! :)


More information about the ffmpeg-user mailing list