Re: [vdr] IPTV: Problems with Base port number
On Fri, 18 Sep 2009, Rob Davis wrote: I am trying to get BBC Radio streams to work. However, I can't work out how to get the IPTV plugin to chage the base port.. The base port is a global setting that can be changed in plugin's setup: iptv.ExtProtocolBasePort=4321 However, if you create more than one IPTV device, the device's base port is the one defined in setup plus device's enumeration: Device 0: 4321 Device 1: 4322 These should be documented (somehow) in plugin's README. mplayer and ffmpeg are bother created. (as per the example script) with a different fifo each, but VDR is sending the same PORT to all streams, so if I change channel I get the two streams mixed together. If you're having only one IPTV device, the script should be killed (and mplayer/ffmpeg as well) before the new one is executed with new channel specific parameters when zapping. There were some protocol specific bugs in the channel switching, so you should try the latest public 0.3.0 release, if not already done. BR, -- rofa ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] IPTV: Problems with Base port number
Rolf Ahrenberg wrote: On Fri, 18 Sep 2009, Rob Davis wrote: I am trying to get BBC Radio streams to work. However, I can't work out how to get the IPTV plugin to chage the base port.. The base port is a global setting that can be changed in plugin's setup: iptv.ExtProtocolBasePort=4321 However, if you create more than one IPTV device, the device's base port is the one defined in setup plus device's enumeration: Device 0: 4321 Device 1: 4322 These should be documented (somehow) in plugin's README. mplayer and ffmpeg are both created. (as per the example script) with a different fifo each, but VDR is sending the same PORT to all streams, so if I change channel I get the two streams mixed together. If you're having only one IPTV device, the script should be killed (and mplayer/ffmpeg as well) before the new one is executed with new channel specific parameters when zapping. There were some protocol specific bugs in the channel switching, so you should try the latest public 0.3.0 release, if not already done. How do I create more than one IPTV device? I assumed that it was automatic? I am using 0.3.0. When vdr switches off the channel how is the channel / stream closed? When working, these streams will be accessed by streamdev/xbmc and vomp. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] IPTV: Problems with Base port number
On Fri, 18 Sep 2009, Rob Davis wrote: How do I create more than one IPTV device? I assumed that it was automatic? I am using 0.3.0. -d num, --devices=number number of devices to be created -P 'iptv -d 2' When vdr switches off the channel how is the channel / stream closed? A SIGINT is signaled to the external script. If the script isn't terminated in 2 seconds, a SIGKILL is signaled. This is a blocking mechanism, so you shouldn't be able to run two scripts at the same time within a device. I'm suspecting, that your mplayer/ffmpeg processes won't get killed although the external script does. BR, -- rofa ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] IPTV: Problems with Base port number
Rolf Ahrenberg wrote: On Fri, 18 Sep 2009, Rob Davis wrote: How do I create more than one IPTV device? I assumed that it was automatic? I am using 0.3.0. -d num, --devices=number number of devices to be created -P 'iptv -d 2' When vdr switches off the channel how is the channel / stream closed? A SIGINT is signaled to the external script. If the script isn't terminated in 2 seconds, a SIGKILL is signaled. This is a blocking mechanism, so you shouldn't be able to run two scripts at the same time within a device. I'm suspecting, that your mplayer/ffmpeg processes won't get killed although the external script does. Ok, thanks, I think I have it working now.. Does it automatically use other devices as it sees fit, or do I need to code that into channels.conf? ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] IPTV: Problems with Base port number
Rolf Ahrenberg wrote: On Fri, 18 Sep 2009, Rob Davis wrote: Does it automatically use other devices as it sees fit, or do I need to code that into channels.conf? As you have different frequencies for IPTV channels, VDR should always pick up automatically a free IPTV device if available. Hi Rofa, thanks for all the help. It doesn't seem too. I now have the script killing ffmpeg when it closes, but if I try two channels at the same time of different frequencies they come with the same port. I have also applied the pvrinput patch as well as the iptv patch. I don't know if this will mess things up. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] IPTV: Problems with Base port number
On Fri, 18 Sep 2009, Rob Davis wrote: It doesn't seem too. I now have the script killing ffmpeg when it closes, but if I try two channels at the same time of different frequencies they come with the same port. You could compile the plugin with IPTV_DEBUG=1, zap through the channels, document the actions and finally send me the logs, channels.conf, and the used script as a private email and I'll take a look at them. BR, -- rofa ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr