Geometry Crop

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
PetC
Blank Cone
Blank Cone
Posts: 13
Joined: 19 Jun 2010 17:49

Geometry Crop

Postby PetC » 29 Jun 2010 12:24

Hi,
I need to make VLC crop (geometry window) the video while it is being displayed. It should work as the command line option --crop-geometry WxH+L+T, but dynamically. The window dimensions are to be controlled from outside, most probably using python. I found possibility to do so with libvlc python binding, but initial declaration of the windows with option --custom-crop-ratio is required. Is it possible to do it without setting it in the options (I need virtually ALL possible geometries)? Could anyone assist me if the source code should be changed, as such stuff is totally new to me?

PS The version of VLC is not important in this case.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Geometry Crop

Postby VLC_help » 30 Jun 2010 01:16

It should be possible without custom-crop-ratio since crop-geometry is different beast.

PetC
Blank Cone
Blank Cone
Posts: 13
Joined: 19 Jun 2010 17:49

Re: Geometry Crop

Postby PetC » 30 Jun 2010 11:22

Unfortunately it does not work just like that. If no option specified, when I try to call media_player.video_set_crop_geometry("WxH+x+y"), which is in fact the libvlc_video_set_crop_geometry function, nothing happens. What am I doing wrong?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Geometry Crop

Postby VLC_help » 01 Jul 2010 12:49

Have you enabled crop filter?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 91 guests