Unable to play upnp streamed video

*nix specific usage questions
mynameisjuanito
New Cone
New Cone
Posts: 8
Joined: 02 Jan 2012 10:58

Unable to play upnp streamed video

Postby mynameisjuanito » 02 Jan 2012 11:08

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?

mynameisjuanito
New Cone
New Cone
Posts: 8
Joined: 02 Jan 2012 10:58

Re: Unable to play upnp streamed video

Postby mynameisjuanito » 03 Jan 2012 13:46

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15236
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Unable to play upnp streamed video

Postby Rémi Denis-Courmont » 03 Jan 2012 17:19

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mynameisjuanito
New Cone
New Cone
Posts: 8
Joined: 02 Jan 2012 10:58

Re: Unable to play upnp streamed video

Postby mynameisjuanito » 04 Jan 2012 06:24

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15236
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Unable to play upnp streamed video

Postby Rémi Denis-Courmont » 04 Jan 2012 12:37

gupnp depends on glib, so not an option. VLC does not need IPv6. I don't know about libupnp.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mynameisjuanito
New Cone
New Cone
Posts: 8
Joined: 02 Jan 2012 10:58

Re: Unable to play upnp streamed video

Postby mynameisjuanito » 06 Jan 2012 12:49

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?


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

Who is online

Users browsing this forum: No registered users and 2 guests