On 06/09/2011 05:23 PM, Rob Davis wrote:
On 09/06/11 01:53, Rainer Blickle wrote:
<<>>cDevice *device = 0;
With this there is some improvement, however, its calling the old
channel again, so if I change from channel 4 to channel 6 then
external channel is called, but changes it to channel 4. I wonder is
streamdev-client needs something similar to differentiate channels.
Here is a logfile.. Started remote vdr on channel 4, switched to
channel 5.
Somehow the channel settings are being lost when the channel is called..
sudo tail -f /var/log/vdr.log
Jun 9 21:12:15 oac vdr: [1696] cPvrReadThread::Action() stopped on
/dev/video1
Jun 9 21:12:15 oac vdr: [1696] PvrReadThread of /dev/video1 thread
ended (pid=1310, tid=1696)
Jun 9 21:12:15 oac vdr: [1695] cPvrDevice::SetEncoderState (Stop) for
/dev/video1 (PVR500#1)
Jun 9 21:12:15 oac vdr: [1675] streamdev-writer thread ended (pid=1310,
tid=1675)
Jun 9 21:12:15 oac vdr: [1386] buffer stats: 379008 (10%) used
Jun 9 21:12:15 oac vdr: [1386] buffer stats: 0 (0%) used
Jun 9 21:12:15 oac vdr: [1695] SetVBImode(525, 0) on /dev/video1 (PVR500#1)
Jun 9 21:12:15 oac vdr: [1695] receiver on device 10 thread ended
(pid=1310, tid=1695)
Jun 9 21:12:16 oac vdr: [1386] streamdev: closing streamdev connection
to 192.168.2.13:34100
Jun 9 21:12:16 oac vdr: [1386] buffer stats: 0 (0%) used
Jun 9 21:12:38 oac vdr: [1376] [discovery] BROADCAST: VDR xineliboutput
DISCOVERY 1.0
Jun 9 21:12:39 oac vdr: [1386] Streamdev: Accepted new client (VTP)
192.168.2.13:38657
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input -1,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: input -1
unknown on /dev/video0 (HDPVR)
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video1
(PVR500#1): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> true
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video1: Receiving()=false, needsDetachReceivers=true, Priority=0,
hasPriority=true
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video2
(PVR500#2): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> true
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video2: Receiving()=true, needsDetachReceivers=true, Priority=0,
hasPriority=true
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video3
(HVR1600): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> false
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video3: Receiving()=true, needsDetachReceivers=true, Priority=0,
hasPriority=false
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesChannel(0)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesTransponder(0)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesSource(0)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesChannel(1)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesTransponder(1)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesSource(1)
Jun 9 21:12:39 oac vdr: [1310] connect from 192.168.2.13, port 33742 -
accepted
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input -1,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: input -1
unknown on /dev/video0 (HDPVR)
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video1
(PVR500#1): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> true
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video1: Receiving()=false, needsDetachReceivers=true, Priority=0,
hasPriority=true
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video2
(PVR500#2): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> true
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video2: Receiving()=true, needsDetachReceivers=true, Priority=0,
hasPriority=true
Jun 9 21:12:39 oac vdr: [1386] ParseChannel TV input 0,
norm=0xb000, card 999
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel: /dev/video3
(HVR1600): Channel 4 (4-WTVO ABC_Affiliate ntsc) 67.25MHz, -> false
Jun 9 21:12:39 oac vdr: [1386] cPvrDevice::ProvidesChannel:
/dev/video3: Receiving()=true, needsDetachReceivers=true, Priority=0,
hasPriority=false
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesChannel(0)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesTransponder(0)
Jun 9 21:12:39 oac vdr: [1386] IPTV: cIptvDevice::ProvidesSource(0)
Jun 9 21:12:39 oac vdr: [