Page 1 of 1

Manual crop as command line option

Posted: 16 Nov 2008 23:09
by Rawbin
Hi there,

I know it is possible to add --crop=<String> as option to the command line, and that you can manually crop pixels from the video with hotkeys.

I would like to do the manual cropping as an option too, when using vlc as a tv application i have to remove some pixels from all sides and using the --crop= option will only allow me to either remove some of the left and right or the top and bottom

is there any way to do so (or maybe with the help of a config file)

Thanks

Re: Manual crop as command line option

Posted: 17 Nov 2008 00:35
by Jean-Baptiste Kempf
Yes, just use the hotkeys.

Re: Manual crop as command line option

Posted: 18 Nov 2008 19:31
by Rawbin
how can i add a hotkey as command line parameter?

maybe it wasn't clear what i meant, i don't want to have to press the hotkeys each time but simply start the application with the right cropping values

Re: Manual crop as command line option

Posted: 18 Nov 2008 23:52
by Jean-Baptiste Kempf
yes, you can.

Re: Manual crop as command line option

Posted: 19 Nov 2008 15:02
by Rawbin
i understand that it's possible, but i can't find out how, please could you point that ou to me

thanks for your patience,

Robin

Re: Manual crop as command line option

Posted: 21 Nov 2008 09:15
by Rawbin
(sorry for) bump,

i can't find the way how to do this the parameter --key-crop-(left,right,top,down)=<Integer> actually changes the binding for the manual crop, but i can't find a parameter to do the cropping

Re: Manual crop as command line option

Posted: 03 May 2009 18:28
by drestaes
Hello Rawbin,

I'm having the same problem as you have. I want to start vlc with a predefined number of (left/right/top/bottom) crops.

Maybe j-b doesn't realize that the result of manual cropping with hotkeys results in different images then the --crop commandline option.

for instance, if you crop away alot (to only show the upper left top part of the screen) you could end up with scrambled colors, wile the manual way always delivers fine video.

so i would also realy love a commandline option like '--crop-top=x' but unfortunately there is no such option (as far of i know.. PLEASE tell me if you do)

At the moment i'm using autohotkey to mimic a series of alt-i , alt-k, alt-l and alt-j keypresses after i start vlc (at system boot).

works, but a bit of a hassle, esspecially since i'm trying to setup multi monitor.