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

iburman at compuscience.com iburman at compuscience.com
Tue Jun 22 22:57:49 EEST 2021

> try to replace  cl=2  by  cl=stereo
Yes, this worked. Thanks a lot!

-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Michael Koch
Sent: Tuesday, June 22, 2021 10:43 PM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] Audio out of sync after video concatenation

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

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list