VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

*nix specific usage questions
ylebars
New Cone
New Cone
Posts: 3
Joined: 02 Sep 2021 12:03

VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby ylebars » 02 Sep 2021 12:15

Hello, everybody out there!

I have recently installed an Ubuntu 20.04. Of course, I have installed VLC, version 3.0.12. With it installed, I can read DVDs and Blurays without any problem, as well as video files. But I have some trouble while I try to read a stream from my media player. Here is the error message I get on the command line:

Code: Select all

$ vlc http://mafreebox.freebox.fr/freeboxtv/playlist.m3u VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e) [000056060a1a85b0] main libvlc: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface. [00007f5a3c001180] mjpeg demux error: cannot peek [00007f5a3c0c3a80] mjpeg demux error: cannot peek [00007f5a3400c8b0] access stream error: HTTP 404 error [00007f5a3400c8b0] http stream error: local stream 1 error: Cancellation (0x8) [000056060a1a85b0] main libvlc error: no suitable access module for `https://upload.wikimedia.org/wikipedia/fr/thumb/e/e8/France_2_logo_antenne_(2008).png/270px-France_2_logo_antenne_(2008).png' [00007f5a3d184a90] mjpeg demux error: cannot peek [00007f5a3d1c3490] mjpeg demux error: cannot peek [00007f5a3c012b90] mjpeg demux error: cannot peek QObject::~QObject: Timers cannot be stopped from another thread
Here is the error message VLC prints in a new window:

Code: Select all

Votre média d'entrVotre média d'entrée ne peut être ouvert: VLC ne peut pas ouvrir « rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=sd ». Vérifier les messages du journal pour plus de détails.
When using Totem, I can read the stream, so it seems the problems comes either from my installation of VLC or its configuration. Anyway, I have made this test to make sure the problem does not come from the firewall:

Code: Select all

$ sudo ufw status verbose État : actif Journalisation : on (low) Par défaut : allow (incoming), allow (outgoing), deny (routed) Nouveaux profils : skip $ vlc http://mafreebox.freebox.fr/freeboxtv/playlist.m3u VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e) [000055ae755dd620] main libvlc: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface. [00007f1a04001a80] access stream error: HTTP 404 error [00007f1a04001a80] http stream error: local stream 1 error: Cancellation (0x8) [000055ae755dd620] main libvlc error: no suitable access module for `https://upload.wikimedia.org/wikipedia/fr/thumb/e/e8/France_2_logo_antenne_(2008).png/270px-France_2_logo_antenne_(2008).png' [00007f1a0c015ec0] mjpeg demux error: cannot peek [00007f1a0c0c3e40] mjpeg demux error: cannot peek [00007f1a0c0c3e40] mjpeg demux error: cannot peek QObject::~QObject: Timers cannot be stopped from another thread
Can anyone help me solve this?

Best regards.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby Rémi Denis-Courmont » 02 Sep 2021 14:54

That's a server-side error (HTTP 404). URL does not exist.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ylebars
New Cone
New Cone
Posts: 3
Joined: 02 Sep 2021 12:03

Re: VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby ylebars » 02 Sep 2021 15:53

Hello, everybody out there!

Thank you for the answer.
That's a server-side error (HTTP 404). URL does not exist.
Well, as I said before, I can read the stream “http://mafreebox.freebox.fr/freeboxtv/playlist.m3u” with Totem. I can also open this stream with my web navigator. I just tried with the Flatpak version of VLC, I can read the stream with it. Obviously, I could not have this behaviour if the stream did not exist.

My guess is the 404 error is unimportant: it is just that VLC is trying to access the URL “https://upload.wikimedia.org/wikipedia/ ... (2008).png” to get the logo of the streamer, and this URL does not exist indeed. But this is not a problem. What I need is to read the stream. So, the relevant error is:

Code: Select all

[00007f5a3d184a90] mjpeg demux error: cannot peek
And this error, I do not know how to solve it. However, as I can read the stream with the Flatpak version, it means it is possible to configure VLC such as it can read the stream.

By the way, I really rather use VLC version from standard repository than the Flatpak version, as for some reason Bluray support is better with the standard version.

Best regards.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby Rémi Denis-Courmont » 02 Sep 2021 18:58

Maybe look at the verbose logs like the error message suggest?

Please note that Debian VLC builds do not support RTSP by Debian policy decision. Use the Flatpak if you need RTSP.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ylebars
New Cone
New Cone
Posts: 3
Joined: 02 Sep 2021 12:03

Re: VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby ylebars » 06 Sep 2021 11:22

Hello, everybody out there!

Sorry for the late response.
Please note that Debian VLC builds do not support RTSP by Debian policy decision. Use the Flatpak if you need RTSP.
Well, that pretty much solves it, as I try to read RTSP streams. So, I should use the Flatpak. I have few non-blocking issues with it, but I will do separate messages to solve them. So this issue is solved, thank you!

Best regards.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.12, Ubuntu 21.04: Error while trying to read a video stream

Postby Rémi Denis-Courmont » 06 Sep 2021 12:33

Or Snap, but not .deb's.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests