[FFmpeg-user] How to improve result of transitions

iburman at compuscience.com iburman at compuscience.com
Tue Jun 22 12:00:31 EEST 2021


I see..., understood..Thanks!

-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Michael Koch
Sent: Tuesday, June 22, 2021 10:54 AM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] How to improve result of transitions


> However, now that I understand that for 4 seconds transition you need 
> 4 seconds on each video, I don't understand why you need two 
> parameters, duration and offset. Why not simply define the duration, 
> and have ffmpeg calculate the offset as videoDuration minus
transitionDuration?

I think that's because when the transition begins FFmpeg doesn't yet know
the length of the input stream.
It could also be a live stream with unknown length.

Michael
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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




More information about the ffmpeg-user mailing list