Page 1 of 1

libvlc_video_set_crop_geometry

Posted: 25 Feb 2010 15:36
by juraj
Hi,

I want to use libvlc_video_set_crop_geometry in vlc-.1.0.3 to crop video to get something like vlc player does, when choosing Video > Crop > 16:9. I am calling libvlc_video_set_crop_geometry with parameter

Code: Select all

180 x 120 + 0 + 0
but nothing happens. I tried other numbers but still nothing happens. What is here wrong?

VLC debug is:

Code: Select all

[0x9e6bd68] main video output debug: window size: 624x352 [0x9e6bd68] main video output debug: cropping picture 624x352 to 0,0,624x352
Thanks,
Juraj

Re: libvlc_video_set_crop_geometry

Posted: 09 Mar 2010 06:12
by r21514
crop video filter (e.g. WxH+L+T) doesnt work since 0.9.9 :(

but aspect-ratio cropping work, you need to set variable 'crop' to '16x9'