Page 1 of 1

VLC player on Raspbian does not play video streaming

Posted: Fri Jan 26, 2018 7:56 am
by orelcho
I want use my Raspberry Pi 3 model B like video streaming player. I installed VLC player and open a stream. VLC shows picture, but freezes on the first frames. The audio signal is OK, only video freezed. Below are the errors from console.
The streams working on Windows machine. I tested the streams in http://subhttp.radiantmediaplayer.com/t ... g-url.html on my Raspberry, working also. So the problem is in VLC. I don't want to use exactly VLC, so can you recommend me another player to test it?

Code: Select all

pi@raspberrypi:~ $ vlc
VLC media player 2.2.7 Umbrella (revision 2.2.7-0-g6e32381286)
[01366830] pulse audio output error: PulseAudio server connection failure: Connection refused
[012db8f8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[70b04098] httplive stream: HTTP Live Streaming (s001.bgtv.stream/hls/ng/index.m3u8?h=fMSAlFPeMf-PIxDLJu_dog&e=1735689600)
[70b045f0] ts demux: MPEG-4 descriptor not found for pid 0x101 type 0xf
[6dffe928] packetizer_mpeg4audio packetizer: AAC channels: 2 samplerate: 48000
[6c3330c0] xcb_xv vout display error: no available XVideo adaptor
[70b045f0] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[70b045f0] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097
[01312a48] freetype spu text error: Breaking unbreakable line
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b045f0] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[70b045f0] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4097
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70b5d388] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[70d00b10] core access error: connection failed: Network is unreachable
[70d00b10] core access error: connection failed: Network is unreachable
[70d00b10] http access error: cannot connect to s001.bgtv.stream:80
[70d00b10] core access error: connection failed: Network is unreachable
[70d00b10] core access error: connection failed: Network is unreachable
[70d00b10] access_mms access error: cannot connect to s001.bgtv.stream:80
[70b04098] core stream error: no suitable access module for `http://s001.bgtv.stream/hls/ng/319401.ts'
[70b04098] httplive stream error: downloading segment 319401 from stream 0 failed

Re: VLC player on Raspbian does not play video streaming

Posted: Tue Apr 10, 2018 4:00 pm
by Hobb7T
Same here! I found that mplayer and omxplayer are similar and working in this situation, but it seems that they showing image through the HDMI out of RasPi only, so for me that I use VNC to control the RasPi it has to be a executable UI like vlc

Re: VLC player on Raspbian does not play video streaming

Posted: Tue Apr 10, 2018 8:07 pm
by gkreidl
Hobb7T wrote:
Tue Apr 10, 2018 4:00 pm
Same here! I found that mplayer and omxplayer are similar and working in this situation, but it seems that they showing image through the HDMI out of RasPi only, so for me that I use VNC to control the RasPi it has to be a executable UI like vlc
This cannot work. You cannot transfer real time video across a VNC connection.

Re: VLC player on Raspbian does not play video streaming

Posted: Tue Apr 10, 2018 8:48 pm
by fruitoftheloom
gkreidl wrote:
Tue Apr 10, 2018 8:07 pm
Hobb7T wrote:
Tue Apr 10, 2018 4:00 pm
Same here! I found that mplayer and omxplayer are similar and working in this situation, but it seems that they showing image through the HDMI out of RasPi only, so for me that I use VNC to control the RasPi it has to be a executable UI like vlc
This cannot work. You cannot transfer real time video across a VNC connection.

omxplayer - RealVNC "direct capture mode" ??

https://www.raspberrypi.org/blog/get-ba ... c-connect/

https://www.realvnc.com/en/connect/docs ... -minecraft

Re: VLC player on Raspbian does not play video streaming

Posted: Tue Apr 10, 2018 8:53 pm
by mahjongg
Normal VNC does not use hardware acceleration (the GPU) on a raspberry PI, so its not able to play video, as software decoding with the CPU is too slow, the RPI is basically a good GPU with a CPU added as an "afterthought".

OMXPlayer does use the GPU, and therefore is the preferred video player on a RPI, however its a command line application (with keyboard control). However, there is a GUI interface for OMXPlayer, if you are so inclined.

Media players for the PI also use the GPU to play video's, and are an alternative to OMXPlayer.

There is a community effort to try to get a version of VNC that uses the GPU, but I don't see the point. It doesn't seem to have much traction, and you still have to compile it yourself, not recommended.


Playing video over a remote desktop software is another kettle of fish, as most video players do not play well with remote desktop software, and write (decode) directly to the video framebuffer.

Re: VLC player on Raspbian does not play video streaming

Posted: Tue Apr 10, 2018 10:47 pm
by gkreidl
fruitoftheloom wrote:
Tue Apr 10, 2018 8:48 pm
gkreidl wrote:
Tue Apr 10, 2018 8:07 pm
Hobb7T wrote:
Tue Apr 10, 2018 4:00 pm
Same here! I found that mplayer and omxplayer are similar and working in this situation, but it seems that they showing image through the HDMI out of RasPi only, so for me that I use VNC to control the RasPi it has to be a executable UI like vlc
This cannot work. You cannot transfer real time video across a VNC connection.

omxplayer - RealVNC "direct capture mode" ??

https://www.raspberrypi.org/blog/get-ba ... c-connect/

https://www.realvnc.com/en/connect/docs ... -minecraft
It may be able to catch the omxplayer overlay, but it can never transfer the screen at 30, 50 or 60 FPS.