ffmpeg-concat
ffmpeg-concat copied to clipboard
Transition happening 5 seconds earlier
Hi, I'll like to concat 3 videos each of them are 17 seconds longs.... I'll like the transition to last 0.5 seconds.... but the transition takes place at second 11 of the video, not at 16.5...
Here's my command: ffmpeg-concat -t crosszoom -d 500 -o output.mp4 input1.mp4 input2.mp4 input3.mp4
Am I missing something?
Can you upload your 3 videos so I can try to reproduce?
I have tried with another video and works well, with mine not! The thing with my video is that the last 5 or 6 seconds is a fixed image, so maybe fools the transition...Can I sent the video to you in private?
Hi, I have insvestigated more.. and I found that the video I'll like to make the transition is somehow broken, in a player it show it lasts 17 seconds, but in reality the video breaks at second 12th. The video is the output of a ffmpeg command... which produces a broken video.. so it seems that the transition is not the culprit but ffmpeg is!
the ffmpeg command that seems to break the video is :
ffmpeg -y -i input_video.mp4 -i timer.mov -filter_complex "[1:v]setpts=PTS+3/TB[v]; [0:v][v]overlay=100:100:enable=gte(t\,3):shortest=1,format=yuv420p[out]; [1:a]adelay=3s:all=1[a1];[0][a1]amix[a]" -map [out] -map [a] -c:v libx264 -crf 18 output.mp4
I've found problem on my command, the problem ws the "shortest=1", removing it everything goes well! Thanks for that superb software you've developped!