[FFmpeg-user] Concat demuxer avoid injecting additional silent packets

Ronak ronak2121 at yahoo.com
Tue Oct 11 05:43:26 EEST 2022


Hi,

I’m trying to concatenate a bunch of audio only MP4s together using FFmpeg’s concat demuxer.

When I tested this with concaving 4 MP4 files into a larger one, FFmpeg seems to inject a variable amount of audio samples between concatenated files.

Is there a way to avoid having FFmpeg inject those additional silent packets while concatenating?

Does FFmpeg inject this silence regardless of what output there is? (Raw AAC vs AAC in MP4).

Ronak


More information about the ffmpeg-user mailing list