[FFmpeg-user] Audio out of sync after video concatenation

Michael Koch astroelectronic at t-online.de
Tue Jun 22 22:42:50 EEST 2021

Am 22.06.2021 um 20:16 schrieb iburman at compuscience.com:
>> Have you tried adding (silent) audio to video 2 and trying your join
> operation again? You could use `anullsrc':
> This is what I am trying to do, but wasn't able to accomplish the first step
> which is adding a silent audio to my video using anullsrc.
> I came up with the following command after doing some search and also based
> on Michael's command sample:
> Ffmpeg -i video.mp4 -f lavfi -i anullsrc=r=48000:cl=2 -c:v copy -c:a aac
> -shortest output.mp4
> At the end of the console output I get the following:
> Press [q] to stop, [?] for help
> [aac @ 0000023281941140] Unsupported channel layout "1 channels (FR)"

try to replace  cl=2  by  cl=stereo


More information about the ffmpeg-user mailing list