-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify windows coordinates to cvlc #17
Comments
|
I've done a few tests with latest apt vlc and it seems to be working. Making a note here, so I can refer back to what was tested.
This displays video in a smaller window with framebuffer console visible:
This displays video in a smaller window with framebuffer console visible and video behind framebuffer console:
This flips the video left-to-right. It also flips the dest coordinate (I'm not sure that is expected behaviour)
This rotates video clockwise by 90'. It also transforms the dest coordinate (I'm not sure that is expected behaviour)
|
Transform affecting win coords is expected as the "normal" use of it is to deal with rotated screens. I think VLC has a way of forcing source transform (i.e. overriding landscape/portrait encoded in the source) but I've forgotten how to do it (N.B. it isn't the transform module!) |
omxplayer transforms source video and then renders to given dest coordinates, so the behaviour is different (although it's straightforward to adapt).
|
I suspect there may be a zoom option that does that - not sure |
You can force the source display aspect ratio with "--aspect-ratio a:b" so "--aspect-ratio 1:1" will give you a square pici. There is no explicit option for zoom to fill window but if you dup the window size into the aspect ratio you will get what you want. |
Thanks for the help, I just release Rpisurv 3 Using cvlc player at its core, replacing omxplayer completely |
Cool. Okay to close @SvenVD ? |
Yes |
A few additional hints discovered by trial and error: |
omxplayer has the --win option that can be used like this:
--win "0 720 1920 1080"
rpisurv.net is heavily relying on this functionality, how can this be achieved with vlc or vlc python libraries?
Thanks
The text was updated successfully, but these errors were encountered: