0

I am streaming audio from a linux server (192.168.0.10) to a headless client using ffmpeg.

ffmpeg -i INPUT -acodec libmp3lame -ar 11025 --f rtp rtp://192.168.0.100:1234

On the headless client, I am trying to play the stream using vlc on the commandline.

cvlc rtp://192.168.0.10:1234

I get an error

inhibit interface error: Failed to connect to the D-Bus session daeon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
  • Where are you trying to play the stream? Your receiving machine is headless! That is why you get this error. What are you trying to do here? – Michael Hampton Dec 2 '18 at 20:12
  • I rarely had a good experience with cvlc which is a headless/console VLC variant. Try using mplayer or mpv as both do great in headless mode. – hargut Dec 2 '18 at 20:21
0

I installed ffmpeg on the client and now using ffplay without display like this:

ffplay -nosdip rtp://192.168.0.10:1234

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.