Bart Heremans wrote:
Hi,

Hi,

I'm trying to set freevo with a pvr350 card using the IVTV record
plugin.

DEBUG=1 is set in the local_config.
I'm using the freevo and mmpython cvs version on gentoo. python 2.3.3

This is the first error I get when using the ivtv record plugin :

--------------------------------------------------------------------
2004/07/06 18:25 CEST [*RecordServer*] vnorm: PAL
2004/07/06 18:25 CEST [*RecordServer*] Setting Input to 4
2004/07/06 18:25 CEST [*RecordServer*] Setting Channel to E9
2004/07/06 18:25 CEST [*RecordServer*] USING STANDARD FREQUENCY:
chan="E9", freq="203250"
2004/07/06 18:25 CEST [*RecordServer*] Video Opened at /dev/video1
2004/07/06 18:25 CEST [*RecordServer*] Exception in thread Thread-1:
2004/07/06 18:25 CEST [*RecordServer*] Traceback (most recent call
last):
2004/07/06 18:25 CEST [*RecordServer*]   File
"/usr/lib/python2.3/threading.py", line 436, in __bootstrap
2004/07/06 18:25 CEST [*RecordServer*]     self.run()
2004/07/06 18:25 CEST [*RecordServer*]   File
"/usr/lib/python2.3/site-packages/freevo/tv/plugins/ivtv_record.py",
line 197, in run
2004/07/06 18:25 CEST [*RecordServer*]     if DEBUG: v.print_settings()
2004/07/06 18:25 CEST [*RecordServer*]   File
"/usr/lib/python2.3/site-packages/freevo/tv/ivtv.py", line 146, in
print_settings
2004/07/06 18:25 CEST [*RecordServer*]
tv.v4l2.Videodev.print_settings(self)2004/07/06 18:25 CEST
[*RecordServer*]   File
"/usr/lib/python2.3/site-packages/freevo/tv/v4l2.py", line 314, in
print_settings
2004/07/06 18:25 CEST [*RecordServer*]     print 'Driver: %s' %
self.driver
2004/07/06 18:25 CEST [*RecordServer*]   File
"/usr/lib/python2.3/site-packages/twisted/python/log.py", line 307, in
write
2004/07/06 18:25 CEST [*RecordServer*]     d = (self.buf +
data).split('\n')
2004/07/06 18:25 CEST [*RecordServer*] UnicodeDecodeError: 'ascii' codec
can't decode byte 0xc4 in position 13: ordinal not in range(128)
2004/07/06 18:25 CEST [*RecordServer*]
--------------------------------------------------------------------

in v4l2.py there are some print statements and I get a Unidecode error
when setting these ptint statements in comment I can go on.

I am using a PVR-250 and started having the same problem a while ago after updating my driver. Which version of ivtv are you using? I tried messing around with Unicode and String objects but nothing really worked for me. I was beginning to think that the driver is returning bad data or the interface has changed. I ultimately ended up commenting those prints out (Driver, Card, Version).


The second problem is NTSC <=> PAL.
I am a pal user, ivtv driver is installed correctly I can capture
without problems when I do cat /dev/video1 > somefile.mpg The result is
a 720x576 mpeg file with sound.


My pvr350 card is /dev/video1, /dev/video0 is a from the dvb card that
isn't configured in freevo at the moment.

When capturing with freevo I get a 720x480 mpeg file.
This are some lines from my local_config file

----------------------------------------------------------
TV_REC_SIZE = (720, 576)

Hmm, I think TV_REC_SIZE may be ignored by the ivtv code.

IVTV_OPTIONS = {
...
'resolution' : '720x576',
...
}
...

2004/07/06 18:35 CEST [*RecordServer*] Width: 720, Height: 480
--------------------------------------------------------------------------

So the video standard is correct but the resolution is incorrect. AM I
missing something ?

I don't think you're missing anything. Maybe the setCodec interface hace changed slightly, the explicit set to '720x576' fails and it defaults back to NTSC resolution? I should have a chance to take a closer look a bit later.


-Rob




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to