Using VLC as UPnP renderer with rygel

12. Dec, 2012

I have a NAS, a smartphone and my local Computer. What todo with all this thinks? My NAS has a lot of multimedia files and my computer has a large monitor i thought why not connect all this thinks.

So here is my setup:

  1. my NAS as UPnP media server with all my movies
  2. my Smartphone with an UPnP control point app like BubbleUPnP
  3. and my linux machine

So now to the interessting part. rygel is a UPnP AV MediaServer. But rygel can also as as an player to recieve media files and play this. This is called a UPnP media renderer. Rygel provides a standalone Media Renderer based on GStreamer playbin. This play video and audio files, but thats´s it. You can´t even play a video in fullscreeen mode.

So here comes VLC in play with another protocoll called MPRIS. So i don´t get in to details here so MPRIS works and its connect VLC with our media renderer rygel.

So here is an example configuration for rygel. I have disabled all the stuff that isn´t necessary to just play our videos.

~/.config/rygel.conf

[general]
upnp-enabled=true
enable-transcoding=false

[Tracker]
enabled=false

[MediaExport]
enabled=false

[Playbin]
enabled=false

[GstLaunch]
enabled=false

[MPRIS]
enabled=true

[External]
enabled=false