Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition happening 5 seconds earlier #150

Open
thorapps opened this issue Jan 5, 2023 · 4 comments
Open

Transition happening 5 seconds earlier #150

thorapps opened this issue Jan 5, 2023 · 4 comments

Comments

@thorapps
Copy link

thorapps commented Jan 5, 2023

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?

@transitive-bullshit
Copy link
Owner

Can you upload your 3 videos so I can try to reproduce?

@thorapps
Copy link
Author

thorapps commented Jan 6, 2023

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?

@thorapps
Copy link
Author

thorapps commented Jan 6, 2023

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

@thorapps
Copy link
Author

thorapps commented Jan 6, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants