[FFmpeg-user] Fade in filter and alpha channel fade in text

Joshua Grauman jnfo-c at grauman.com
Mon Aug 13 11:08:54 EEST 2018


>> Hi all,
>>
>> I am combining various effects, and I noticed that when I fade in a video
>> using the [in]fade=t=in:st=2:n=24[out] syntax, and I fade in text using
>> alpha='if(lt(t,2),0,if(lt(t,3),t-2,1))', that they both fade in roughly at
>> the same time, but both are not linear. I'm guessing the fade=in uses a
>> sine wave or something to fade in the video, while clearly the text fade
>> is based on a linear fading of the alpha channel. Am I correct that the
>> video fade in is a sinusoidal fade? Does anyone know offhand how I could
>> get the text fade to match the video one?
>
> Fade is always linear in this filter.

Good to know, obviously I have something else wrong then. Thanks!

Josh

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://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