Migrating from OMXPlayer to VLC, how to capture keyboard entry
Posted: 19 Nov 2021 21:22
I was using OMXPlayer for my project but am moving to VLC.
With OMXPlayer I could play/pause and change volume, etc. using keyboard controls -- even through an SSH session.
I can not figure out how to do this with VLC.
The process my Python script is launching is:
I get the following in output in my ssh session, the video plays on the remote Raspberry Pi, but I have no control of volume or playback from the SSH session.
With OMXPlayer I could play/pause and change volume, etc. using keyboard controls -- even through an SSH session.
I can not figure out how to do this with VLC.
The process my Python script is launching is:
Code: Select all
cvlc 'videos/cartoons/Bugs Bunny.mp4' --no-osd --fullscreen --align 0 --width 640 --height 480 --keyboard-events
I get the following in output in my ssh session, the video plays on the remote Raspberry Pi, but I have no control of volume or playback from the SSH session.
Code: Select all
[00328800] main interface error: no suitable interface module
[0029fb58] main libvlc error: interface "globalhotkeys,none" initialization failed
[00328800] dummy interface: using the dummy interface module...
[9c921c78] mmal_codec decoder: VCSM init succeeded: Legacy
[b3a0e268] gles2 generic error: parent window not available
[b3a13320] mmal_xsplitter vout display error: Failed to open Xsplitter:opengles2 module
[b3a0e268] xcb generic error: window not available
[b3a13320] mmal_xsplitter vout display error: Failed to open Xsplitter:xcb_x11 module