Multicast Streaming ?

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.0.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Multicast Streaming ?

Postby liquidcool » 22 Jun 2009 17:00

Hi there,

Is there any knowledge if multicast streaming will be implemented in VLC ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Multicast Streaming ?

Postby Jean-Baptiste Kempf » 22 Jun 2009 17:21

It is inside VLC since around 5 years...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Re: Multicast Streaming ?

Postby liquidcool » 22 Jun 2009 17:22

Please excuse my ignorance, but where ? and how do you set it up ?

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Multicast Streaming ?

Postby thannoy » 23 Jun 2009 14:49

You will maybe have to read some documentation about multicast usage.

one example with VLC:
- server side : stream to udp://239.0.0.0:7777
- clients side: listen on udp://@239.0.0.0:7777

links:
http://wiki.videolan.org/Documentation:Streaming_HowTo

liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Re: Multicast Streaming ?

Postby liquidcool » 23 Jun 2009 15:52

I have set that up, but it won't work.

I have spoken to our network guys and they have noticed on the UDP packet the TTL is set to 1 and as a result it is not even reaching the switches. I tried to set it to any number in the gui and it still will not change it. Wireshark still shows the packet as having a TTL of 1.

Is this a bug ?

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Multicast Streaming ?

Postby thannoy » 23 Jun 2009 15:59

Maybe you can use --ttl option.

Code: Select all

--ttl <integer> Hop limit (TTL) This is the hop limit (also known as "Time-To-Live" or TTL) of the multicast packets sent by the stream output (-1 = use operating system built-in default).

liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Re: Multicast Streaming ?

Postby liquidcool » 23 Jun 2009 16:07

When I add that into the gui it still comes out with a TTL of 1

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Multicast Streaming ?

Postby thannoy » 23 Jun 2009 16:36

Try to modify it in configs.
Preferences > select "all" (bottom left) to have the full option list in the left side.
Then Stream output> access output and modify TTL config here, save, restart VLC.

liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Re: Multicast Streaming ?

Postby liquidcool » 23 Jun 2009 16:44

Great. Got that sorted out. Now i have another issue. Trying to receive the stream on the client, nothing comes through. Just sits there and says Buff: 0%

Running Wireshark on the client I see the UDP packets coming into the machine, but VLC does not play anything.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Multicast Streaming ?

Postby thannoy » 23 Jun 2009 17:43

if your receiver is on lunix, you can try (requires root privileges):

Code: Select all

ifconfig eth0 allmulti
If will ask the network card to not filter multicast. Normally, if should not be needed since when a client try to listn a multicast stream, it ask the network card to unfilter the specific multicast it is waiting for. But in case.

liquidcool
New Cone
New Cone
Posts: 9
Joined: 22 Jun 2009 16:36

Re: Multicast Streaming ?

Postby liquidcool » 24 Jun 2009 07:51

The client is on Windows. And, as I said, wireshark is showing the stream coming onto the client PC, so I don't think there is a problem with the nic filtering multicast traffic. VLC Player just does not want to play the stream at all.


Return to “VLC 1.0.0 testing”

Who is online

Users browsing this forum: No registered users and 4 guests