1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] FFmpeg watermarking

Discussion in 'Video Production' started by Milanezi, Jun 10, 2013.

  1. Milanezi

    Milanezi Newbie

    Joined:
    Oct 31, 2012
    Messages:
    34
    Likes Received:
    14
    Dear BHW,

    I'm looking for someone to help me out with my FFmpeg journey.

    I'm trying to watermark a bunch of videos and I'm starting with one file to test it.

    Code:
    ffmpeg ?i test.mkv -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" C:\Users\Milan\Desktop\CPA - 2\Test\output\outputvideo.mkv
    pause
    This is my code till now. I've got my watermark in the folder together with the test.mkv.
    It just does nothing...

    So can someone help me?

    Thanks in advance!
     
  2. lmxftw

    lmxftw BANNED BANNED

    Joined:
    Mar 11, 2013
    Messages:
    1,010
    Likes Received:
    1,179
    http://ffmpeg.org/ffmpeg-filters.html#overlay-1
     
  3. Milanezi

    Milanezi Newbie

    Joined:
    Oct 31, 2012
    Messages:
    34
    Likes Received:
    14
    I tried with

    Code:
    ffmpeg -i test.mkv -i watermark.png -filter_complex 'overlay=10:main_h-overlay_h-10' output.mkv
    but my batch error says: there is no such filter: overlay=10:main_h-overlay_h-10' for some reason.

    I can't post links yet but a lot of sites mention the videofilter (-vf) option.
    If you google "ffmpeg watermark video" the result of Idude isn't working for me for some reason.
     
    Last edited: Jun 10, 2013
  4. finerpleasures

    finerpleasures Regular Member

    Joined:
    Feb 17, 2009
    Messages:
    322
    Likes Received:
    97
    yup, did some research on this and i successfully watermarked a video. I saved the code on google docs.. Pm me if I dnr out it here today.
     
  5. devde

    devde Registered Member

    Joined:
    Jan 5, 2013
    Messages:
    76
    Likes Received:
    23
    Try putting double quotes on your file path and it should works
     
  6. Aedan

    Aedan Regular Member

    Joined:
    Mar 12, 2012
    Messages:
    281
    Likes Received:
    38
    Occupation:
    S E O
    Location:
    stars of jupiter
    I was facing the same problem but the best solution is to put the double quotes in place of single quotes. Exactly it will work perfectly.