orelcho
Posts: 1
Joined: Fri Jan 26, 2018 7:33 am

VLC player on Raspbian does not play video streaming

Fri Jan 26, 2018 7:56 am

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

Hobb7T
Posts: 8
Joined: Thu Mar 15, 2018 12:31 am

Re: VLC player on Raspbian does not play video streaming

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

gkreidl
Posts: 6335
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: VLC player on Raspbian does not play video streaming

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.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: VLC player on Raspbian does not play video streaming

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
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13142
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: VLC player on Raspbian does not play video streaming

Tue Apr 10, 2018 8:53 pm

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.

gkreidl
Posts: 6335
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: VLC player on Raspbian does not play video streaming

Tue Apr 10, 2018 10:47 pm

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.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Troubleshooting”