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

Python VLC player.next() control

I'm writing a Jukebox program that plays media based on key combinations (A1, B2, C3, etc.). Everything works the way I expect with the exception of the "media_player.next()" command. Let's say you queue up 3 songs. If you hit the "y" key, it…
Brian
  • 93
  • 1
  • 11
0
votes
2 answers

Why is VLC's .py modue returning 'NoneType' in 'media_player_new'?

I've been running around in circles for a few weeks, and can't get past an infuriating problem... firstly; I'm running 64-bit Win10, with 64-bit Powershell invoking python 3.9 (also 64-bit), which is an app with a Tk GUI, and uses python-vlc. It's…
Vexen Crabtree
  • 339
  • 3
  • 16
0
votes
0 answers

python-vlc + wxpython freezes on Raspberry pi 4b

I have Raspberry pi 4b and I am trying to run python-vlc and wxpython to play video. import vlc import time import threading import wx class MyFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, -1, "Video Frame…
Matej
  • 782
  • 2
  • 6
  • 19
0
votes
1 answer

Delay occouring when skipping to another mp3

I am recording incoming stream to mp3 file into 20 seconds parts in sender device. After that i am uploading this files to Google Drive(using RCLONE). Then i am downloading this files to receiver device. I am waiting about a while time (buffering)…
Veysel Olgun
  • 552
  • 1
  • 3
  • 15
0
votes
2 answers

How to initialize python-vlc without VLC installed on the machine (portable VLC intance)

I am currently making some kind of a program that can control PCs using a remote control, and one of the features is music playing (In the background, the player will not be visible). I know that there are other options for that in python, but the…
0
votes
0 answers

Python Open Source Video Player To Dynamically Play a Stream of Consecutive Videos

any help is much appreciated. I've been looking for a few days for something to meet the following use case. I need to open a single video player window which will play a dynamic stream of videos selected by an accompanying program. I'm on windows…
TDP
  • 11
  • 1
  • 3
0
votes
1 answer

How to play youtube videos in python-vlc?

import vlc p = vlc.MediaPlayer("https://www.youtube.com/watch?v=7ailmFB38Rk") p.play() gives me this error [00007f97a80030c0] http stream error: local stream 1 error: Cancellation (0x8) I was told this is causes if the link is invalid or broken,…
0
votes
2 answers

How can I get Frequency, pitch, lowdness, etc of audio in python vlc?

There really doesn't seem to be any function to get these values import vlc p = vlc.MediaPlayer(path/to/file.mp3) p.play() here I need to get the frequency, pitch and other properties of sound. I am not sure if this is possible using vlc-python,…
0
votes
0 answers

How to disable multiple instance in python-vlc?

I'm new to python vlc so I'm not sure if I'm asking the right question. That being said what I want to do is for example if I run the code below twice the initial instance will stop (i.e the song will stop playing automatically). def mediaPlayer(): …
0
votes
1 answer

Can I stream a file with python VLC?

I want to stream a file over the network with python-vlc. How can I do that ? I tried this : import vlc arg = ":sout=#http{mux=ffmpeg{mux=flv},dst=:8080/} :no-sout-all :sout-keep" inst = vlc.Instance(arg) media =…
PØL1
  • 5
  • 1
  • 6
0
votes
1 answer

Is there a way to make the python-vlc window acknowledge cropping?

I want to play a video using python-vlc. I have gotten everything to work, and the video plays without any technical issues. There is this one aesthetic issue, though. I only want to play part of the video. As in, I want to crop out a fair bit on…
Arthur
  • 653
  • 2
  • 6
  • 21
0
votes
1 answer

Python-vlc error: HTTP connection failure

I'm trying to play an online video using python-vlc library. First, I was using a simple version of the player to test it out: import vlc #example…
JackPieCZ
  • 109
  • 2
  • 9
0
votes
1 answer

Adding Qframes and Matplotlib In python PyQt5

I am trying to run a program with Python PyQt5 where I take ip's of 2 camera's and stream them live on my screen, but the stream is coming like so (check the 1st picture) like the one in the given picture both the steams are coming in the first half…
0
votes
1 answer

MPRIS integration with Python or VLC-Python

Does anybody know of an easy module to interact with MPRIS and write metadata to it? I'm trying to get a music player working with the OS, and I'm using VLC [python-vlc] as it's backend. If you can help me out find any module that allows me to…
0
votes
3 answers

playing multiple audio / video files simultaneously with python-vlc

I'm developing a tkinter application where video's and sounds are queued and played back based on certain events. For this I use python-vlc, but I haven't found a way to play multiple sounds at the same time (besides multithreading). The videos…
Jader
  • 45
  • 1
  • 9
1 2 3
8 9