(Apr-28-2019, 08:00 PM)Yoriz Wrote: Try vlc.libvlc_video_set_aspect_ratio(player, (16,9))
Thank you. Well, I tried it, I got the first error again; "ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type"I've made the minimum code available at this pastebin; It needs vlc.py in the same folder and libvlc and SDL2 installed. And then just change the hardcoded "your_video.mp4" to whatever you want. Then you press 1 or 2 to force the aspect ratio.
(Apr-28-2019, 08:02 PM)buran Wrote: cross-posted https://forum.videolan.org/viewtopic.php?f=32&t=149188No worries, I will do so moving forward. I always thought cross-posting referred to different boards within the same forum. I gave it a day there before I posted somewhere else. I've posted there before and I get the feeling they maybe don't like Python questions, and I figure this is more of a pure Python question anyway. I think this is just a matter of understanding how to convey certain variable types in Python.
please, don't cross-post or let us know if you asked the same question elsewhere