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

Erik Dobberkau erik.dobberkau at gmail.com
Tue Oct 11 08:45:57 EEST 2022


> > Is there a way to avoid having FFmpeg inject those additional silent
> packets while concatenating?
>
> Here is my FFmpeg information: […]
>

Is your audio encoded using AAC? Your uncut console output would tell had
it not been omitted… therefore, please make sure to always provide the
complete console output.

IIRC, AAC has packets of 1024 samples, and the concat (de)muxer/filter may
operate on packet level, not sample level, which would explain the silence
(missing samples to complete their number to the next integer multiple of
1024).

It’s only a guess though, and (one of) the developers should be able to
share some insight on what’s (not) happening.


More information about the ffmpeg-user mailing list