Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-10 Thread Duncan Webb
Pirlouwi wrote:
> I just tried with width=720 and height=576, but without success.
> Any other idea for me to debug the situation (quick and dirty) ? :-)

>From a PVR-500 I get this:
# v4l2-ctl --get-fmt-video
Format:
Type  : Video Capture
Width/Height  : 720/576
Pixel Format  : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image: 131072
Colorspace: Broadcast NTSC/PAL (SMPTE170M/ITU601)

# v4l2-ctl --set-fmt-video=width=320,height=240
ioctl: VIDIOC_S_FMT
# v4l2-ctl --get-fmt-video
Format:
Type  : Video Capture
Width/Height  : 320/240
Pixel Format  : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image: 131072
Colorspace: Broadcast NTSC/PAL (SMPTE170M/ITU601)


If tvtime is working then I guess it is not setting the format as it
clearly isn't working.

I would try different formats,
# v4l2-ctl --set-fmt-video=width=640,height=480
works for me as well
and then set freevo's geometry to the best setting.

look at the tv/v4l2.py at the end are some test cases which you can run
with freevo execute /path/to/tv/v4l2.py. May be you can hack this file
enough to get this card working.

Duncan
> 
> 
> 2007/9/10, Duncan Webb < [EMAIL PROTECTED] >:
> 
> > I can get fmt-video, but not set it.
> >
> > [EMAIL PROTECTED] :~# v4l2-ctl --set-fmt-video=width=768,height=576
> > ioctl: VIDIOC_S_FMT
> 
> If you have connected this to a TV you will need to use 720x576 as the
> pixels are not square on a TV (4:3 aspect has 1.06667:1) 720x1.0667
> = 768.
> 
> Try this:
> v4l2-ctl --set-fmt-video=width=720,height=576
> 
> > [EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
> > Format:
> > Type  : Video Capture
> > Width/Height  : 320/240
> > Pixel Format  : BGR3
> > Field : Interlaced
> > Bytes per Line: 960
> > Size Image: 230400
> > Colorspace: Unknown ()
> >
> > Will try some googling about this problem too.
> 
> Then you may need to set your geometry to 320x240.
> 
> > Is there anything else that I could check in a bash shell to help me
> > correct
> > my HVR-1300 problem?
> > PS: I can change the resolution of my HVR display in TVTIME
> application.
> 
> Colorspace seems a bit odd too.
> 
> Duncan
> 
> 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-10 Thread Pirlouwi
I just tried with width=720 and height=576, but without success.
Any other idea for me to debug the situation (quick and dirty) ? :-)


2007/9/10, Duncan Webb <[EMAIL PROTECTED]>:
>
> > I can get fmt-video, but not set it.
> >
> > [EMAIL PROTECTED]:~# v4l2-ctl --set-fmt-video=width=768,height=576
> > ioctl: VIDIOC_S_FMT
>
> If you have connected this to a TV you will need to use 720x576 as the
> pixels are not square on a TV (4:3 aspect has 1.06667:1) 720x1.0667 = 768.
>
> Try this:
> v4l2-ctl --set-fmt-video=width=720,height=576
>
> > [EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
> > Format:
> > Type  : Video Capture
> > Width/Height  : 320/240
> > Pixel Format  : BGR3
> > Field : Interlaced
> > Bytes per Line: 960
> > Size Image: 230400
> > Colorspace: Unknown ()
> >
> > Will try some googling about this problem too.
>
> Then you may need to set your geometry to 320x240.
>
> > Is there anything else that I could check in a bash shell to help me
> > correct
> > my HVR-1300 problem?
> > PS: I can change the resolution of my HVR display in TVTIME application.
>
> Colorspace seems a bit odd too.
>
> Duncan
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-09 Thread Duncan Webb
> I can get fmt-video, but not set it.
>
> [EMAIL PROTECTED]:~# v4l2-ctl --set-fmt-video=width=768,height=576
> ioctl: VIDIOC_S_FMT

If you have connected this to a TV you will need to use 720x576 as the
pixels are not square on a TV (4:3 aspect has 1.06667:1) 720x1.0667 = 768.

Try this:
v4l2-ctl --set-fmt-video=width=720,height=576

> [EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
> Format:
> Type  : Video Capture
> Width/Height  : 320/240
> Pixel Format  : BGR3
> Field : Interlaced
> Bytes per Line: 960
> Size Image: 230400
> Colorspace: Unknown ()
>
> Will try some googling about this problem too.

Then you may need to set your geometry to 320x240.

> Is there anything else that I could check in a bash shell to help me
> correct
> my HVR-1300 problem?
> PS: I can change the resolution of my HVR display in TVTIME application.

Colorspace seems a bit odd too.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-09 Thread Pirlouwi
I can get fmt-video, but not set it.

[EMAIL PROTECTED]:~# v4l2-ctl --set-fmt-video=width=768,height=576
ioctl: VIDIOC_S_FMT
[EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
Format:
Type  : Video Capture
Width/Height  : 320/240
Pixel Format  : BGR3
Field : Interlaced
Bytes per Line: 960
Size Image: 230400
Colorspace: Unknown ()

Will try some googling about this problem too.

Is there anything else that I could check in a bash shell to help me correct
my HVR-1300 problem?
PS: I can change the resolution of my HVR display in TVTIME application.
_Pirlouwi_


2007/9/9, Duncan Webb <[EMAIL PROTECTED]>:
>
> Pirlouwi wrote:
> > I have seen in ivtv-devel mailing list:
> >
> >
> > Re: [ivtv-devel] Hauppauge WinTV-HVR-1300 Milos Prudek Tue Mar
> > 13 12:13:23 2007
> >
> >> > is Hauppauge WinTV-HVR-300 card supported by ivtv? Are there any
> plans
> >> > to support it?
> >>
> >> There is support for this card in the kernel (the cx88 driver). It is
> not
> >
> >> yet completely stable as far as I know, so your mileage may vary.
> >
> >
> > I have tried only one VideoGroup with record_group=None, but the error
> > is still the same.
> > What equivalent shell command could I try to test the setfmt() command
> > that fails outside of python and freevo?
> > In other words, it seems that the cx8800 is effectively an ivtv driver,
> > but how can I detect what is wrong with this ioctl?
>
> r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
> is equivalent to:
> v4l2-ctl --set-fmt-video
> and you should also check
> v4l2-ctl --get-fmt-video
>
> VIDIOC_S_FMT and VIDIOC_G_FMT are basic video4linux commands and should
> work for all cards.
>
> Duncan
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-09 Thread Duncan Webb
Pirlouwi wrote:
> I have seen in ivtv-devel mailing list:
> 
> 
> Re: [ivtv-devel] Hauppauge WinTV-HVR-1300 Milos Prudek Tue Mar
> 13 12:13:23 2007
> 
>> > is Hauppauge WinTV-HVR-300 card supported by ivtv? Are there any plans
>> > to support it?
>>
>> There is support for this card in the kernel (the cx88 driver). It is not
> 
>> yet completely stable as far as I know, so your mileage may vary.
> 
> 
> I have tried only one VideoGroup with record_group=None, but the error
> is still the same.
> What equivalent shell command could I try to test the setfmt() command
> that fails outside of python and freevo?
> In other words, it seems that the cx8800 is effectively an ivtv driver,
> but how can I detect what is wrong with this ioctl?

r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
is equivalent to:
v4l2-ctl --set-fmt-video
and you should also check
v4l2-ctl --get-fmt-video

VIDIOC_S_FMT and VIDIOC_G_FMT are basic video4linux commands and should
work for all cards.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] ivtv problem with HVR-1300

2007-09-07 Thread Pirlouwi
Here is some info from my Linux where the HVR 1300 is plugged:
# uname -a

Linux MEDIACENTER 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux

# lsmod

videodev   28160  3 cx88_blackbird,cx8800,cx88xx
v4l2_common25216  5 cx88_blackbird,cx2341x,tuner,cx8800,videodev
v4l1_compat15236  2 cx8800,videodev
video_buf  26116  7
cx88_blackbird,cx88_dvb,video_buf_dvb,cx88_alsa,cx8802,cx8800,cx88xx


# v4l2-ctl --all
Driver info:
Driver name   : cx8800
Card type : Hauppauge WinTV-HVR1300 DVB-T/H
Bus info  : PCI::00:14.0
Driver version: 6
Capabilities  : 0x05010011
Video Capture
VBI Capture
Tuner
Read/Write
Streaming
Format:
Type  : Video Capture
Width/Height  : 320/240
Pixel Format  : BGR3
Field : Interlaced
Bytes per Line: 960
Size Image: 230400
Colorspace: Unknown ()
Format:
Type: VBI Capture
Sampling Rate   : 28636363 Hz
Offset  : 244 samples (8.52064e-06 secs after leading edge)
Samples per Line: 2048
Sample Format   : GREY
Start 1st Field : 10
Count 1st Field : 17
Start 2nd Field : 273
Count 2nd Field : 17
Video input : 0 (Television)
Frequency: 0 (0.00 MHz)
Video standard = 0x1000
NTSC-M
Tuner:
Capabilities : 62.5 kHz multi-standard
Frequency range  : 0.0 MHz - 268435455.9 MHz
Signal strength  : 0%
Current audio mode   : mono
Available subchannels:

# v4l-info
(see attached file v4l-info.txt)

# ls -l /dev/video*
crw-rw 1 root video 81, 0 2007-09-07 19:51 /dev/video0
crw-rw 1 root video 81, 1 2007-09-07 19:51 /dev/video1

# ls -l /dev/dvb/adapter0/*
crw-rw 1 root video 212, 4 2007-09-07 19:51 /dev/dvb/adapter0/demux0
crw-rw 1 root video 212, 5 2007-09-07 19:51 /dev/dvb/adapter0/dvr0
crw-rw 1 root video 212, 3 2007-09-07 19:51 /dev/dvb/adapter0/frontend0
crw-rw 1 root video 212, 7 2007-09-07 19:51 /dev/dvb/adapter0/net0

By reading these traces, it seems that the running driver is cx8800.
do you thing that this driver is compatible with freevo ?
--Pirlouwi
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-07 Thread Pirlouwi
I have seen in ivtv-devel mailing list:
Re: [ivtv-devel] Hauppauge WinTV-HVR-1300 Milos Prudek Tue Mar 13 12:13:23
2007

> > is Hauppauge WinTV-HVR-300 card supported by ivtv? Are there any plans
> > to support it?
>
> There is support for this card in the kernel (the cx88 driver). It is not
> yet completely stable as far as I know, so your mileage may vary.


I have tried only one VideoGroup with record_group=None, but the error is
still the same.
What equivalent shell command could I try to test the setfmt() command that
fails outside of python and freevo?
In other words, it seems that the cx8800 is effectively an ivtv driver, but
how can I detect what is wrong with this ioctl?

Here is my local config now:
VIDEO_GROUPS = [
 VideoGroup(vdev='/dev/video0',
adev='/dev/adsp',
input_type='Composite1',
input_num='1',
tuner_type='external',
tuner_norm='PAL',
desc='Entree Video Composite',
group_type='ivtv',
record_group=None
  )
]

TV_CHANNELS = [
   ('Composite', 'Composite Input', ''),
]



> Are you sure that the HVR-1300 is supported by the ivtv driver?
>
> First, can you try with just one VideoGroup as only one per tuner/vdev
> is supported and change record_group=None.
>
> IIRC it is possible to record from the tuner and composite inputs but
> I'm not sure how this has been done. Possible with the VCR_PRE and POST
> commands and calling the ivtv control tool (v4l2-ctl)
>
> Duncan
>
> >
> > Here is my local_conf relevant part:
> >
> > VIDEO_GROUPS_ = [
> >   VideoGroup(vdev='/dev/video0',
> >  adev=None,
> >  input_type='tuner',
> >  input_num=0,
> >  tuner_norm='pal',
> >  tuner_chanlist='us-cable',
> >  desc='Cable',
> >  group_type='ivtv',
> >  record_group=0),
> >   VideoGroup(vdev='/dev/video0',
> >  adev='/dev/adsp',
> >  input_type='external',
> >  input_num=1,
> >  tuner_norm='pal',
> >  desc='Composite',
> >  group_type='ivtv',
> >  record_group=0)
> > ]
> > TV_CHANNELS_ = [
> > ('composite', 'Composite', '1', 0, 1),
> > ( "TF11.kazer.org ", "TF1", "" ),
> > ]
> >
> >
> >
> > Here is the error log:
> >
> > > Video Opened at /dev/video0
> > > {}
> > > Traceback (most recent call last):
> > >   File "/usr/lib/python2.5/site-packages/freevo/main.py", line
> 288,
> > in eventhandler
> > > app.eventhandler (event)
> > >   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line
> 495,
> > in eventhandler
> > > if not isinstance(menu, Menu) and menu.eventhandler(event):
> > >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvguide.py",
> > line 244, in eventhandler
> > > self.player ('tv', self.selected.channel_id)
> > >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvmenu.py",
> line
> > 85, in start_tv
> > > plugin.getbyname(plugin.TV).Play(mode, tuner_id)
> > >   File
> >
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 180, in Play
> > > self.tuner.SetChannel(channel, True)
> > >   File
> >
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 419, in SetChannel
> > > self.TuneChannelByIndex(channel_index + 1)
> > >   File
> >
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 430, in TuneChannelByIndex
> > > self.SetVideoGroup(next_channel)
> > >   File
> >
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 474, in SetVideoGroup
> > > ivtv_dev.init_settings()
> > >   File "/usr/lib/python2.5/site-packages/freevo/tv/ivtv.py", line
> > 358, in init_settings
> > > self.setfmt (int(width), int(height))
> > >   File "/usr/lib/python2.5/site-packages/freevo/tv/v4l2.py", line
> > 361, in setfmt
> > > r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
> > > IOError: [Errno 22] Argument invalide
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG32j2Ni6l+Xvys44RAlBZAKCZboCu/1VJhq1AacHEiZkR67TYyQCcCkA8
> V5LDZZflzsHabWTQsxEMJ+s=
> =ZwWj
> -END PGP SIGNATURE-
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-05 Thread Phil Raymond
Speaking from the top of my head without the facts in
front of me, I don't believe this card has ivtv
support...yet. The Hauppauge website has words to the
effect that they hope ivtv will develop support for it
at a later date. I'm also assuming, this is the PCI
card variety. The HVR usb dongle does have v4l
experimental drivers that have had mixed results, but
that's about all I've read on this subject.Sorry for
the buzz kill.

--- Duncan Webb <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Pirlouwi wrote:
> > Hello,
> > I just bough this Hauppauge HVR-1300.
> > I was a little nervous, and wanted to integrate it
> into my freevobox
> > (1.7.3), but got problems.
> > Could you help me? I want to be able to record
> from both tuner and
> > composite inputs.
> 
> Are you sure that the HVR-1300 is supported by the
> ivtv driver?
> 
> First, can you try with just one VideoGroup as only
> one per tuner/vdev
> is supported and change record_group=None.
> 
> IIRC it is possible to record from the tuner and
> composite inputs but
> I'm not sure how this has been done. Possible with
> the VCR_PRE and POST
> commands and calling the ivtv control tool
> (v4l2-ctl)
> 
> Duncan
> 
> > 
> > Here is my local_conf relevant part:
> > 
> > VIDEO_GROUPS_ = [
> >   VideoGroup(vdev='/dev/video0',
> >  adev=None,
> >  input_type='tuner',
> >  input_num=0,
> >  tuner_norm='pal',
> >  tuner_chanlist='us-cable',
> >  desc='Cable',
> >  group_type='ivtv',
> >  record_group=0),
> >   VideoGroup(vdev='/dev/video0',
> >  adev='/dev/adsp',
> >  input_type='external',
> >  input_num=1,
> >  tuner_norm='pal',
> >  desc='Composite',
> >  group_type='ivtv',
> >  record_group=0)
> > ]
> > TV_CHANNELS_ = [
> > ('composite', 'Composite', '1', 0, 1),
> > ( "TF11.kazer.org
> ", "TF1", "" ),
> > ]
> > 
> > 
> > 
> > Here is the error log:
> > 
> > > Video Opened at /dev/video0
> > > {}
> > > Traceback (most recent call last):
> > >   File
> "/usr/lib/python2.5/site-packages/freevo/main.py",
> line 288,
> > in eventhandler
> > > app.eventhandler (event)
> > >   File
> "/usr/lib/python2.5/site-packages/freevo/menu.py",
> line 495,
> > in eventhandler
> > > if not isinstance(menu, Menu) and
> menu.eventhandler(event):
> > >   File
>
"/usr/lib/python2.5/site-packages/freevo/tv/tvguide.py",
> > line 244, in eventhandler
> > > self.player ('tv',
> self.selected.channel_id)
> > >   File
>
"/usr/lib/python2.5/site-packages/freevo/tv/tvmenu.py",
> line
> > 85, in start_tv
> > > plugin.getbyname(plugin.TV).Play(mode,
> tuner_id)
> > >   File
> >
>
"/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 180, in Play
> > > self.tuner.SetChannel(channel, True)
> > >   File
> >
>
"/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 419, in SetChannel
> > > self.TuneChannelByIndex(channel_index +
> 1)
> > >   File
> >
>
"/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 430, in TuneChannelByIndex
> > > self.SetVideoGroup(next_channel)
> > >   File
> >
>
"/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> > line 474, in SetVideoGroup
> > > ivtv_dev.init_settings()
> > >   File
>
"/usr/lib/python2.5/site-packages/freevo/tv/ivtv.py",
> line
> > 358, in init_settings
> > > self.setfmt (int(width), int(height))
> > >   File
>
"/usr/lib/python2.5/site-packages/freevo/tv/v4l2.py",
> line
> > 361, in setfmt
> > > r = fcntl.ioctl(self.device,
> i32(SET_FMT_NO), val)
> > > IOError: [Errno 22] Argument invalide
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
> 
>
iD8DBQFG32j2Ni6l+Xvys44RAlBZAKCZboCu/1VJhq1AacHEiZkR67TYyQCcCkA8
> V5LDZZflzsHabWTQsxEMJ+s=
> =ZwWj
> -END PGP SIGNATURE-
> 
>
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? 
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/freevo-users
> 



   

Take the Interne

Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-05 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pirlouwi wrote:
> Hello,
> I just bough this Hauppauge HVR-1300.
> I was a little nervous, and wanted to integrate it into my freevobox
> (1.7.3), but got problems.
> Could you help me? I want to be able to record from both tuner and
> composite inputs.

Are you sure that the HVR-1300 is supported by the ivtv driver?

First, can you try with just one VideoGroup as only one per tuner/vdev
is supported and change record_group=None.

IIRC it is possible to record from the tuner and composite inputs but
I'm not sure how this has been done. Possible with the VCR_PRE and POST
commands and calling the ivtv control tool (v4l2-ctl)

Duncan

> 
> Here is my local_conf relevant part:
> 
> VIDEO_GROUPS_ = [
>   VideoGroup(vdev='/dev/video0',
>  adev=None,
>  input_type='tuner',
>  input_num=0,
>  tuner_norm='pal',
>  tuner_chanlist='us-cable',
>  desc='Cable',
>  group_type='ivtv',
>  record_group=0),
>   VideoGroup(vdev='/dev/video0',
>  adev='/dev/adsp',
>  input_type='external',
>  input_num=1,
>  tuner_norm='pal',
>  desc='Composite',
>  group_type='ivtv',
>  record_group=0)
> ]
> TV_CHANNELS_ = [
> ('composite', 'Composite', '1', 0, 1),
> ( "TF11.kazer.org ", "TF1", "" ),
> ]
> 
> 
> 
> Here is the error log:
> 
> > Video Opened at /dev/video0
> > {}
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288,
> in eventhandler
> > app.eventhandler (event)
> >   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 495,
> in eventhandler
> > if not isinstance(menu, Menu) and menu.eventhandler(event):
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvguide.py",
> line 244, in eventhandler
> > self.player ('tv', self.selected.channel_id)
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvmenu.py", line
> 85, in start_tv
> > plugin.getbyname(plugin.TV).Play(mode, tuner_id)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 180, in Play
> > self.tuner.SetChannel(channel, True)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 419, in SetChannel
> > self.TuneChannelByIndex(channel_index + 1)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 430, in TuneChannelByIndex
> > self.SetVideoGroup(next_channel)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 474, in SetVideoGroup
> > ivtv_dev.init_settings()
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/ivtv.py", line
> 358, in init_settings
> > self.setfmt (int(width), int(height))
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/v4l2.py", line
> 361, in setfmt
> > r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
> > IOError: [Errno 22] Argument invalide
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG32j2Ni6l+Xvys44RAlBZAKCZboCu/1VJhq1AacHEiZkR67TYyQCcCkA8
V5LDZZflzsHabWTQsxEMJ+s=
=ZwWj
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] ivtv problem with HVR-1300

2007-09-04 Thread Pirlouwi
Hello,
I just bough this Hauppauge HVR-1300.
I was a little nervous, and wanted to integrate it into my freevobox (1.7.3),
but got problems.
Could you help me? I want to be able to record from both tuner and composite
inputs.

Here is my local_conf relevant part:

VIDEO_GROUPS_ = [
  VideoGroup(vdev='/dev/video0',
 adev=None,
 input_type='tuner',
 input_num=0,
 tuner_norm='pal',
 tuner_chanlist='us-cable',
 desc='Cable',
 group_type='ivtv',
 record_group=0),
  VideoGroup(vdev='/dev/video0',
 adev='/dev/adsp',
 input_type='external',
 input_num=1,
 tuner_norm='pal',
 desc='Composite',
 group_type='ivtv',
 record_group=0)
]
TV_CHANNELS_ = [
('composite', 'Composite', '1', 0, 1),
( "TF11.kazer.org", "TF1", "" ),
]



Here is the error log:

> Video Opened at /dev/video0
> > {}
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in
> eventhandler
> > app.eventhandler(event)
> >   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 495, in
> eventhandler
> > if not isinstance(menu, Menu) and menu.eventhandler(event):
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvguide.py", line
> 244, in eventhandler
> > self.player('tv', self.selected.channel_id)
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvmenu.py", line 85,
> in start_tv
> > plugin.getbyname(plugin.TV).Play(mode, tuner_id)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py", line
> 180, in Play
> > self.tuner.SetChannel(channel, True)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py", line
> 419, in SetChannel
> > self.TuneChannelByIndex(channel_index + 1)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py", line
> 430, in TuneChannelByIndex
> > self.SetVideoGroup(next_channel)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py", line
> 474, in SetVideoGroup
> > ivtv_dev.init_settings()
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/ivtv.py", line 358,
> in init_settings
> > self.setfmt(int(width), int(height))
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/v4l2.py", line 361,
> in setfmt
> > r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
> > IOError: [Errno 22] Argument invalide
> >
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users