Logo insert inside ffmpeg H264

Questions and answers on how to get the most out of FFAStrans
Post Reply
taurojo
Posts: 3
Joined: Mon Dec 19, 2016 2:44 pm

Logo insert inside ffmpeg H264

Post by taurojo » Fri Oct 04, 2019 1:47 pm

I would like to insert a logo in the ffmpeg process.

Use

Code: Select all

ffmpeg -i video.mp4 -i logo.png -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10" -codec:a copy out.mp4
Can I use it this way?
Inside Encoder H264, go to Custom x264 options and add:

Code: Select all

[code]-i "c:\logo.png" -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10" -codec:a 

does not work for me! Another way is possible?

emcodem
Posts: 408
Joined: Wed Sep 19, 2018 8:11 am

Re: Logo insert inside ffmpeg H264

Post by emcodem » Fri Oct 04, 2019 3:05 pm

Hey taurojo,
look out for the Filter->Watermark to insert logo.
in the H264 processors box in custom x264 options goes only the ffmpeg parameter -x264opts. No filter or similar allowed.

taurojo
Posts: 3
Joined: Mon Dec 19, 2016 2:44 pm

Re: Logo insert inside ffmpeg H264

Post by taurojo » Fri Oct 04, 2019 4:04 pm

Thanks!!

Post Reply