On Wednesday 17 January 2007 09:49, FRANKE, WERNER (Werner) wrote:
> Hallo all,
> 
> under openSUSE 10.2 I can not use the record tool
> record-v4l2.pl for my PRV350. I all cases I call the tool
> I got the message:
> 
>   Error calling setCodecInfo

This ioctl is no longer supported in ivtv-0.8 and up. See the v4l2 
specification (www.linuxtv.org) for the new mpeg controls that replaced 
this ivtv-specific call.

This perl tools are no longer actively supported. If someone is willing 
to update them then I've no problem making updates versions available 
on the website.

Thanks,

        Hans

> 
> Under openSUSE 10.1, which is on a second disk, it works fine.
> 
> In both cases (10.1, 10.2) I use the ivtv driver included in the suse 
> distri and configured during sw install process. 
> The ivtv driver works, because I can show the output of the 
> TV card. Also changing of the input (Composite 1, Composite 2, ..)
> works.
> I installed/used:
> 
> - Video-Frequencies-0.03
> - Video-ivtv-0.13
> - record-v4l2.pl from 0.8.2 (kernel 2.6.18) and 0.9.1 (kernel 2.6.19)
> 
> Does have anybody any hints ?
> 
> Thanks
>   Werner
> 
> The complete output of the tool (for debugging I added
> some print output of the contens of the array @newCodecInfo
> after "$ivtvObj->getCodecInfo()", when arrayelements are
> changed and after "$ivtvObj->setCodecInfo(3, @newCodecInfo)":
> 
> $ record-v4l2.pl --profile TKVCR-SETTINGS --no-record
> profile = 'TKVCR-SETTINGS'
> settings{VideoStandard} = 'PAL-BGH'
> settings{InputName} = 'Composite 3'
> settings{FramesPerGOP} = '12'
> settings{Bitrate} = '5500000'
> settings{VideoDevice} = '/dev/video0'
> settings{Framerate} = '1'
> settings{StreamType} = '0'
> settings{TunerNum} = '0'
> settings{Debug} = '1'
> settings{FrequencyTable} = 'pal-europe-west'
> settings{ResetCardSettings} = '1'
> settings{Channel} = 'E4'
> settings{VideoWidth} = '720'
> settings{VideoType} = 'mpeg'
> settings{VideoHeight} = '576'
> V4l2 Capabilities:  driver='ivtv', version='2048', '0.8.0'
> Standard: 0x0000000f
> Input: 0x00000005
> 0 0x0000000f PAL-BGH 1/25 625
> 1 0x000000e0 PAL-DK 1/25 625
> 2 0x00000010 PAL-I 1/25 625
> 3 0x00000100 PAL-M 1001/30000 525
> 4 0x00000200 PAL-N 1/25 625
> 5 0x00000400 PAL-Nc 1/25 625
> 6 0x000d0000 SECAM-BGH 1/25 625
> 7 0x00320000 SECAM-DK 1/25 625
> 8 0x00400000 SECAM-L 1/25 625
> 9 0x00800000 SECAM-L' 1/25 625
> 10 0x00001000 NTSC-M 1001/30000 525
> 11 0x00002000 NTSC-J 1001/30000 525
> 12 0x00008000 NTSC-K 1001/30000 525
> ivtvObj->getCodecInfo(3) = @newCodecInfos:
>   newCodecInfo[0] = 4
>   newCodecInfo[1] = 137844280
>   newCodecInfo[2] = 1
>   newCodecInfo[3] = -1080925016
>   newCodecInfo[4] = 135078502
>   newCodecInfo[5] = 0
>   newCodecInfo[6] = 0
>   newCodecInfo[7] = 0
>   newCodecInfo[8] = 0
>   newCodecInfo[9] = 0
>   newCodecInfo[10] = 0
>   newCodecInfo[11] = 0
>   newCodecInfo[12] = 137547680
>   newCodecInfo[13] = 136841696
>   newCodecInfo[14] = 135688200
>   Set newCodecInfo[6] = 0
> oldWidth = '720', oldHeight = '576'
> new StreamType = '0' = newCodecInfo[14], old StreamType = '135688200'
> new GOPClosure = '1' = newCodecInfo[12], old GOPClosure = '137547560'
> new BitrateMode = '0' = newCodecInfo[3], old BitrateMode = '-1'
> new PeakBitrate = '8000000' = newCodecInfo[5], old PeakBitrate = '0'
> new Aspect = '2' = newCodecInfo[0], old Aspect = '4'
> new Pulldown = '0' = newCodecInfo[13], old Pulldown = '136841696'
> new AudioBitmask = '233' = newCodecInfo[1], old AudioBitmask =
> '137844280'
> new BFrames = '3' = newCodecInfo[2], old BFrames = '0'
> new FramesPerGOP = '12' = newCodecInfo[11], old FramesPerGOP = '0'
> new Framerate = '1' = newCodecInfo[10], old Framerate = '136874312'
> new Bitrate = '5500000' = newCodecInfo[4], old Bitrate = '-1208322200'
> new DNRTemporal = '0' = newCodecInfo[8], old DNRTemporal 
= '-1209833388'
> setCodecInfo(3, @newCodecInfo)
>   newCodecInfo[0] = 2
>   newCodecInfo[1] = 233
>   newCodecInfo[2] = 3
>   newCodecInfo[3] = 0
>   newCodecInfo[4] = 5500000
>   newCodecInfo[5] = 8000000
>   newCodecInfo[6] = 0
>   newCodecInfo[7] = 0
>   newCodecInfo[8] = 0
>   newCodecInfo[9] = 0
>   newCodecInfo[10] = 1
>   newCodecInfo[11] = 12
>   newCodecInfo[12] = 1
>   newCodecInfo[13] = 0
>   newCodecInfo[14] = 0
> Error calling setCodecInfo()!
> 
> Contens of ~/.ivtvrc:
> 
> [defaults]
> VideoDevice=/dev/video0
> FrequencyTable=pal-europe-west
> Debug=1
> TunerNum=0
> _configVersion_=3
> InputName=Composite 3
> Channel=E4
> Bitrate=4800000
> VideoStandard=PAL-BGH
> CaptureLastGOP=1
> FramesPerGOP=12
> Framerate=1
> 
> [TKVCR-SETTINGS]
> VideoDevice=/dev/video0
> FrequencyTable=pal-europe-west
> Debug=1
> TunerNum=0
> _configVersion_=2
> InputName=Composite 3
> Channel=E4
> Bitrate=5500000
> VideoType=mpeg
> VideoStandard=PAL-BGH
> StreamType=0
> ResetCardSettings=1
> VideoWidth=720
> VideoHeight=576
> FramesPerGOP=12
> Framerate=1
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
> 
> 

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to