Open gnthibault opened 3 years ago
Did you try to play a local h264 file through the bindings ? Simply calling python3 vlc.py /path/to/file.mp4
should play the video file with a basic console control interface. You should also specify your platform, since it looks like a module loading issue, which may have peculiarities on different platforms. And FYI, cvlc is an alias to vlc, which itself is not built using libvlc, which may sometimes explain different behaviours.
Dear all,
First, thank you for those bindings, in case they work, they'll be incredibly useful for me.
Up to recently, I was using the following command (that was working perfectly) in order to broadcast a rtsp h264 stream onto http protocol for web embeding with the following exact command:
cvlc -v rtsp://user:password@192.168.0.16 --sout='#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100,scodedec=none}:http{dst=:8080/webcam.ogg}'
Now, I have tried, what I think should be the exact translation of the up-above command with python-vlc version 3.0.11115 :
Unfortunately, it looks like the main error relates to the following lines in the logs (full logs down below)
It is quite surprising, than, when launching the equivalent cvlc command in bash, it works successfully and I get the following except:
I checked for some examples and documentation here and here but I did not eventually managed to fix the problem.
I case it helps, here is the content of ls /usr/lib/x86_64-linux-gnu/vlc/plugins/codec/ :