[FFmpeg-user] scale and logo
Moritz Barsnick
barsnick at gmx.net
Thu Jan 4 00:59:18 EET 2018
On Wed, Jan 03, 2018 at 18:06:01 +0300, Александр wrote:
>
> Hello! The second day we suffer, as in one team to change the video to proportions and impose a watermark?
> ffmpeg -i /home/rolik.mov -r 25 -crf 25.0 -vcodec libx264 -vpre medium -bufsize 8M -b 9000k -acodec libfaac -map 0:0 -map 0:1 -ac 2 -ar 44100 -ab 128K -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 4 -vf " scale=1280:-1, movie=0:png:/root/logo.png [logo]; [in][logo] overlay=main_w-overlay_w-50:50 [out]" -pass 1 -y /home/rolik_.mp4
> Nothing comes out ...
Nothing at all, not even a console message?
Please show us the complete, uncut console output. Furthermore, when
encountering issues, please try to use the latest version of ffmpeg.
Your version (or its branch <= 3.1) is probably over a year old.
It also looks like your filter syntax is extremely borked. Unless I'm
too tired, it looks like you are using filter_complex syntax with
"-vf", and the chain is totally incorrect. Should probably be something
like:
-filter_complex "scale=1280:-1[in]; movie=0.png:/root/logo.png [logo]; [in][logo] overlay=main_w-overlay_w-50:50 [out]" -map "[out]"
(Note, apart from the changes chain, that "0:png" is probably a typo, meant to be
"0.png"?)
Thanks,
Moritz
More information about the ffmpeg-user
mailing list