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
0
votes
1 answer

Can I access a VLC extension using python-vlc on a Raspberry Pi 4?

So I am running VLC on a Pi 4 and I have installed an extension to VLC that shows the elapsed seconds for the video. However, when I use python-vlc to launch VLC it does not enable the extension. Is there a way to do this using python-vlc?
0
votes
0 answers

python-vlc tkinter application for playing videos on linux

I am using python-vlc and tkinter and am getting an error like this : /usr/bin/python3.6 /home/user/PycharmProjects/Edtech/temp.py [00007f399400e010] main filter error: Failed to create video converter [00007f39b4092b90] vdpau_avcodec generic error:…
0
votes
0 answers

I am getting an error when trying to import python-vlc

I want to import the vlc module in a python program. When trying to use import vlc, I face these errors: dll, plugin_path = find_lib() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/vlc.py", line 191, in…
AkIonSight
  • 365
  • 3
  • 13
0
votes
1 answer

Using python-vlc [WinError 126] The specified module could not be found

I have installed python-vlc using pip to python 3.7 and VLC Media Player. Both of them are 64-bit and the VLC Media Player directory has been added to my path variable and is even callable from the windows command line without fully defining the…
0
votes
2 answers

How to play different sound consecutively and asynchronously?

To be specific, I need to play sound in a while loop which is fast to execute. And the audio needs to be played separately. I've tried various functions/libraries: playsound, winsound, vlc. But none of them meet my demand. Either the sounds are…
Dean Chong
  • 25
  • 1
  • 6
0
votes
1 answer

Play mkv file with included srt using python-vlc

When I want to start to play an mp4 file from python using python-vlc, I will do import vlc from time import sleep movie = "/path/to/movie.mp4" subs = "/path/to/subs.srt" i = vlc.Instance() media_player =…
Yo.
  • 15
  • 6
0
votes
2 answers

How to disable error messages output by python-vlc MediaPlayer object?

I can't seem to figure out how to stop error messages from a python-vlc MediaPlayer object being printed to the console. I've tried the following without success: self.vlc_player = vlc.MediaPlayer("--verbose=-1) self.vlc_player =…
Tim Hill
  • 1
  • 2
0
votes
1 answer

Problems generating a file with sout in python

Good afternoon I have the following code in python. The problem I have is that in the end I can't generate the flac file. I don't know what mistake I am making. Could you help me. I have installed vlc 3.0.8 and python-vlc.Thank you import…
0
votes
0 answers

Python: How to get when root window is closed in Tkinter

I've been doing some application building with Tkinter and I've stumbled into a problem where closing the main Tk() window doesn't kill the underlying python shell. I soon realised that python-vlc was actually causing the program to wait until the…
DTheLegend
  • 11
  • 1
  • 4
0
votes
2 answers

playing multiple instances of vlc with audio in python-vlc

I'm new to vlc.py and i'm trying to play two instances of MediaPlayer() which is working but the second instance is not playing audio while the first instance is playing fine. some basic codes from stackoverflow and python-vlc documentations
0
votes
2 answers

Control VLC player using python-vlc module

Controlling the VLC media player using python-vlc module I have tried the code below but am getting the error: Traceback (most recent call last): File "", line 1, in import vlc File "vlc.py", line 2, in # -*- coding: utf-8…
anita
  • 21
  • 1
  • 2
0
votes
1 answer

VLC Pulse Audio Errors in Debian Subsystem on win 10

I am writing a small program in my Debian Environment on Windows 10. I intend to use this code later on my Raspberry Pi 4. The code runs videos through VLC at certain times of day. The core of the VLC code (Python3) is below. Full Python code at…
0
votes
1 answer

Error while running the exe file made with pyinstaller

I tried to make a standalone executable of my python script with auto-py-to-exe , it basically provides easy interface for creating executable with pyinstaller, so I made my python script's exe, it's console based and when I try to run the exe that…
Path- Or
  • 43
  • 1
  • 4
  • 13
0
votes
1 answer

python-vlc doesn't plays and response with the youtube video link?

I have been trying to play the YouTube links from python using pafy and python-vlc. The code compiles and finishes but the link doesn't play through vlc even though I have called play() at bottom I have tried uninstalling the existing python-vlc and…
Path- Or
  • 43
  • 1
  • 4
  • 13
0
votes
2 answers

GtkDrawingArea gets messed up when resized

I'm working on a GTK+ frontend for libvlc in python using python-vlc. So far I followed this guide, which is working fine, except that when I resize the window, the DrawingArea gets messed up as you can see in the picture (there's probably a word…
robfuscator
  • 631
  • 1
  • 5
  • 13
1 2 3
8
9