Page 1 of 1

Unable to play upnp streamed video

Posted: 02 Jan 2012 11:08
by mynameisjuanito
Using vlc-1.1.13 and libupnp-1.6.14 I am unable to play upnp streamed video.

I can see the upnp server in vlc, but not any of the videos being streamed.

Note that I can use gupnp-av-cp on the same machine to play the streamed videos without problems. I can also copy one of the videos from the upnp server to the local machine and play it using vlc without problems.

Is vlc known to work in the above scenario? Are there any trouble-shooting steps I could try?

Re: Unable to play upnp streamed video

Posted: 03 Jan 2012 13:46
by mynameisjuanito
I tried some further troubleshooting setting the local machine up to stream upnp video using rygel.

I got this error:

Code: Select all

[0x9507dd4] upnp_intel services discovery error: UPNP_E_SOCKET_ERROR [0x9507dd4] main services discovery debug: no services_discovery module matching "upnp_intel" could be loaded [0x9507dd4] main services discovery debug: TIMER module_need() : 2.004 ms - Total 2.004 ms / 1 intvls (Avg 2.004 ms) [0x9507dd4] main services discovery error: no suitable services discovery module
The correct modules seem to be there:

Code: Select all

$ ls /usr/local/lib/vlc/plugins/services_discovery libbonjour_plugin.so libmtp_plugin.so libsap_plugin.so libupnp_intel_plugin.so libmediadirs_plugin.so libpodcast_plugin.so libudev_plugin.so libxcb_apps_plugin.so
..and as per "ldd" all their deps seem to be satisfied.

Any suggestions would be gratefully received

Re: Unable to play upnp streamed video

Posted: 03 Jan 2012 17:19
by Rémi Denis-Courmont
There is a (socket) error in libupnp. This is not a VLC bug, so we cannot help you much.

Make sure IPv6 works and there is no firewall.

Re: Unable to play upnp streamed video

Posted: 04 Jan 2012 06:24
by mynameisjuanito
There is a (socket) error in libupnp. This is not a VLC bug, so we cannot help you much.
libupnp was compiled from the latest stable version available...

Why not use gupnp, the project seems to be more active and better maintained?
Make sure IPv6 works and there is no firewall
I was testing by streaming from the local machine and attempting to play the stream on the local machine - there was no firewall, the local machine does not use IPv6 and gupnp-av-cp on the same local machine could play videos from the stream without problems.

Do vlc/libupnp need IPv6 to work?

Re: Unable to play upnp streamed video

Posted: 04 Jan 2012 12:37
by Rémi Denis-Courmont
gupnp depends on glib, so not an option. VLC does not need IPv6. I don't know about libupnp.

Re: Unable to play upnp streamed video

Posted: 06 Jan 2012 12:49
by mynameisjuanito
I made some progress - it seems vlc doesn't like it when video is streamed from the local machine.

I had thought vls didn't work from a upnp source on the local network either, but it turns out I didn't wait long enough - it took fully 10 minutes to index the contents of the upnp server (compared to a few seconds for gupnp-av-cp on the same machine).

When I do manage to play a video from the upnp server, the image is initially distorted for up to a minute before it stabilises, but the controls are not shown (start/stop/etc) and I'm obliged to wait to the end of the video to get control back...

Is there a way to attach the debug log or screenshots?