VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hi

    I am trying to use a watermark and apply Yadif using complex filter, but I cannot figure out how to apply Yadif with the following syntax

    ffmpeg -i "source:" -i C:\logo.png -c:v libx264 -preset veryfast -s 1920x1080 -b:v 4000k -minrate 4000k -maxrate 4000k -bufsize 11835k -crf 18 -acodec mp3 -ab 128k -filter_complex [0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out] -map [out] -f mpegts "dest"

    Can anyone point me in the right direction?

    Thanks
    Quote Quote  
  2. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    Just add yadif to the end of your filterchain. See "Filtergraph syntax."
    Quote Quote  
  3. thanks, but got an answer on FFMPEG forums,

    this worked

    -filter_complex "[0:v]yadif,scale=hd1080,setsar=1[b];[b][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10"
    Quote Quote  
  4. There is simpler (IMHO) way - just use movie filter and no complex filter call required.
    https://www.ffmpeg.org/ffmpeg-filters.html#movie-1

    Side to this yadif is deinterlacer and as such must be added as first filter in chain.
    Quote Quote  
  5. thanks Pandy, I will have a look at that later
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!