Questions tagged [python-vlc]

python-vlc provides a pure python module to interact with the libvlc.

python-vlc provides a pure module to interact with the libvlc.

Resources

Related Tags

,

125 questions
2
votes
1 answer

python-vlc will not embed gtk widget into window, but open a new window instead

I'm working on a gtk3 front end for libvlc written in python using python-vlc. I'm following the gtk3 example from the python-vlc github page, but am experiencing strange behavior. I have a widget that looks like that: import gi import…
robfuscator
  • 631
  • 1
  • 5
  • 13
1
vote
0 answers

What is the correct way to use tracks_get() function in Python-VLC module?

I'm just trying to get to grips with the VLC Python module and while the documentation is really helpful and the samples over at https://wiki.videolan.org/Python_bindings/ have been great for the basic functions, I'm a little stuck with figuring out…
r_czw20
  • 11
  • 1
1
vote
1 answer

New playback of another video file in PyQT5 using VLC

I am writing a script that, when launched, plays a video by its number. Then, after the end of playback, the script asks for the video number for the next playback, and so on. I use VLC python in PyQT5. import sys import time import vlc from PyQt5…
Tadont
  • 11
  • 2
1
vote
0 answers

Python-VLC Errors When Opening Video File and Skipping Video Playback Position

I'm working on a project making a semi-randomized video player on the Raspberry Pi 4 (64-bit OS with Desktop) using Python-VLC. I have a proof of concept working, but I get some strange error messages whenever I open a new video file or skip the…
1
vote
0 answers

VLC MediaPlayer stops after a MediaList element and hangs, how can I restart it seamlessly?

I've got a vlc python program that I'd like load up a media list with multiple elements. If a clip (A) that I've defined as 'primary' is playing, it simply repeats. When I interrupt that with a different clip (B), I want to jump seamlessly to that…
jfernsler
  • 11
  • 2
1
vote
0 answers

Read binary data of video files & Open it from Google Drive

I tried to read a video store on Google Drive by get the file data content following the code block below, i don't want to download the file to local, just read & load directly from GD., ... def print_file_content(service, file_id):   """Print a…
1
vote
0 answers

python-vlc.. output each from dual monitors

using python-vlc in python I want to display a video on each of the two monitors 2 videos played successfully But only monitor 1 shows the video Is there a way to show the video on the second monitor? p1 =…
1
vote
1 answer

VLC trigger action when media reaches timestamp

I'd like to the ability to run some code when the timestamp of a file has been reached (i.e. trigger an alert) How can this be achieved? I was looking at this https://www.geeksforgeeks.org/python-vl ... edia-time/ However, I feel like I'm really…
user2402616
  • 1,434
  • 4
  • 22
  • 38
1
vote
1 answer

Wrong video size when using python-vlc with Tkinter on MacOS

I am developing a multi-platform application that manipulates VLC through python-vlc and makes it draw in a Tkinter window. I am using the following simplified code (inspired from the tkvlc.py example from python-vlc): import os import…
Neraste
  • 485
  • 4
  • 15
1
vote
1 answer

python-vlc running out of memory after playing multiple songs

I am writing a python program, running on a raspberry pi (PI 3 A+), that plays a song every 10 minutes. I am using python-vlc to play the song through the pi's headphone jack. PlaySong() is a function that gets called (successfully) every 10…
1
vote
1 answer

Python window doesn't close after video ended

I'm currently making a code that will do various things such as controlling motors etc but at one point I need to code to popup a video on vlc and exit the window when the video ended, the problem is that the window currently stays after the video…
1
vote
0 answers

Why are my DLLs not found despite me importing the path? And can I use VLC in python without installation?

I have written a small program that generates a system tray icon that can play radio streams from a handfull of stations. It is running well for a year now and I tried to update the code and also the instructions of how to compile it with…
bomben
  • 590
  • 6
  • 16
1
vote
1 answer

python-vlc: Exit the player programatically

I'm trying to play a video using VLC, and close the window after the video is finished. However, I can't close the player window. I tried releasing instances of the player and media, but it doesn't work. And I couldn't find anything else in the API…
Aidin
  • 1,271
  • 14
  • 20
1
vote
0 answers

How to change the title of the vlc mediaplayer window, of the module vlc which is imported as pip install python-vlc

I'm trying to change the title of the vlc mediaplayer window. I searched in the documentation of python-vlc module and it seems there's no function that lets me change that, but maybe you know and can tell me. this is the title that I want to…
1
vote
0 answers

Problems while using python-vlc (libvlc)(win error 126)

so I am new to this module and a error shows up I looked various questions and I found that I should put libvlc.dll to another path but I don't know where to paste this dll file can anyone tell where to paste this dll file this error shows up is…
1
2
3
8 9