VideoHelp Forum

+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Apr 2018
    Location
    Sunsari [Nepal]
    Search Comp PM
    Hello, I Want to Know About How to use ffmpeg text Draw to Watermark Videos, in Different time and Different Position, So No one will Crop or blur Easily That Tag

    Textdraw 1: 00:01:01 to 00:01:20 text="NBMedia" and position is Right Side Top corner
    Textdraw 2: 00:05:01 to 00:05:20 text="NBMedia" and position is Left Side button corner

    and some More Position and Style at one Process


    Thanks
    Quote Quote  
  2. I would recommend to create .ass subtitles and hardsub them this way you get full and easy control of timing, positioning and styling.
    Other than you can use 'drawtext' (https://www.ffmpeg.org/ffmpeg-all.html#drawtext-1; additional examples: https://stackoverflow.com/questions/3169916/can-ffmpeg-burn-in-time-code)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member
    Join Date
    Apr 2018
    Location
    Sunsari [Nepal]
    Search Comp PM
    I am not too Smart to understand these cmd's, if Some one will Write a Small a code for me then, it will be Very Helpful,
    Quote Quote  
  4. Member
    Join Date
    Apr 2018
    Location
    Sunsari [Nepal]
    Search Comp PM
    Originally Posted by Selur View Post
    I would recommend to create .ass subtitles and hardsub them this way you get full and easy control of timing, positioning and styling.
    Other than you can use 'drawtext' (https://www.ffmpeg.org/ffmpeg-all.html#drawtext-1; additional examples: https://stackoverflow.com/questions/3169916/can-ffmpeg-burn-in-time-code)

    Cu Selur
    Aegisub .ass File Break Position Depend's on Video Resolution,

    I had to edit everytime depend on Video Resolution, But I am looking for some ffmpeg cmd which can automatically adjust depend on video Resolution,
    Quote Quote  
  5. I am looking for some ffmpeg cmd which can automatically adjust depend on video Resolution,
    base on the examples (http://ffmpeg.org/ffmpeg-filters.html#Examples-62):
    Code:
    -vf drawtext="enable='between(t,61,80)':text='NBMedia':x=w-text_w:y=0:fontcolor=yellow",drawtext="enable='between(t,301,320)':text='NBMedia':x=0:y=h-text_h:fontcolor=yellow"
    works fine here.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  6. Member
    Join Date
    Apr 2018
    Location
    Sunsari [Nepal]
    Search Comp PM
    Originally Posted by Selur View Post
    I am looking for some ffmpeg cmd which can automatically adjust depend on video Resolution,
    base on the examples (http://ffmpeg.org/ffmpeg-filters.html#Examples-62):
    Code:
    -vf drawtext="enable='between(t,61,80)':text='NBMedia':x=w-text_w:y=0:fontcolor=yellow",drawtext="enable='between(t,301,320)':text='NBMedia':x=0:y=h-text_h:fontcolor=yellow"
    works fine here.

    Cu Selur
    Will you Please add input and output cmd's with ffmpeg, Please
    Quote Quote  
  7. not knowing what you have as input and output I assume you want lossless H.264 as output using x264 as encoder:
    Code:
    ffmpeg -i "PATH TO INPUT FILE" -c:v libx264 -crf 0 -vf drawtext="enable='between(t,61,80)':text='NBMedia':x=w-text_w:y=0:fontcolor=yellow",drawtext="enable='between(t,301,320)':text='NBMedia':x=0:y=h-text_h:fontcolor=yellow" "PATH TO OUTPUT FILE"
    If you need something else, you really should start reading some of the ffmpeg documentation (https://www.ffmpeg.org/documentation.html), because from the looks of it you do not seem to be able to use ffmpeg at all and you might be better of using some tool with a graphical user interface.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads