xfade and acrossfade

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xfade and acrossfade

Michael Koch
Paul,

is there any chance that the new xfade filter and the acrossfade filter
could be harmonized, so that they accept the same parameters?
The acrossfade filter does always fade near the end of the first input
stream. Only the duration must be specified.
The xfade filter expects a duration and an offset. If you want to fade
near the end of the first stream, you have to know its length.
I prefer the behaviour of acrossfilter because it's unnecessary to know
the length.
If you want the video fade earlier in the stream, the trim filter could
be used before xfade.

Michael

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: xfade and acrossfade

Paul B Mahol
On 1/31/20, Michael Koch <[hidden email]> wrote:

> Paul,
>
> is there any chance that the new xfade filter and the acrossfade filter
> could be harmonized, so that they accept the same parameters?
> The acrossfade filter does always fade near the end of the first input
> stream. Only the duration must be specified.
> The xfade filter expects a duration and an offset. If you want to fade
> near the end of the first stream, you have to know its length.
> I prefer the behaviour of acrossfilter because it's unnecessary to know
> the length.
> If you want the video fade earlier in the stream, the trim filter could
> be used before xfade.

Nope, because storing 1000 frames (duration of transition) in RAM is not free.

>
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: xfade and acrossfade

Michael Koch
Am 31.01.2020 um 19:09 schrieb Paul B Mahol:

> On 1/31/20, Michael Koch <[hidden email]> wrote:
>> Paul,
>>
>> is there any chance that the new xfade filter and the acrossfade filter
>> could be harmonized, so that they accept the same parameters?
>> The acrossfade filter does always fade near the end of the first input
>> stream. Only the duration must be specified.
>> The xfade filter expects a duration and an offset. If you want to fade
>> near the end of the first stream, you have to know its length.
>> I prefer the behaviour of acrossfilter because it's unnecessary to know
>> the length.
>> If you want the video fade earlier in the stream, the trim filter could
>> be used before xfade.
> Nope, because storing 1000 frames (duration of transition) in RAM is not free.

A maximum of 100 frames (4s at 25fps) would be sufficient for 99% of all
cases.

Michael

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".