Search found 5 matches

Go to advanced search

by Passiday
16 Jan 2020 22:56
Forum: Development around libVLC
Topic: vlc-python, Ubuntu 18.04: Detect if the video window was closed
Replies: 6
Views: 7103

Re: vlc-python, Ubuntu 18.04: Detect if the video window was closed

Sure, I was just hoping I can avoid all the hassle of setting up my own window etc. I am totally happy with the default window that pops up when I load andplay the MediaPlayer instance with a video file.
by Passiday
16 Jan 2020 18:11
Forum: Development around libVLC
Topic: vlc-python, Ubuntu 18.04: Detect if the video window was closed
Replies: 6
Views: 7103

vlc-python, Ubuntu 18.04: Detect if the video window was closed

I have a Python app that plays parts of a large media file, and monitors the current player position to jump automatically to another location, where appropriate. I'd like to exit from the app automatically, when user closes the video window. But I don't know how to detect it. Here's my test code, a...
by Passiday
12 Aug 2019 11:25
Forum: Development around libVLC
Topic: Youtube playback fails when using Python bindings
Replies: 0
Views: 934

Youtube playback fails when using Python bindings

Hello, I have a Python 3.7 'media player' project on a headless Raspberry Pi Zero. Using specific hardware interface (buttons, dials), user can select the media to play (from files stored on the local drive, Internet radio stations or Youtube videos). There's no display, only audio output. Currently...
by Passiday
28 Jan 2019 20:38
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Raspberry Pi Zero audio playback: vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Replies: 2
Views: 6743

Re: Raspberry Pi Zero audio playback: vlcpulse audio output error: PulseAudio server connection failure: Connection refu

I am not sure should I be bothered, after all the audio playback is fine, and probably I could just ignore that error. But maybe there's some parameter, some configuration that I could do to get rid of this error? For example, if I run the cvlc with aout parameter, the 'Connection refused' error goe...
by Passiday
28 Jan 2019 20:37
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Raspberry Pi Zero audio playback: vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Replies: 2
Views: 6743

Raspberry Pi Zero audio playback: vlcpulse audio output error: PulseAudio server connection failure: Connection refused

I am checking if VLC Python bindings (https://wiki.videolan.org/Python_bindings) could serve for my project (media player on Raspberry Pi Zero). By default, the RasPi Zero does not have audio output, and there are several standard ways to implement one. I chose to go the I2S audio path and set up th...

Go to advanced search