[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86
Nicolas George
george at nsup.org
Tue Jun 7 11:54:21 CEST 2016
Le decadi 20 prairial, an CCXXIV, Muhammad Faiz a écrit :
> mkfifo in0.y4m
> mkfifo in1.y4m
> $build_path/ffmpeg $3 -i "$1" -filter_complex "showcqt, format=$2,
> format=yuv444p|yuv422p|yuv420p" -f yuv4mpegpipe -y in0.y4m
> 2>&1 </dev/null &
> ffmpeg $3 -i "$1" -filter_complex "showcqt, format=$2,
> format=yuv444p|yuv422p|yuv420p" -f yuv4mpegpipe -y in1.y4m >/dev/null
> 2>&1 </dev/null &
>
> ffmpeg -i $dir/in0.y4m -i $dir/in1.y4m -filter_complex "psnr=f=-" -f
> null -y /dev/null
Just a hint: if you are using a modern enough shell, you can let it set the
pipeline for you:
ffmpeg \
-i <(LD_FOOBAR=... ffmpeg -i ...) \
-i <(ffmpeg -i ...) \
-filter_complex ...
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list