VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Apr 2014
    Location
    malaysia
    Search Comp PM
    ffmpeg not work on two command vignete and blur in one line , why ?
    Quote Quote  
  2. What does your command line look like? It's typically a problem with the syntax then such things don't work.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member
    Join Date
    Apr 2014
    Location
    malaysia
    Search Comp PM
    ffmpeg -y -i "input.avi" -filter_complex "[0:v]crop=in_w/1.5:in_h/1.5in_w-out_w)/1.5+((in_w-out_w)/1.5)*sin(t*0.5)in_h-out_h)/1.5 +((in_h-out_h)/1.5)*sin(t*0.2),boxblur=1:1,vignette=4,scale=1280:720,setdar=16/9; [0:a]volume=6" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1400k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset superfast "output.mp4"
    Quote Quote  
  4. Thrwoing out some of the filter complex stuff and using:
    Code:
    -vf boxblur=1:1,vignette=4,scale=1280:720,setdar=16/9
    seems to work.
    Using the command line you posted throws:
    Code:
    [AVFilterGraph @ 000002d9c328ffc0] No such filter: ')'
    removing the '),' before boxblur throws:
    Code:
    Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_boxblur_1
    to sleepy to look into it, but the '),' before boxblur seem wrong.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  5. Member
    Join Date
    Apr 2014
    Location
    malaysia
    Search Comp PM
    i try but it still error ....... what happen actually ?
    ffmpeg -y -i "input.avi" -filter_complex "[0:v]crop=in_w/1.5:in_h/1.5 : (in_w-out_w) / 1.5+ ((in_w-out_w)/1.5) * sin(t*0.5) : (in_h-out_h)/1.5+((in_h-out_h)/1.5) * sin(t*0.2) ,boxblur=1:1,vignette=4,scale=1280:720,setdar=16/9; [0:a]volume=6" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1400k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset superfast "output.mp4"
    Last edited by dedekov; 19th Mar 2018 at 14:59.
    Quote Quote  
  6. This works. Save as a batch file:
    Code:
    ffmpeg -y -i "input.mp4" ^
     -filter_complex "[0:v]crop=in_w/1.5:in_h/1.5:(in_w-out_w)/1.5+((in_w-out_w)/1.5)*sin(t*0.5):(in_h-out_h)/1.5+((in_h-out_h)/1.5)*sin(t*0.2),boxblur=1:1,vignette=4,scale=1280:720,setdar=16/9[out]" ^
    -map "[out]" ^
    -vcodec libx264 ^
    -pix_fmt yuv420p ^
    -r 30 ^
    -g 60 ^
    -b:v 1400k ^
    -profile:v main ^
    -level 3.1 ^
    -acodec libmp3lame ^
    -b:a 128k ^
    -ar 44100 ^
    -preset superfast ^
    "output.mp4"
    I didn't test the audio.

    By the way, don't say "some error" - please copy the error message exactly.
    Quote Quote  
  7. Member
    Join Date
    Apr 2014
    Location
    malaysia
    Search Comp PM
    now it work
    thank you,man
    thread FINE
    Quote Quote  
  8. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    @raffriff42

    Than you for the bat file.
    I didn't know that each of the commands could have their own line.
    Makes it much clearer for the likes of myself.
    Quote Quote  



Similar Threads

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