Dbus error running vlc in docker

*nix specific usage questions
mafatik
New Cone
New Cone
Posts: 5
Joined: 31 Jul 2019 11:27

Dbus error running vlc in docker

Postby mafatik » 25 Aug 2019 10:52

I'm trying to build docker image with Ubuntu 18.04 and VLC to stream audio. This is my script runs vlc

Code: Select all

cvlc -A alsa,none --alsa-audio-device default /playlists/pl1.xspf --sout-keep --sout='#transcode{acodec=mp3,channels=2} :standard{mux=mp3,access=http,dst=:8040}'
And this is console log

Code: Select all

[0000563816acd440] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0000563816acd440] main interface error: no suitable interface module [0000563816a3c420] main libvlc error: interface "dbus,none" initialization failed [0000563816b0bbd0] main interface error: no suitable interface module [0000563816a3c420] main libvlc error: interface "globalhotkeys,none" initialization failed [0000563816b0bbd0] dummy interface: using the dummy interface module... [00007fadf44c8c80] dummy mux: Open
I thought with 'cvlc' command I don't need any gui servers. How can I run it in my container without any gui?

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

Who is online

Users browsing this forum: No registered users and 22 guests