Page 1 of 1
VLC and IPTV streaming in windows 7?!
Posted: 07 May 2009 15:02
by SawyerX
I'm trying to get IPTV streaming working on windows 7 with vlc-0.8.6i-win32.
On Vista VLC automatically configured itself and it started to play IPTV by intself. On Windows 7 it did not do that. So I had to input the IP into Access output IPv4 multicast output interface address. Now It started working locally just fine.
However in Vista I was streaming IPTV with firedaemon services with http. So other people could access it but in windows 7 the stream simple doesnt start. I guess its because VLC did not auto setup itself here.
My firedaemon string that worked in Vista is this:
Code: Select all
"C:\Users\Sawyer\Desktop\Playlist.m3u" ":sout=#duplicate{dst=std{access=http,mux=ts,dst=:1280}}" -I http --http-host 192.168.1.2:10080
I guess I'm missing some strings to configure from which network card it should read and so on. So what would be the complete command line look like?
I found this lines in help wiki:
--iface-addr <string> specifies your network interface IP address.
--iface <string> specifies the network interface to use
But this didnt really produce anything working. What are the string especially the --iface one. What must I do here. A number, a interface name or what?
Re: VLC and IPTV streaming in windows 7?!
Posted: 07 May 2009 17:44
by VLC_help
VLC doesn't do any auto setups. AFAIK iface only works on multicast. So you have to use route command if you have multinic setup.
Re: VLC and IPTV streaming in windows 7?!
Posted: 07 May 2009 19:33
by SawyerX
well it does do auto setup or autodetection in vista or else it wouldt work. Whatever it does in Vista, it doesnt in Windows 7. Thats my whole point and the same commands dont work.
Re: VLC and IPTV streaming in windows 7?!
Posted: 08 May 2009 13:07
by SawyerX
and how do I do this routing thing?
Re: VLC and IPTV streaming in windows 7?!
Posted: 08 May 2009 17:23
by VLC_help
The NIC detection order in Windows 7 might be different. That would explain why it works automatically in Vista but not in 7.
Route command defines what NIC is used for what IP range. It should also work if you define IP address to dst (you have to change the command), so for example
Code: Select all
"C:\Users\Sawyer\Desktop\Playlist.m3u" ":sout=#duplicate{dst=std{access=http,mux=ts,dst=192.168.1.2:1280}}" -I http --http-host 192.168.1.2:10080
Re: VLC and IPTV streaming in windows 7?!
Posted: 08 May 2009 19:53
by SawyerX
Yeah I did try that also and it did not work. After I setup VLC by hand with the IP address of the nic that has IPTV pluged in. It started working, playing locally. But Firedemon services still didnt trigger it as a stream. They I was testing some more and opened VLC channel 1 and it started streaming also over the internet. But whatever I did only channel 1 worked and only if it was open in VLC before. Others didnt even when I opened them.
Re: VLC and IPTV streaming in windows 7?!
Posted: 08 May 2009 22:48
by SawyerX
as far as I understand this. The problem is not the destination but the source NIC. It doesnt know from where to take the data which it is asked to send to 192.168.1.2 with the above command.
Even when I set the VLC up manually. Looks like it doesnt read this settings when started from firedaemon for some reason. So mabye I should include some command like read config.cfg if it exist. But how to do it if it exists.
Re: VLC and IPTV streaming in windows 7?!
Posted: 09 May 2009 17:27
by VLC_help
.vlm files are the only dynamic "config" files that VLC can use.
If you can open one channel, but not the rest, you should try to look messages (Tools -> Messages... set Verbosity to 2), it might reveal something?
Re: VLC and IPTV streaming in windows 7?!
Posted: 10 May 2009 22:34
by SawyerX
Will Try tomorrow. I will also try to change the network cards to test your theory about different NIC order prior installing windows 7 again.
Re: VLC and IPTV streaming in windows 7?!
Posted: 11 May 2009 13:15
by SawyerX
I got it now. It has nothing to do with NIC order or anything. Windows7 seems to have seperated firewalls for both NICS and when it asked me to unblock VLC when starting Playlist for the first time. It just did this for the 192.168.1.2 NIC wich is in homegroup. The other NIC where IPTV feeds in is marked as publick network so it blocked it without even offering an unblock. So I turned the firewall of for this NIC and it works just fine now.
Re: VLC and IPTV streaming in windows 7?!
Posted: 11 May 2009 15:28
by SawyerX
Ok some correction. It deffinately is the NIC order and firewall in windows 7 since its not united like in Vista but each NIC has its own.
Secondly I did some experimenting with different NIC order in Vista also. I can in both cases/orders and both OSes get IPTV working with VLC either it starts by default or by replacing the IP address in the advanced settings. But with firedaemon I can not.
So I really need to know which file does save this info for VLC like IP addresses and how to load it with command promt so I can input it to firedaemon command line.
So where to find this .vlm, how to load it in this line
Code: Select all
"C:\Users\Sawyer\Desktop\Playlist.m3u" ":sout=#duplicate{dst=std{access=http,mux=ts,dst=192.168.1.2:1280}}" -I http --http-host 192.168.1.2:10080
Re: VLC and IPTV streaming in windows 7?!
Posted: 11 May 2009 17:22
by VLC_help
VLM files have to be created separately (Tools -> VLM Configuration or for example any text editor). VLC doesn't save the IP addresses of computer to any file.
Re: VLC and IPTV streaming in windows 7?!
Posted: 12 May 2009 11:56
by SawyerX
No I mean it has to save the settings somewhere or it wouldnt remember them after a restart. But nevermind now since I was able to enable everything on Win7 so a switch on network cards doesnt hurt as long as you dont use more OSes on the same computer and I dont plan to since win7 works just fine atm.