+ Reply to Thread
Results 1 to 4 of 4

Thread: Add two logos at once with ffmpeg

  1. #1

    Add two logos at once with ffmpeg

    Hello guys, adding one logo I do like this (no problems):

    -vf "scale=100:200 [0:v]; movie=logo1.png [1:v]; [0:v][1:v] overlay=0:0"

    But how can I add a second logo (logo2.png)?

    Regards, Basher.
    Quote Quote  

  2. #2
    I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Posts
    43,722

    Re: Add two logos at once with ffmpeg

    Code:
    Insert 2 different transparent PNG logos (second logo on bottom right corner) using the ffmpeg tool:
    ffmpeg -i video.mp4 -i logo1.png -i logo2.png -filter_complex 'overlay=x=10:y=H-h-10,overlay=x=W-w-10:y=H-h-10' output.mp4
    http://ffmpeg.org/ffmpeg-filters.html#toc-Examples-54

    Maybe you could add everything in the -vf command also...but I'm not sure how.
    Quote Quote  

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    4,890

    Re: Add two logos at once with ffmpeg

    Add 3 video and additional overlay at the end.

    -vf "scale=100:200 [0:v]; movie=logo1.png [1:v]; movie=logo2.png [2:v]; [0:v][1:v] overlay=0:0[out1];[out1][2:v] overlay=xxx:yyy"
    Quote Quote  

  4. #4

    Re: Add two logos at once with ffmpeg

    Thank you very much Baldrick and pandy
    Quote Quote  

+ Reply to Thread

Similar Threads

  1. FFMPEG and H264VFW add comment to encoded file
    By marcorocchini in forum Newbie / General discussions
    Replies: 1
    Last Post: 26th Oct 2014, 09:24
  2. ffmpeg: add audio track to a mp4
    By marcorocchini in forum Newbie / General discussions
    Replies: 2
    Last Post: 2nd Sep 2014, 09:28
  3. How to add text or logos in a mkv video?
    By Choey in forum Editing
    Replies: 3
    Last Post: 11th Jul 2013, 01:06
  4. Replies: 6
    Last Post: 23rd Feb 2013, 18:10
  5. Replies: 2
    Last Post: 21st Jan 2011, 06:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts