How to use XSPF "program" option for igmp/udp url?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nickinuse
New Cone
New Cone
Posts: 3
Joined: 31 Aug 2011 21:16

How to use XSPF "program" option for igmp/udp url?

Postby nickinuse » 31 Aug 2011 21:27

I'm trying to convert the contents of an xspf file for use on some STBs.
Here's an extract from the xspf/xml file:

Code: Select all

<track> <location>udp://@ip:port</location> <title>title of channel</title> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>0</vlc:id> <vlc:option>udp-caching=300</vlc:option> <vlc:option>program=6230</vlc:option> </extension> </track>
The problem is that several entries match in the ip:port part, and thus simply replacing 'udp://@' with 'igmp://' makes the STBs see only one channel. So the deciding factor must be the program=number parameter. Now I'm wondering if and how is it possible to pass the parameter for an igmp:// type of url.

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

Re: How to use XSPF "program" option for igmp/udp url?

Postby Rémi Denis-Courmont » 01 Sep 2011 09:13

Eh, that is a question for the STB vendor, not VLC...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nickinuse
New Cone
New Cone
Posts: 3
Joined: 31 Aug 2011 21:16

Re: How to use XSPF "program" option for igmp/udp url?

Postby nickinuse » 01 Sep 2011 15:04

What I'm trying to figure out, is how VLC does it. My best guess for now is that the udp stream has several video/audio tracks (all streamed to the client at the same time) and some specific client-side command switches it. Or does the udp/igmp source/server has to stream only the selected program depending on some URL parameters passed?

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

Re: How to use XSPF "program" option for igmp/udp url?

Postby Rémi Denis-Courmont » 01 Sep 2011 16:42

Uh? VLC just parses the program table within the MPEG-TS stream to group the audio and video tracks in programs, just like TV sets do.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests