Pass crop filter to ffmpeg

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
theonlytalkinggoat
Posts: 10
Joined: Fri May 13, 2016 5:18 pm

Pass crop filter to ffmpeg

Post 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?
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Pass crop filter to ffmpeg

Post 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...
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Pass crop filter to ffmpeg

Post by Baylink »

Alternatively, if you turn on debugging, it might log the syscall details.
Post Reply