Page 1 of 1

Pass crop filter to ffmpeg

Posted: Tue Jun 20, 2017 10:20 pm
by theonlytalkinggoat
I have a camera that I bought a fisheye lens for, but I need to crop some of the edges, due to distortion. I am supposed to be able to do this by sending ffmpeg the -filter:v "crop=x:y" option or -filter:v "crop=x:y:h:l". I tried putting it into the options box, with the dash, without the dash, with double quotes, single quotes and no quotes. Nothing seems to pass it the option. Does anyone know how to pass this option to ffmpeg?

Re: Pass crop filter to ffmpeg

Posted: Wed Aug 23, 2017 1:55 am
by Baylink
If you can be down for a bit, make a script that echos "$@" into a file in /tmp, and replace your ffmpeg call with that; you can then try out your various argument syntacies, and see what happens.

You might need to use \\" or something like that...

Re: Pass crop filter to ffmpeg

Posted: Wed Aug 23, 2017 1:56 am
by Baylink
Alternatively, if you turn on debugging, it might log the syscall details.