Re: [vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-10 Thread Rob Davis
On Wed, 2010-02-10 at 11:18 +0200, Rolf Ahrenberg wrote:
> On Tue, 9 Feb 2010, L. Hanisch wrote:
> 
> > I received your sample and it looks like a valid TS with PAT, PMT and PCR, 
> > so the plugin has nothing else to do as to pass it through to the vdr 
> > (hopefully).
> 
> In the meanwhile, one could also try out the IPTV plugin without any 
> ffmpeg hassle by using a script that tunes the device and then simply:
> 
> cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1

Ok, did some reading of the manual..

cat /dev/video0 | nc -vv -u 127.0.0.1 ${PORT} &

Should work..

Now says:

localhost [127.0.0.1] 4321 (rwhois) open
 sent 573440, rcvd 0

Then gets killed, or nc stops..

Logs say:

Feb 10 09:41:30 oac vdr: [31783] switching to channel 409
Feb 10 09:41:30 oac vdr: [12720] transfer thread ended (pid=31783,
tid=12720)
Feb 10 09:41:30 oac vdr: [31783] buffer stats: 33652 (1%) used
Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 0
Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetChannel(): IPTV|
S1P1|EXT|streamsvideo.sh|951
Feb 10 09:41:30 oac vdr: [31783] IPTV: cPidScanner::SetChannel(): IPTV|
S1P1|EXT|streamsvideo.sh|951
Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 0
Feb 10 09:41:30 oac vdr: [31783] IPTV: cSidScanner::SetStatus(): 1
Feb 10 09:41:30 oac vdr: [12724] transfer thread started (pid=31783,
tid=12724)
Feb 10 09:41:30 oac vdr: [12725] receiver on device 10 thread started
(pid=31783, tid=12725)
Feb 10 09:41:30 oac vdr: [12725] IPTV: cIptvUdpSocket::OpenSocket()
Feb 10 09:41:30 oac vdr: [12725] IPTV: cIptvSocket::OpenSocket()
Feb 10 09:41:30 oac vdr: [12725] IPTV: cSidScanner::SetStatus(): 1
Feb 10 09:41:30 oac vdr: [31783] [xine..put] Detected HD OSD, size >
752x1072, using setup values 752x647
Feb 10 09:41:30 oac vdr: [12727] IPTV streamer thread started
(pid=31783, tid=12727)
Feb 10 09:41:30 oac vdr: [12728] EnigmaNG effects thread started
(pid=31783, tid=12728)
Feb 10 09:41:30 oac vdr: [31783] EnigmaNG:
cPluginSkinEnigma::LoadChannelLogo: LOGO "Hauppuage-test.xpm" NOT FOUND
in /usr/share/vdr/skinenigmang/[hq]logos
Feb 10 09:41:30 oac vdr: [12722] TS buffer on device 1 thread ended
(pid=31783, tid=12722)
Feb 10 09:41:30 oac vdr: [12721] buffer stats: 32336 (1%) used
Feb 10 09:41:30 oac vdr: [12721] receiver on device 1 thread ended
(pid=31783, tid=12721)
Feb 10 09:41:32 oac vdr: [12725] IPTV: cPidScanner::Process: Found lower
Apid: 0x1100 instead of 0x
Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::Process(): Pid=0
Tid=00
Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::SetChannel()
Feb 10 09:41:32 oac vdr: [31810] IPTV: cSidScanner::SetStatus(): 0
Feb 10 09:41:32 oac vdr: [12725] IPTV: cPidScanner::Process: Found lower
Vpid: 0x1011 instead of 0x
Feb 10 09:41:33 oac vdr: [12725] ERROR: Skipped 36 bytes to sync on TS
packet
Feb 10 09:41:33 oac vdr: [12725] IPTV: cSidScanner::SetStatus(): 0
Feb 10 09:41:33 oac vdr: [12727] IPTV streamer thread ended (pid=31783,
tid=12727)
Feb 10 09:41:33 oac vdr: [12725] IPTV: cIptvSocket::CloseSocket()
Feb 10 09:41:33 oac vdr: [12725] receiver on device 10 thread ended
(pid=31783, tid=12725)
Feb 10 09:41:35 oac vdr: [12728] EnigmaNG effects thread ended
(pid=31783, tid=12728)



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-10 Thread Rob Davis
On Wed, 2010-02-10 at 11:18 +0200, Rolf Ahrenberg wrote:
> On Tue, 9 Feb 2010, L. Hanisch wrote:
> 
> > I received your sample and it looks like a valid TS with PAT, PMT and PCR, 
> > so the plugin has nothing else to do as to pass it through to the vdr 
> > (hopefully).
> 
> In the meanwhile, one could also try out the IPTV plugin without any 
> ffmpeg hassle by using a script that tunes the device and then simply:
> 
> cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1

Most of this is extra debug output, but I've never used the nc command.
The port number looks to be the same as ffmpeg would use..  The only
thing that may be different is there is no packet size specified..

Getting new URL
/dev/video0
Change Channel to 951 on Cable Box
starting with node: 1
node 1: vendor_id = 0x24a0 model_id = 0xea05
AV/C Command: 951 = Op1=0x00487C29 Op2=0x00487C25 Op3=0x00487C21
Streamsvideo.sh PID is 32604
Streamdev Plugin 951 /dev/video0
nc -u -p 4321 127.0.0.1
no port[s] to connect to



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-10 Thread Rolf Ahrenberg


On Tue, 9 Feb 2010, L. Hanisch wrote:

I received your sample and it looks like a valid TS with PAT, PMT and PCR, 
so the plugin has nothing else to do as to pass it through to the vdr 
(hopefully).


In the meanwhile, one could also try out the IPTV plugin without any 
ffmpeg hassle by using a script that tunes the device and then simply:


cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1

BR,
--
rofa

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-09 Thread L. Hanisch

Hi Rob,

Am 08.02.2010 21:28, schrieb Rob Davis:

There was a quick sample on the internet, but I can also manually record
something for you if you want it.. Just not sure where to leave it..


 I received your sample and it looks like a valid TS with PAT, PMT and 
PCR, so the plugin has nothing else to do as to pass it through to the 
vdr (hopefully).
 As pvrinput is setting a lot of controls for the cx23415/16 based 
cards, I'm not sure, which is the best way. Either integrate it in 
pvrinput (and leave the controls as is if a hdpvr is accessed) or make a 
new "hdpvrinput"-plugin. In the next days I will study the source as I'm 
new to the pvrinput-plugin but I'm confident I can make it work.


 Please provide the output of

v4l2-ctl --info --list-ctrls-menus --device=/dev/video0

 after a fresh load of the module. That should give me the needed 
parameters/values to distinguish the cards inside the plugin.

 The next weekend is dedicated to you. ;-)

regards,
Lars.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr