VLC Ubuntu Freebox RTSP
alb05 Posted messages 29 Status Member -
Hello,
I also get this message with VLC 3.0.16 under Ubuntu when I try to open the TV stream via the [Media/Network] URL option: http://mafreebox.freebox.fr/freeboxtv/playlist.m3u
Your input media cannot be opened:
VLC cannot open "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=ld". Check the log messages for more details.
My PC is dual-boot and on Windows 10, I have no problem.
The firewall on Ubuntu seems to be disabled when I check with GuFw.
At least for the 'Public' and 'Home' profiles. The 'Corporate' profile remains "active" systematically.
What seems strange to me is that in tutorials and forums, it is sometimes mentioned to configure the RTSP port with a finite value. However, the freshly installed VLC does not offer an RTSP input but only RTP.
I deduce that my configuration does not allow me to read RTSP streams, hence the error message from VLC.
But then, how can I add the [RTSP Input] section to the preferences options of this VLC Ubuntu?
Thank you in advance for your insights.
6 answers
-
Hello,
- Are you able to connect to your Freebox using VLC from Windows?
- Have you tried what was mentioned in this discussion?
Good luck
-
Hello
Yes, under the Windows session of this same PC in dual-boot, this stream works.
First, the link to the VLC documentation is not operational and the commented instructions are workarounds for the problem using other players (MPV, FFPlay)
And I don't understand how the command lines in the prompt solve the problem of the absence of the RTSP tag in VLC
What do you think is the key to solving my problem in this discussion?
Thank you
-
Hello,
In response to message #2:
For me, the purpose of these commands (whether it's the one based on vlc or ffplay) is to better identify your issue, particularly through their potential error messages. For example, if it works with ffplay, then the problem is not related to the firewall. Regarding the vlc command proposed:
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554
... only the --rtsp-host option seems relevant to me. In your case, it needs to be adapted with the IP address of your device and the port. Again, I understand that if it works on Windows without specific options, there’s no reason it shouldn’t work on Linux, but here the goal is still to collect an error message that will help clarify things.
Another thing you can do is temporarily disable your firewall and see if that changes anything, even if you have to re-enable it once the tests are complete. The goal is also to pinpoint what is blocking.
Good luck
-
I will try but I need help to replace the variables with the correct values.
How can I find out the IP addresses, password, and port to test?
To disable the Firewall, I showed in my screenshot that I thought I had disabled the domestic one with GuFw. If it needs to be disabled another way, then how?
-
Hello,
My answer may be approximate because I have never used RTSP and I don't know what model of Freebox you are using.
- The IP is presumably that of your Freebox. Assuming you only have one box, it's the IP of your gateway (which you can find using ip route, for example 192.168.0.254).
- If you didn't have to specify the port on Windows, the port to use is presumably the default port for RTSP (554). I imagine you can also directly retrieve all this information by going into your box's configuration interface.
Good luck
-
I tested it and the command generated some output but then got stuck on the last line. Here is the log attached:
ip route
default via 192.168.0.254 dev enp0s25 proto dhcp metric 100
vlc --ttl 12 -vvv --color -I telnet --telnet-passwordmypwd--rtsp-host192.168.0.254:5554[0000556fc7433580] main libvlc debug: VLC media player - 3.0.16 Vetinari
[0000556fc7433580] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[0000556fc7433580] main libvlc debug: revision 3.0.13-8-g41878ff4f2
[0000556fc7433580] main libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.16-1build7' '--enable-a52' '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-hoXXw1/vlc-3.0.16=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-hoXXw1/vlc-3.0.16=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-hoXXw1/vlc-3.0.16=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security'
[0000556fc7433580] main libvlc debug: searching plug-in modules
[0000556fc7433580] main libvlc debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
[0000556fc7433580] main libvlc debug: recursively browsing `/usr/lib/x86_64-linux-gnu/vlc/plugins'
[0000556fc7433580] main libvlc debug: plug-ins loaded: 519 modules
[0000556fc7433580] main libvlc debug: opening config file (/home/monPC/.config/vlc/vlcrc)
[0000556fc74338d0] main logger debug: looking for logger module matching "any": 4 candidates
[0000556fc74338d0] main logger debug: using logger module "console"
[0000556fc7433580] main libvlc debug: translation test: code is "fr"
[0000556fc74d09e0] main keystore debug: looking for keystore module matching "memory": 4 candidates
[0000556fc74d09e0] main keystore debug: using keystore module "memory"
[0000556fc7433580] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0000556fc74d6440] main input debug: Creating an input for 'Media Library'
[0000556fc74d6440] main input debug: Input is a meta file: disabling unneeded options
[0000556fc74d6440] main input debug: using timeshift granularity of 50 MiB
[0000556fc74d6440] main input debug: using default timeshift path
[0000556fc74d6440] main input debug: `file/directory:///home/monPC/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/monPC/.local/share/vlc/ml.xspf'
[0000556fc74d0df0] main input source debug: creating demux: access='file' demux='directory' location='/home/monPC/.local/share/vlc/ml.xspf' file='/home/monPC/.local/share/vlc/ml.xspf'
[0000556fc74d1410] main demux debug: looking for access_demux module matching "file": 18 candidates
[0000556fc74d1410] main demux debug: no access_demux modules matched
[0000556fc74edad0] main stream debug: creating access: file:///home/monPC/.local/share/vlc/ml.xspf
[0000556fc74edad0] main stream debug: (path: /home/monPC/.local/share/vlc/ml.xspf)
[0000556fc74edad0] main stream debug: looking for access module matching "file": 29 candidates
[0000556fc74edad0] main stream debug: using access module "filesystem"
[0000556fc74eec80] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[0000556fc74eec80] cache_read stream debug: Using stream method for AStream*
[0000556fc74eec80] cache_read stream debug: starting pre-buffering
[0000556fc74eec80] cache_read stream debug: received first data after 0 ms
[0000556fc74eec80] cache_read stream debug: pre-buffering done 296 bytes in 0s - 8258 KiB/s
[0000556fc74eec80] main stream debug: using stream_filter module "cache_read"
[0000556fc74efc30] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000556fc74efc30] playlist stream debug: using XSPF playlist reader
[0000556fc74efc30] main stream debug: using stream_filter module "playlist"
[0000556fc74efc30] main stream debug: stream filter added to 0x556fc74eec80
[0000556fc74f31c0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000556fc74f31c0] main stream debug: no stream_filter modules matched
[0000556fc74d11d0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[0000556fc74d11d0] main stream_directory debug: no stream_directory modules matched
[0000556fc74d0df0] main input source debug: attachment of directory-extractor failed for file:///home/monPC/.local/share/vlc/ml.xspf
[0000556fc74f31c0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[0000556fc74f31c0] main stream debug: using stream_filter module "record"
[0000556fc74d0df0] main input source debug: creating demux: access='file' demux='directory' location='/home/monPC/.local/share/vlc/ml.xspf' file='/home/monPC/.local/share/vlc/ml.xspf'
[0000556fc74d1410] main demux debug: looking for demux module matching "directory": 54 candidates
[0000556fc74d1410] main demux debug: using demux module "directory"
[0000556fc74d0780] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000556fc74d0780] lua demux meta debug: Trying Lua scripts in /home/monPC/.local/share/vlc/lua/meta/reader
[0000556fc74d0780] lua demux meta debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
[0000556fc74d0780] lua demux meta debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
[0000556fc74d0780] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000556fc74d0780] main demux meta debug: no meta reader modules matched
[0000556fc74d6440] main input debug: `file/directory:///home/monPC/.local/share/vlc/ml.xspf' successfully opened
[0000556fc750d8b0] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000556fc750d8b0] main xml reader debug: using xml reader module "xml"
[0000556fc74d6440] main input debug: EOF reached
[0000556fc74d1410] main demux debug: removing module "directory"
[0000556fc74f31c0] main stream debug: removing module "record"
[0000556fc74efc30] main stream debug: removing module "playlist"
[0000556fc74eec80] main stream debug: removing module "cache_read"
[0000556fc74edad0] main stream debug: removing module "filesystem"
[0000556fc74d3ab0] main playlist debug: creating audio output
[0000556fc750de40] main audio output debug: looking for audio output module matching "any": 6 candidates
[0000556fc750de40] vlcpulse audio output debug: using library version 15.99.0
[0000556fc750de40] vlcpulse audio output debug: (compiled with version 15.99.0, protocol 35)
[0000556fc750de40] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #17
[0000556fc750de40] vlcpulse audio output debug: using protocol 35, server protocol 35
[0000556fc750de40] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.iec958-stereo (Internal stereo digital audio (IEC958))
[0000556fc750de40] main audio output debug: using audio output module "pulse"
[0000556fc74d3ab0] main playlist debug: keeping audio output
[0000556fc74cd0c0] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[0000556fc74cd0c0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000556fc74cd0c0] main interface debug: using interface module "dbus"
[0000556fc75235e0] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[0000556fc75235e0] main interface debug: using interface module "hotkeys"
[0000556fc7523fc0] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[0000556fc7523fc0] main interface debug: using interface module "xcb_hotkeys"
[0000556fc75260d0] main interface debug: looking for interface module matching "telnet": 19 candidates
[0000556fc75260d0] [telnet] lua interface debug: Found lua interface script: /usr/lib/x86_64-linux-gnu/vlc/lua/intf/telnet.luac
[0000556fc75260d0] [telnet] lua interface debug: Setting config variable: config={telnet={host='telnet://:4212',password='******'}}
[0000556fc75260d0] [telnet] main interface debug: using interface module "lua"
[0000556fc74d3ab0] main playlist: playlist is empty
[0000556fc74d3ab0] main playlist debug: nothing to play
[0000556fc75260d0] [telnet] main interface debug: creating VLM
[0000556fc75260d0] [telnet] lua interface: Listening on host "telnet://:4212".
[0000556fc75260d0] [telnet] main interface debug: net: listening to port 4212
[0000556fc74cd0c0] dbus interface debug: Getting All properties
[0000556fc74cd0c0] dbus interface debug: Getting All properties
[0000556fc74cd0c0] dbus interface debug: Getting All properties
-
Nothing looks better after this treatment.
How can this port 4212 help activate the RTSP option in VLC?


