Manual crop as command line option

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Rawbin
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2008 16:02

Manual crop as command line option

Postby Rawbin » 16 Nov 2008 23:09

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Manual crop as command line option

Postby Jean-Baptiste Kempf » 17 Nov 2008 00:35

Yes, just use the hotkeys.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rawbin
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2008 16:02

Re: Manual crop as command line option

Postby Rawbin » 18 Nov 2008 19:31

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Manual crop as command line option

Postby Jean-Baptiste Kempf » 18 Nov 2008 23:52

yes, you can.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rawbin
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2008 16:02

Re: Manual crop as command line option

Postby Rawbin » 19 Nov 2008 15:02

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

Rawbin
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2008 16:02

Re: Manual crop as command line option

Postby Rawbin » 21 Nov 2008 09:15

(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

drestaes
New Cone
New Cone
Posts: 2
Joined: 19 Aug 2008 23:56

Re: Manual crop as command line option

Postby drestaes » 03 May 2009 18:28

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 84 guests