[FFmpeg-user] fade usage in complex filter

Erik Dobberkau erik.dobberkau at gmail.com
Fri Nov 4 21:40:35 EET 2016


>
> But at this point I`m getting a 'too many inputs specified' error just
> trying to test the fade filter
>
> ffmpeg.exe -y -i "C:\Users\Public\Documents\Video
> Recordings\99-99999-99\tempc-2016-11-04-14-34-14.avi"  -preset faster -r
> 20
> -tune film -c:v libx264 -b:a 96k -crf 27 -pixel_format yuv420p
> -filter_complex
> "[0:v]scale='trunc(oh*a/2)*2:600'[ready];[ready][0:v]fade=
> type=in:start_frame=100:nb_frames=20[out]"
>  -map "[out]" -map 0:a "C:\Users\Public\Documents\Compressed Video
> Recordings\fdghdfgh.mp4"
>
>
> [ready] is a video-only input for fade, you do not need to specify [0:v]
-- this is causing the error because it's recognised as second input which
fade does not support.


More information about the ffmpeg-user mailing list