Passing VLC options in MRL

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
hilltopper06
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Apr 2012 16:20

Passing VLC options in MRL

Postby hilltopper06 » 17 Apr 2012 16:28

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?

hilltopper06
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Apr 2012 16:20

Re: Passing VLC options in MRL

Postby hilltopper06 » 17 Apr 2012 17:14

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 26 guests