[FFmpeg-user] Combine vf and filter_complex for the same video?
codecomplete at free.fr
Fri Sep 18 17:52:16 CEST 2015
On Fri, 18 Sep 2015 15:36:04 +0200, Moritz Barsnick <barsnick at gmx.net>
>What's more, what we (I) suggested to you may have been sufficiently
>simple to justify "-vf" instead of "-filter_complex".
If you have an example, I'm interested.
>Anyway, in the chain where you have the combined result, add
>",scale=640:-1". Or better, when scaling down, scale before your
>brightness operations, like "scale=640:-1,split[v1][v2]"
ffmpeg -i input.mp4 -c:v libx264 -filter_complex
[darkpart][brightpart]overlay=x=456:y=0[v]" -map "[v]" -c:a copy
-threads 2 -crf 20 -f mp4 output.mp4
More information about the ffmpeg-user