Page 1 of 1

Passing VLC options in MRL

Posted: 17 Apr 2012 16:28
by hilltopper06
I have several multicast RTP streams for an in house IPTV service on my network. I use VLC to tune these and they work great. I am using Silicondust HDHomerun Tech units to multicast entire channel data (INSTEAD of 13.1 goes to 239.255.1.1:59001, 13.2 goes to 239.255.1.2:59002 I am able to stream the entire channel including subchannels and then have VLC pull out the stream it wants using the :program=x option. This works in playlist files where options can be entered. It does not work when the only information you can pass is the MRL. I am trying to use IPTV Recorder (http://arakar.ifastnet.com/andrej/software/) and it will not work. It expects the M3U file to be formatted as follows:

Code: Select all

#EXTM3U #EXTINF:0,NBC rtp://@239.255.1.1:59001 #EXTINF:0,ThisTV rtp://@239.255.1.1:59001
But I need to specify a program option, like so:

Code: Select all

#EXTINF:0,Radar #EXTVLCOPT:program=3 rtp://@239.255.1.1:59001 #EXTINF:0,Local7 #EXTVLCOPT:program=4 rtp://@239.255.1.1:59001
IPTV recorder expects the line after #EXTINF to contain the MRL, also #EXTVLCOPT is deprecated I think, so I really need a way to pass the program option in the MRL. Is this possible?

Re: Passing VLC options in MRL

Posted: 17 Apr 2012 17:14
by hilltopper06
Okay, I don't think it is the proper syntax, but it works with IPTV Recorder. I had to change the formatting of my M3U file that IPTV Recorder uses to:

Code: Select all

#EXTM3U #EXTINF:0,NBC rtp://@239.255.1.1:59001 --program="1" #EXTINF:0,ThisTV rtp://@239.255.1.1:59001 --program="2" #EXTINF:0,Radar rtp://@239.255.1.1:59001 --program="3"
This allows me to tune to the correct program and schedule recordings accordingly.