Re: [vdr] pvrinput multiple cards, recording and epg

2006-11-16 Thread Simon Baxter

ok, so I'm an idiot.
I've set up VDR with the pvrinput plugin, and think I've worked out the 
answer to my question below regarding how to support multiple devices.  Is 
this achieved by having channels.conf entries with duplicate transport 
stream IDs?


Channels.conf:
KOMO:67250:I999C0:C:0:301:300:0:A1:12003:1:1089:0
KOMO:67250:I999C12:C:0:301:300:0:A1:12003:1:1089:0
KING:77250:I999C0:C:0:301:300:0:A1:12003:1:1090:0
KING:77250:I999C12:C:0:301:300:0:A1:12003:1:1090:0

correct?


This is exactly how it's supposed to work.  The same stream ID is given, so 
the channel is only listed once, but is available from 2 different devices. 



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


Re: [vdr] pvrinput multiple cards, recording and epg

2006-11-15 Thread Simon Baxter

Simon Baxter wrote:
I'm trying to get my PAL PVR-500 working in a non-PAL country.  May sound 
weird, but I'm preparing to move back to New Zealand.


Correct me if I'm wrong, but isn't NZ a PAL country? At least from what I 
know the Australian area is mostly using PAL.


Cheers,

Udo


Yeah it is, which is why I've just bought a PAL PVR-500 - I'm living in the 
USA now, but am moving home to NZ in a month. 



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


Re: [vdr] pvrinput multiple cards, recording and epg

2006-11-15 Thread Udo Richter

Simon Baxter wrote:
I'm trying to get my PAL PVR-500 working in a non-PAL country.  May 
sound weird, but I'm preparing to move back to New Zealand.


Correct me if I'm wrong, but isn't NZ a PAL country? At least from what 
I know the Australian area is mostly using PAL.


Cheers,

Udo

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


Re: [vdr] pvrinput multiple cards, recording and epg

2006-11-15 Thread Simon Baxter

pvrinput: 11:39:05 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 Detected input 0: Tuner 1
pvrinput: 11:39:06 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 found 2 PVR devices


It appears this is a problem with pvrinput plugin using the old 
IVTV_IOC_G_CODEC  which is no longer supported in ivtv >0.8.0


Has anyone done any work on migrating this to the new v4l2 API to set mpeg 
codec settings (as per the v4l2 spec)??



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


Re: [vdr] pvrinput multiple cards, recording and epg

2006-11-15 Thread Simon Baxter

An update...

I'm trying to get my PAL PVR-500 working in a non-PAL country.  May sound 
weird, but I'm preparing to move back to New Zealand.


Although I won't be able to watch anything now, I should be able to do some 
basic tests shouldn't I?


I've set up VDR with the pvrinput plugin, and think I've worked out the 
answer to my question below regarding how to support multiple devices.  Is 
this achieved by having channels.conf entries with duplicate transport 
stream IDs?


Channels.conf:
KOMO:67250:I999C0:C:0:301:300:0:A1:12003:1:1089:0
KOMO:67250:I999C12:C:0:301:300:0:A1:12003:1:1089:0
KING:77250:I999C0:C:0:301:300:0:A1:12003:1:1090:0
KING:77250:I999C12:C:0:301:300:0:A1:12003:1:1090:0

correct?


Also.  I'm able to watch the static (hmm, exciting!)  but am unable to 
record.  I get the following:


Record:
pvrinput: 11:39:58 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 50 BFF119BB
pvrinput: 11:39:58 cPvrDevice::ProvidesSource C
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 50 BFF119BB
pvrinput: 11:39:58 cPvrDevice::ProvidesSource C
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetPid 301 5 0
pvrinput: 11:39:58 cPvrDevice::SetPid 300 6 0
pvrinput: 11:39:58 cPvrDevice::CloseDvr
Wed Nov 15 11:39:58 PST 2006
restarting VDR


This is what the logging says when VDR starts:
Startup:
pvrinput: 11:39:05 Detected input 0: Tuner 1
pvrinput: 11:39:05 Error setting vbi embedded mode, 22:Invalid argument
pvrinput: 11:39:05 Error setting vbi mode, 22:Invalid argument
pvrinput: 11:39:05 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 Detected input 0: Tuner 1
pvrinput: 11:39:06 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 found 2 PVR devices
pvrinput: 11:39:06 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 0 BFF1080B
pvrinput: 11:39:06 cPvrDevice::ProvidesSource C
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 0 BFF1080B
pvrinput: 11:39:06 cPvrDevice::ProvidesSource C
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:06 Error setting vbi embedded mode, 22:Invalid argument
pvrinput: 11:39:06 Error setting vbi mode, 22:Invalid argument
pvrinput: 11:39:06 cPvrDevice::SetPid 301 5 1
pvrinput: 11:39:06 cPvrDevice::SetPid 300 6 1
pvrinput: 11:39:06 cPvrDevice::OpenDvr


Why am I getting IVTV_IOC_G_CODEC failed ??


Simon


I've just received my new PVR-500 card and have it happily installed and 
working with ivtv 0.9 (svn)


I figure since the FM radio is only available on the 1st encoder, I'll 
have to dedicate VDR recording tasks to the 2nd encoder and leave the 
first for general purpose TV watching and radio listening.  Unless I can 
cut off the FM radio if the recorder needs that adapter?


Will I need to maintain duplicate channel entries in channels.conf for 
each device - so I can select one or the other for recording or watching? 
I guess the best way to do this is prefix the ones I want to record on, 
and avoid using them when general channel surfing.


I'm also not sure how to handle epg.  At the moment I use xmltv and 
xmltv2vdr.pl to import epg.  I'm guessing I'll also need to have duplicate 
epg for each tuner?  Is there a way I can use VDR with a single epg, but 
just select an adapter based on availability?


This machine will sit in my basement with the PVR-500, DVB-T card and a 
DVB-S card


Can anyone offer any advice?

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



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