[FFmpeg-user] Sync video and audio after using complex filters to blend two files

DevOfAllTrades echarles at bostonproductions.com
Thu Dec 15 20:56:47 EET 2016


I'm having a similar problem. 

This is the call I'm using:

ffmpeg -y -r 30 -i titleCard.mp4 -i rawRecording.mp4 -i credits.mp4  -i
longSong.mp3 -filter_complex "[0:0][0:1][1:0][1:1][2:0][2:1]
concat=n=3:v=1:a=1 [concatv] [concata],
[3:0]aformat=sample_fmts=fltp:sample_rates=48000:channel_layouts=stereo,volume=0.4[quiet],
[concata][quiet]amerge=inputs=2[aout]" -map [concatv] -map [aout] -pix_fmt
yuv420p -c:a aac -strict -2 output.mp4

I've tested this on a bunch of platforms, and I've found that it plays back
with no issues on Windows Media Player and the new Windows 10 Movies & TV
app (of all things), but not in Chrome, Quicktime, VLC, etc. 

What platform are you trying to play your output file back on? I'd be
curious to see if it plays with no sync issues on any platform.




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Sync-video-and-audio-after-using-complex-filters-to-blend-two-files-tp4678487p4678596.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list