[FFmpeg-user] Glitch when concat'ing two .MTS files using concat filter

Joshua Grauman jnfo-c at grauman.com
Tue Aug 14 19:32:50 EEST 2018


Hi all,

My camera automatically splits up video files at the 2 GB mark like I 
think many cameras do. I use ffmpeg to combine them back using the concat 
filter, which works, but there is a glitch for a fraction of a second 
right at the break between the two files in the resultant output (in both 
the audio and video). My camera records avchd .MTS files. I am using a 
complex filter like: [2:v][2:a][vid1][aud1] concat=n=2:v=1:a=1[vid2][aud2] 
to do the concat'ing.

Does anyone know if there is a way to fix this with the concat filter? Or 
do I need to use another method (like the concat demuxer)?

Josh


More information about the ffmpeg-user mailing list