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.
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)
TV_RECORD_DIR = '/usr/local/freevo/record'
TV_RECORDFILE_MASK = '%%m-%%d %%Hh%%M %(progname)s'
TV_SETTINGS = 'PAL 4 europe-east /dev/video1'
IVTV_OPTIONS = {
'input' : 4,
'resolution' : '720x576',
'aspect' : 3,
'audio_bitmask' : 233,
'bframes' : 3,
'bitrate_mode' : 1,
'bitrate' : 4000000,
'bitrate_peak' : 8000000,
'dnr_mode' : 0,
'dnr_spatial' : 0,
'dnr_temporal' : 0,
'dnr_type' : 0,
'framerate' : 0,
'framespergop' : 15,
'gop_closure' : 1,
'pulldown' : 0,
'stream_type' : 10
}
VIDEO_GROUPS = [
VideoGroup(vdev="/dev/video1",
adev=None,
input_num=4,
tuner_norm=CONF.tv,
tuner_chanlist=CONF.chanlist,
desc='Cable',
group_type="ivtv",
recordable=True),
]
---------------------------------------------------------
When looking at the kernel messages I see the ivtv size changes when
recording with freevo. I added an extra print statement to see that the
vnorm the recordserver gets is PAL, here is the recordserver log file :
--------------------------------------------------------------------------
2004/07/06 18:35 CEST [*RecordServer*] vnorm: PAL
2004/07/06 18:35 CEST [*RecordServer*] Setting Input to 4
2004/07/06 18:35 CEST [*RecordServer*] Setting Channel to E9
2004/07/06 18:35 CEST [*RecordServer*] USING STANDARD FREQUENCY:
chan="E9", freq="203250"
2004/07/06 18:35 CEST [*RecordServer*] Video Opened at /dev/video1
2004/07/06 18:35 CEST [*RecordServer*] Enumerating supported Standards.
2004/07/06 18:35 CEST [*RecordServer*] 0: 0x3000 NTSC
2004/07/06 18:35 CEST [*RecordServer*] 1: 0xff PAL
2004/07/06 18:35 CEST [*RecordServer*] 2: 0x7f0000 SECAM
2004/07/06 18:35 CEST [*RecordServer*] Current Standard is: 0xff
2004/07/06 18:35 CEST [*RecordServer*] Enumerating supported Inputs.
2004/07/06 18:35 CEST [*RecordServer*] 0: Composite 0
2004/07/06 18:35 CEST [*RecordServer*] 1: Composite 1
2004/07/06 18:35 CEST [*RecordServer*] 2: Composite 2
2004/07/06 18:35 CEST [*RecordServer*] 3: Composite 3
2004/07/06 18:35 CEST [*RecordServer*] 4: Tuner 0
2004/07/06 18:35 CEST [*RecordServer*] 5: Composite 4
2004/07/06 18:35 CEST [*RecordServer*] 6: S-Video 0
2004/07/06 18:35 CEST [*RecordServer*] 7: S-Video 1
2004/07/06 18:35 CEST [*RecordServer*] 8: S-Video 2
2004/07/06 18:35 CEST [*RecordServer*] 9: S-Video 3
2004/07/06 18:35 CEST [*RecordServer*] Input: 4
2004/07/06 18:35 CEST [*RecordServer*] Width: 720, Height: 480
2004/07/06 18:35 CEST [*RecordServer*] Read Frequency: 3252
2004/07/06 18:35 CEST [*RecordServer*] CODEC::aspect: 2
2004/07/06 18:35 CEST [*RecordServer*] CODEC::audio_bitmask: 233
2004/07/06 18:35 CEST [*RecordServer*] CODEC::bfrmes: 3
2004/07/06 18:35 CEST [*RecordServer*] CODEC::bitrate_mode: 1
2004/07/06 18:35 CEST [*RecordServer*] CODEC::bitrate: 4000000
2004/07/06 18:35 CEST [*RecordServer*] CODEC::bitrate_peak: 4000000
2004/07/06 18:35 CEST [*RecordServer*] CODEC::dnr_mode: 0
2004/07/06 18:35 CEST [*RecordServer*] CODEC::dnr_spatial: 0
2004/07/06 18:35 CEST [*RecordServer*] CODEC::dnr_temporal: 0
2004/07/06 18:35 CEST [*RecordServer*] CODEC::dnr_type: 0
2004/07/06 18:35 CEST [*RecordServer*] CODEC::framerate: 1
2004/07/06 18:35 CEST [*RecordServer*] CODEC::framespergop: 12
2004/07/06 18:35 CEST [*RecordServer*] CODEC::gop_closure: 1
2004/07/06 18:35 CEST [*RecordServer*] CODEC::pulldown: 0
2004/07/06 18:35 CEST [*RecordServer*] CODEC::stream_type: 10
--------------------------------------------------------------------------
So the video standard is correct but the resolution is incorrect. AM I
missing something ?
Bart
-------------------------------------------------------
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