Migrating from OMXPlayer to VLC, how to capture keyboard entry

*nix specific usage questions
eat-sleep-code
New Cone
New Cone
Posts: 2
Joined: 19 Nov 2021 21:11

Migrating from OMXPlayer to VLC, how to capture keyboard entry

Postby eat-sleep-code » 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:

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15292
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Migrating from OMXPlayer to VLC, how to capture keyboard entry

Postby Rémi Denis-Courmont » 19 Nov 2021 21:32

cvlc is a command line interface. Try help + Enter.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

eat-sleep-code
New Cone
New Cone
Posts: 2
Joined: 19 Nov 2021 21:11

Re: Migrating from OMXPlayer to VLC, how to capture keyboard entry

Postby eat-sleep-code » 19 Nov 2021 21:39

That does not answer my question at all?

I am aware that cvlc is a command line interface -- I am launching it from a command line to test it.

Please reread my post. I am asking how to get keyboard entry to pass through as it did in OMXPlayer.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests