Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
56 views

I'm having a problem building a kiosk display system using Python, Tkinter and VLC. In my setup, everything is latest version(only got the Pi 2 weeks ago). -RPI 5 with latest Bookworm 64 bit. -Python-...
alw1746's user avatar
  • 11
1 vote
0 answers
60 views

im trying to make a overlay/pngtuber/bot/manager for my stream on twitch, i want so people can request music from youtube to play on stream, i got to get the youtube url with my premium account, but ...
luna's user avatar
  • 21
0 votes
1 answer
163 views

We have a Python-based media player application that loops through media files and displays them on a screen. After running anywhere from ~3-24 hours, the display will sometimes freeze while playing a ...
Zach Burke's user avatar
0 votes
0 answers
57 views

I have a python script running on a Raspberry Pi using python-vlc that plays a video when a PIR triggers it. The video plays back, but there appears to be a black frame inserted every five seconds or ...
Peter Wiley's user avatar
0 votes
1 answer
86 views

I know how to play a wav file with python_vlc, e.g (here to play an audio stream) import vlc instance=vlc.Instance('--input-repeat=-1','--fullscreen') player=instance.media_player_new() url="my ...
Pierre Lemerle's user avatar
0 votes
0 answers
352 views

I tried litarely every code I found on the internet to start a python-vlc player instance in a window frame made with PyQt but it's no working. The vlc player starts in a new window instead of taking ...
titobojo's user avatar
0 votes
1 answer
90 views

Ive been trying to turn my pthon script into a standalone exe with pyinstaller, the problem is I need to include python-vlc and when I run pyinstaller --add-binary "E:\Documents\Spotify Posters\...
Noah's user avatar
  • 11
0 votes
0 answers
249 views

I'm trying to make a video which will stay pause on the first frame for 5 second, then play until the end, and rewind (then stay on the first frame for 5 sec, then play again) So far I have this code, ...
FMaz008's user avatar
  • 11.3k
0 votes
1 answer
278 views

I've got a VLC MediaList that is imported from a directory and randomized. I want to set it to fullscreen. I'm doing this on a Raspberry Pi 4 if that makes a difference. from vlc import Instance ...
browntastic's user avatar
1 vote
1 answer
91 views

I am trying to display a logo using VideLogoOption from python-vlc vlc.libvlc_video_set_logo_int(pi,vlc.VideoLogoOption.logo_enable,1) vlc.libvlc_video_set_logo_string(pi,vlc.VideoLogoOption.logo_file,...
user23862869's user avatar
0 votes
1 answer
150 views

So my code is below player = vlc.Instance() player.set_user_agent("https","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 ...
Nemzzy Builds's user avatar
0 votes
1 answer
496 views

A complete newbie here… I’m currently trying to create a video player using python-vlc and PyQt5 (on a Mac) and it’s going pretty well…. My code is way to messy and embarrassing and filled with ...
PyNewb's user avatar
  • 1
1 vote
0 answers
42 views

I am trying to write a tiny video editor in python. All works just fine, however, the function that establishes an end mark sometimes returns a time which is two or three tenths of a second earlier ...
Alcor717's user avatar
0 votes
1 answer
376 views

The fullscreen video is skipping frames and thus the stream was getting corrupted (some I-frames were dropped, leading to incomplete reconstruction of the video). This is with the following setup: ...
Lupilum's user avatar
  • 416
0 votes
1 answer
515 views

I'm running on Raspberry Pi 4 B Python 3.11.2 python-vlc 3.0.20123 The video opens in the left corner of the screen without the frames of a window, but not in fullscreen. I'm not using any GUI ...
Lupilum's user avatar
  • 416
0 votes
0 answers
704 views

I am developing a headless application on a Raspberry Pi Zero 2 W, Bullseye OS, and using VLC (Python) to view video files (h264). I have loaded vlc and python-vlc. I am able to view videos using ...
user838358's user avatar
0 votes
1 answer
585 views

I'm starting to know Python, so you can say I'm a newby. For Halloween I'm working with a Python script for a Scare. The idea is to show a nice picture (a paused video) on a tv screen and when motion ...
Wessie's user avatar
  • 11
-1 votes
1 answer
408 views

I have multiple live streams running which I'm playing with python-vlc. So something like this: stream1 = vlc.MediaPlayer("rtsp://...") stream2 = vlc.MediaPlayer("rtsp://...") ...
asm's user avatar
  • 947
0 votes
1 answer
225 views

for title in songs: media_player = vlc.MediaPlayer() media = vlc.Media(title + ".mp4") media.add_option('start-time=' + str(seconds)) media.add_option('stop-...
ohnodev's user avatar
1 vote
0 answers
135 views

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 ...
r_czw20's user avatar
  • 41
0 votes
1 answer
558 views

First sorry for my English, I'm French. I'm currently working on this project : I have a training bike and I'd like to be able to play videos depending on my pedaling speed. Here is the hardware I ...
Dimitri Simonin's user avatar
0 votes
1 answer
594 views

In the following code # python-vlc from vlc import Media, MediaPlayer, EventType, Event class MusicPlayer: def __init__(self) -> None: self.items = ["/list/of/path/to/audio/file&...
Sachin Acharya's user avatar
-2 votes
1 answer
82 views

I made a program that allows you to choose any audio to play using vlc module and tkinter. The pause button didn't work. Even using global variable it didn't work. #define "select file" ...
Riz's user avatar
  • 3
0 votes
1 answer
695 views

I tried to build a small webradio with pyhton-vlc. When I directly write the url of the radiostream in the code everything works fine. But I would like to read the urls from the "radiostationen....
SeppUnterwurzacher's user avatar
1 vote
1 answer
155 views

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 ...
Tadont's user avatar
  • 11
0 votes
1 answer
114 views

When i use set_mrl(...) function sometimes the window is reopen i need to keep the window never closed because i used to make share screen automation app. the note i use python 3.11 with latest libvlc ...
HazemMeqdad's user avatar
0 votes
1 answer
124 views

I want to convert a .py file to a .exe file that would work on all devices (or just all desktops if all devices isn't possible). I tried to use py2exe but that doesn't work because it doesnt take the ....
NielsNL's user avatar
  • 39
1 vote
0 answers
1k views

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 ...
Emmett Palaima's user avatar
1 vote
0 answers
264 views

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 ...
jfernsler's user avatar
1 vote
0 answers
180 views

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 ...
BABYBEAUTY's user avatar
2 votes
0 answers
742 views

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? ...
user3106197's user avatar
0 votes
1 answer
266 views

im trying to build a program (using pysimplegui) which contains a few buttons (play, stop, pause, next, previous) as you can see. and when i press "next" its stopping for some time and then ...
Tower Solitaire's user avatar
1 vote
1 answer
568 views

I'm trying to adjust the volume of an instance of vlc.MediaPlayer before playback. Running the below snippet (python3 test.py) plays five seconds of the audio file path/to/file.m4a. It appears that ...
heds1's user avatar
  • 3,490
0 votes
1 answer
368 views

I'm trying to play a media file. This is the example on the python-vlc repository: import platform import os import sys from PyQt5 import QtWidgets, QtGui, QtCore import vlc class Player(QtWidgets....
3nws's user avatar
  • 1,439
0 votes
1 answer
2k views

In my project, I need to get sound from a radio stream URL and play it. But it needs to be played in a specific output device called "VB-Cable Input (Virtual Audio Cable)". I couldn't find a ...
Pedro Toriality's user avatar
0 votes
0 answers
202 views

Hi guys I was facing a lagging issues when using vlc packages for video playing in python. This would effect the time sleep as the duration is no longer the same when lagging occur. youtubeURL = "...
Wesley's user avatar
  • 65
0 votes
1 answer
1k views

I'm using Python to play a fullscreen video on a Raspberry Pi. This code works, but there's no way for the user watching to exit fullscreen mode. import vlc media_player = vlc.MediaPlayer() ...
Terence Eden's user avatar
  • 14.4k
0 votes
1 answer
1k views

I'm using MediaListPlayer from the python-vlc library. I use the following code to create a list of all the songs in a directory and begin them playing as a playlist, so that once one song ends ...
MillerTime's user avatar
1 vote
1 answer
1k views

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 .....
user2402616's user avatar
  • 1,613
0 votes
1 answer
644 views

I am working on a python project which allows users to stream and download high quality music from the internet and I am using python vlc for that. As I have a progress bar in my application I want to ...
Anacktice Justice's user avatar
0 votes
1 answer
536 views

I am using the python vlc library to make a music player using pygame. I download all of the songs into mp3 format and then run some vlc code to play it. Here it is: import pygame, sys from pygame ...
Percy Lorello's user avatar
1 vote
1 answer
488 views

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 ...
Neraste's user avatar
  • 525
1 vote
1 answer
713 views

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 ...
user7391836's user avatar
2 votes
0 answers
1k views

when i am trying to play a video with python-vlc in pyqt5 like import vlc,sys from PyQt5.QtWidgets import * app = QApplication([]) window = QWidget() window.resize(500,500) window.show() instance=vlc....
Hacker6914's user avatar
0 votes
0 answers
68 views

I have a function, and whenever it is called one of the lines has it run sound.play(), which works fine the first time. as soon as i hit the loop the second time, it doesn't do anything. just passes ...
tntrobber123's user avatar
0 votes
1 answer
666 views

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 ...
Adam Ben kahla's user avatar
0 votes
1 answer
327 views

Edit - I eventually figured out the answer and have posted it below. Using .audio_set_volume() on a media_player_new() object works fine with values 0-100, but it's much quieter than the ...
thisismy-stackoverflow's user avatar
2 votes
1 answer
655 views

I'm trying to package a python script which uses python-vlc using pyinstaller, but the resulting .exe refuses to recognize the libvlc.dll binary file. I always get the same error: Traceback (most ...
zchrywht's user avatar
2 votes
0 answers
272 views

For my program I need to control an already open instance of VLC (I just want to increase/decrease the volume and make it pause), but I do not know if that is even possible as it seems you have to ...
animelovah's user avatar
0 votes
1 answer
69 views

I want the alarm.play() function to repeat for the number of loops and ring 10 times as in the example, but it just keeps ringing once every time I try or change it. How can I fix this? And does it ...
user avatar