[FFmpeg-user] differences between -vf and -filter_complex

Paul B Mahol onemda at gmail.com
Wed May 10 21:13:41 EEST 2017


On 5/10/17, Dave Rice <dave at dericed.com> wrote:
> Hi ffmpeg-user,
>
> In some cases I've been using -vf and -filter_complex interchangeability but
> notice that some behavior is unexpectedly different.
>
> For instance if I use format=yuv422p10le within -vf and within
> -filter_complex the output is different. Is there something else I should
> add to the filterchain to get consistent results.
>
> Below is the output of:
> ffmpeg -f lavfi -i testsrc2=r=1:d=5             -vf format=yuv422p10le -f
> framemd5 -
> and
> ffmpeg -f lavfi -i testsrc2=r=1:d=5 -filter_complex format=yuv422p10le -f
> framemd5 -

Both commands are suboptimal, use:

ffmpeg -f lavfi -i testsrc2=r=1:d=5,format=yuv422p10le -f framemd5 -


More information about the ffmpeg-user mailing list