Page 1 of 1

python bindings questions

Posted: 22 Oct 2021 23:30
by spatea
I was wondering if someone could lend some help with using VLC bindings the Python.
I am trying to use libvlc_video_set_crop_geometry function to trim my screen, and I cannot find an example format for the psz_geometry type.

I followed a few posts from here that were a few years old, and think there may be an updated string format I need. Currently I am trying:

vlc.libvlc_video_set_crop_geometry(media_player, "100+100+0+0")

to no avail, I have tried almost every thinkable string combo like "100:100+0+0" and others. If anyone could give a working example, it would be appreciated.

Thanks!