Page 1 of 1

DLNA/UPnP support with VLC

Posted: 23 Oct 2009 23:40
by ekvlc
It will be great help if someone can answer following questions. Thanks a bunch!
1) Does VLC support any of the DLNA/UPnP features? If so, which ones? (e.g. Renderer, Server, Control Point etc)
2) How do I enable it? (e.g. if it supports Renderer, how can I use it to play a video file from DLNA Network Attached Storage?)
3) Is there any documentation which could describe how to write a plug-in for VLC? I need to write it so that after VLC receives and decodes 2 RTP streams, my app needs to do some processing before feeding it to renderer/display filter (this is NOT in context of DLNA/UPnP)

Thanks.

Re: DLNA/UPnP support with VLC

Posted: 24 Oct 2009 10:41
by Rémi Denis-Courmont
1) VLC can enumerate A/V servers and play their medias
2) Medias / Services discovery / UPnP then go to the playlist
3) The code is the documentation. The plugin API is evolving too fast to maintain a reasonable documentation.

Re: DLNA/UPnP support with VLC

Posted: 27 Oct 2009 09:56
by macfan
to :
2) Medias / Services discovery / UPnP then go to the playlist

Hi,
could you pls. add the version of VLC you are refering to. Cannot see the proposed adjustments under 1.0.2. for MAC :-(

THX a bunch!

Re: DLNA/UPnP support with VLC

Posted: 27 Oct 2009 21:28
by Rémi Denis-Courmont
VLC Linux 0.8.4 or later.

Re: DLNA/UPnP support with VLC

Posted: 28 Oct 2009 03:10
by ekvlc
Thank you. Just wonder any plan to have this support for VLC on XP/Window7?

Re: DLNA/UPnP support with VLC

Posted: 28 Oct 2009 07:54
by Jean-Baptiste Kempf
When someone does it.

Re: DLNA/UPnP support with VLC

Posted: 28 Oct 2009 15:28
by macfan
Hi guys,
I just found it, also in VLC 1.0.2 for MAC OS.
There is some mismatch in the translation ... have the German version and had to scrutinize a lot for it.
But, and this is the main think, it works so far quite good. For sure, it will be not enough to get DLNA certified, but I can commit UPnP A/V works as expected.

THX for help to all!

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 20:46
by msc_one
Hello,

It's interesting. I am using a 1.04 Linux x86/64 Binary Client

-> Medien->Diensteerkennung-> .... shows no DLNA / Upnp service .

Any suggestions about this ?

Mats

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 21:09
by Rémi Denis-Courmont
How about asking your package maintainer to enable UPnP support?

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 21:17
by msc_one
It is from opensuse repositories ( Version 11.2 ).
How can it be done ?
Compile on my own ?

By the way - thanxs for the immediate reply.

Mats

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 21:34
by Rémi Denis-Courmont
Compiling yourself is one way, but it's not easy.

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 21:40
by msc_one
The other ?

Re: DLNA/UPnP support with VLC

Posted: 12 Jan 2010 22:34
by msc_one
Compiled it myself. Last available src from the vlc Homepage.

Anyhow, no item DLNA/UPnP found in /Medien/Diensteerkennung
Config file says that this option is akctive by default.


These options i disabled because of some missing dependencies:

./configure --disable-mad --disable-avcodec --disable-avformat --disable-swscale --disable-postproc --disable-a52

What went wrong ?

Mats

Re: DLNA/UPnP support with VLC

Posted: 13 Jan 2010 00:17
by msc_one
I enabled cyberlink module and the source tree.
But there is no source for libpnp ...

extras/contrib/src/clinkcc

Is the source incomplete ... and if so where can i get the rest ?

Mats

Re: DLNA/UPnP support with VLC

Posted: 13 Jan 2010 09:44
by msc_one
Next step:
I downloaded 1.04 Source packages from :http://download.videolan.org/pub/vlc/SuSE/11.2/src/

I configured ./configure ... enable-upnp ( this seems to be the new switch to enable upnp support )
I did a make: make
Now i can find several upnp libs ...
./modules/services_discovery/upnp_cc.cpp
./modules/services_discovery/upnp_intel.cpp
./modules/services_discovery/upnp_intel.hpp
./modules/services_discovery/.deps/libupnp_cc_plugin_la-upnp_cc.Plo
./modules/services_discovery/.deps/libupnp_intel_plugin_la-upnp_intel.Plo
./modules/services_discovery/.libs/libupnp_intel_plugin_la-upnp_intel.o
./modules/services_discovery/.libs/libupnp_intel_plugin.lai
./modules/services_discovery/.libs/libupnp_intel_plugin.la
./modules/services_discovery/.libs/libupnp_intel_plugin.soT
./modules/services_discovery/.libs/libupnp_intel_plugin.so
./modules/services_discovery/libupnp_intel_plugin_la-upnp_intel.lo
./modules/services_discovery/libupnp_intel_plugin.la

I installed them. make install

I got brandnew versions of qvlc .... in my /usr/local/bin/ directory ...
But no Menuitem in my Service-Discovery Menu ????

Ideas ?

Mats

Re: DLNA/UPnP support with VLC

Posted: 13 Jan 2010 16:30
by Rémi Denis-Courmont
It seems like you are running the old VLC. Or then you screwed up the build again.

Re: DLNA/UPnP support with VLC

Posted: 13 Jan 2010 20:21
by msc_one
Old VLC ? Where can i get the new one if not
I downloaded 1.04 Source packages from :http://download.videolan.org/pub/vlc/SuSE/11.2/src/ here ?

Re: DLNA/UPnP support with VLC

Posted: 13 Jan 2010 21:35
by Rémi Denis-Courmont
I mean you are running the Suse VLC instead of the one you just compiled.

Re: DLNA/UPnP support with VLC

Posted: 14 Jan 2010 00:09
by msc_one
I explicitly removed all system vlc binaries from my system to avoid such interferences !
I deleted all vlc Libraries - finally it works. ( Menu Entry UPNP now exits )
Thanks for the hint.

Mats

Re: DLNA/UPnP support with VLC

Posted: 14 Jan 2010 22:31
by msc_one
One thing left.
My Twonky media Server or its video content is not listed in the UPNP section of the playlist ?
Any suggestions ?

Mats