<DIV>Well, I guess I should have tried some more width and height options. From some advice at the shspvr.com forum, I tried width=640, height=480, and it works...perfect video!</DIV>
<DIV> </DIV>
<DIV>Now, my question becomes: am I going to lose something when I start using TV-out (video quality?) by not having the full NTSC width and height? Is it worth trying to figure out how to get 720x480?</DIV>
<DIV> <BR><BR><B><I>Shaul Kedem <shaul.kedem@gmail.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">What version of the driver are you using?<BR><BR>I had a similiar problem with the gentoo ivtv package (0.1.9 or<BR>something) and it is solved now in 0.1.10<BR><BR>Try the ivtv forums, someone posted a link to a patch which works (10o)<BR><BR><BR>----- Original Message -----<BR>From: Dan Werner <DAN_MYTHTV@YAHOO.COM><BR>Date: Sun, 8 Aug 2004 21:32:30 -0700 (PDT)<BR>Subject: [mythtv-users] PVR-350 capture test problem (strange horizontal<BR>lines)<BR>To: mythtv-users@mythtv.org<BR><BR><BR>Hi, I've been following Jarod's guide (which is awesome; thanks,<BR>Jarod!) while trying to set up MythTV. I've got a PVR-350 card, am<BR>using ivtv, and have FC1 (more details at the end). Everything's<BR>worked fine up until the point of testing the card's capture<BR>capabilities. I used these commands from the guide:<BR><BR># /usr/bin/test_ioctl -u 0x3000<BR># /usr/bin/test_ioctl -p 4<BR>#
/usr/bin/test_ioctl -f width=720,height=480<BR># /usr/bin/test_ioctl -v input=3,output=1<BR><BR># cat /dev/video0 > /tmp/test_capture.mpg<BR>(ctrl-c to stop capture)<BR><BR># mplayer /tmp/test_capture.mpg<BR><BR>The result is perfect audio but some horizontal (and slightly<BR>diagonal) lines covering the picture of the mpeg. The picture's sort<BR>of there; you can see things moving between the lines...it's like the<BR>image is kind of squished between the lines. I've tried different<BR>"-p" options (0-9) but the result is similar, except some are blank<BR>(I've got 2 different inputs plugged into the card at the moment, but<BR>this was happening when only 1 was plugged in).<BR><BR>The only similar problem I found in the mailing list archive was this:<BR>http://www.gossamer-threads.com/lists/mythtv/users/76958<BR><BR>I tried the advice to set the width to 480 but it didn't help. I also<BR>tried using ptune-ui.pl to change channels and tried changing cable<BR>types from ntsc-cable
to ntsc-cable-hrc but it didn't have any effect.<BR><BR>Other than that, I tried dl'ing the ivtv 0.1.9 source and recompiling<BR>after extracting firmware from the cd-rom that came with the card, as<BR>well as with pvr48wdm_1.7.21188.exe which was dl'ed from the ftp site<BR>mentioned in Jarod's guide. Does it sound like trying different<BR>firmwares from the ftp site might help me?<BR><BR>I should mention that this is my 2nd attempt to get mythtv working. <BR>The first time, I eventually got all the way to "the end" with most<BR>things working. There were some system lock-ups and audio trouble, so<BR>I decided to try again with a fresh linux install (like 6 months<BR>later). I bring this up because my test capture worked perfectly on<BR>the first try last time, so it shouldn't be a hardware problem. The<BR>only thing I've really done differently this time is to use the custom<BR>kernel, which I didn't use previously (also I was using RH9 and didn't<BR>mess with ALSA).<BR><BR>Anybody
have any ideas? I figure it's either 1) the firmware, 2) the<BR>kernel module, 3) I did something incredibly stupid.<BR><BR>I really hope it's not 3.<BR><BR>Some configuration for ivtv/modules follows. Sorry for the long message. <BR><BR>Thanks for any help,<BR>Dan<BR><BR><BR># dmesg | grep ivtv<BR>ivtv: version 0.1.9 (release) loading<BR>ivtv: SGarray_size = 320, DSGarray_size = 16<BR>ivtv: Found an iTVC15 based chip<BR>saa7127: Configuring encoder...<6>saa7114.c: starting probe for<BR>adapter ivtv i2c driver #0 (0x10005)<BR>ivtv: Encoder revision: 0x02040011<BR>ivtv: Decoder revision: 0x02020023<BR>ivtv: Registered v4l2 device, minor 0<BR>ivtv: Registered v4l2 device, minor 32<BR>ivtv: Registered v4l2 device, minor 224<BR>ivtv: Registered v4l2 device, minor 16<BR>ivtv: loaded<BR>ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)<BR>ivtv-fb: screen coords: [0 0] -> [720 480]<BR>ivtv-fb: original global alpha = 208<BR>ivtv-fb: new global alpha = 208<BR>ivtv-fb:
current OSD state = 35<BR>ivtv-fb: warning: cannot reserve video memory at 0xed510000<BR>ivtv-fb: framebuffer at 0xed510000, mapped to 0xd3f74000, size 2818k<BR>ivtv-fb: mode is 720x480x32, linelength=2880<BR><BR># lspci -v<BR>02:0b.0 Multimedia video controller: Internext Compression Inc iTVC15<BR>MPEG-2 Encoder (rev 01)<BR>Subsystem: Hauppauge computer works Inc. WinTV PVR-350<BR>Flags: bus master, medium devsel, latency 32, IRQ 9<BR>Memory at ec000000 (32-bit, prefetchable) [size=64M]<BR>Capabilities: [44] Power Management version 2<BR><BR><BR># /usr/bin/test_ioctl -a<BR>ioctl: IVTV_IOC_G_CODEC<BR>Codec parameters<BR>aspect : 2<BR>audio : 0x00e9<BR>bframes : 3<BR>bitrate_mode: 0<BR>bitrate : 8000000<BR>bitrate_peak: 16000000<BR>dnr_mode : 0<BR>dnr_spatial : 0<BR>dnr_temporal: 0<BR>dnr_type : 0<BR>framerate : 0<BR>framespergop: 15<BR>gop_closure : 0<BR>pulldown : 0<BR>stream_type : 0<BR>ioctl: VIDIOC_G_FMT<BR>Type : Video Capture<BR>Width : 720<BR>Height : 480<BR>ioctl:
VIDIOC_QUERYCAP<BR>Driver name : ivtv<BR>Card type : Vanilla iTVC15 card<BR>&nbs! p; Bus info : 0<BR>Driver version: 265<BR>Capabilities : 0x01030003<BR>ioctl: VIDIOC_ENUMINPUT<BR>Name : Composite 0<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : Composite 1<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : Composite 2<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : Composite 3<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : Tuner 0<BR>Type : 0x00000001<BR>Audioset: 0x00000000<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : Composite 4<BR>&n! bsp; Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name :
S-Video 0<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : S-Video 1<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : S-Video 2<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>Name : S-Video 3<BR>Type : 0x00000002<BR>Audioset: 0x00000001<BR>Tuner : 0x00000000<BR>Standard: 0x 3000 ( NTSC )<BR>Status : 0<BR>ioctl: VIDIOC_G_INPUT<BR>Input = 4<BR>ioctl: VIDIOC_G_FREQUENCY<BR>Frequency = 0<BR>ioctl: VIDIOC_ENUMSTD<BR>ID : 0x 3000<BR>Name : NTSC<BR>Frame period: 1001/30000<BR>Frame lines : 525<BR>ID : 0x FF<BR>Name : PAL<BR>Frame period: 1/25<BR>Frame lines : 625<BR>ID : 0x 7F0000<BR>Name : SECAM<BR>Frame period: 1/25<BR>Frame lines : 625<BR>ioctl: VIDIOC_G_STD<BR>Standard = 0x00003000<BR>ioctl: VIDIOC_QUERYCTRL<BR>Brightness = 128<BR>Contrast = 64<BR>Saturation = 64<BR>Hue =
0<BR>Volume = 59343<BR>Mute = 0<BR><BR><BR><BR># cat /etc/modules.conf<BR><BR>path[toplevel]=/lib/modules/`uname -r`/updates<BR># default path<BR>path[toplevel]=/lib/modules/`uname -r`<BR>alias eth0 8139too<BR>alias usb-controller usb-uhci<BR>alias usb-controller1 ehci-hcd<BR># nvidia kernel module<BR>alias char-major-195 nvidia-1_0-6106<BR># --- BEGIN: Generated by ALSACONF, do not edit. ---<BR># --- ALSACONF verion 1.0.5 ---<BR>alias char-major-116 snd<BR>alias char-major-14 soundcore<BR>alias sound-service-0-0 snd-mixer-oss<BR>alias sound-service-0-1 snd-seq-oss<BR>alias sound-service-0-3 snd-pcm-oss<BR>alias sound-service-0-8 snd-seq-oss<BR>alias sound-service-0-12 snd-pcm-oss<BR>alias snd-card-0 snd-cmipci<BR>alias sound-slot-0 snd-cmipci<BR># --- END: Generated by ALSACONF, do not edit. ---<BR># ivtv stuff<BR>alias char-major-81 videodev<BR>alias char-major-81-0 ivtv<BR>options ivtv ivtv_debug=1 mpg_buffers=90<BR>options ivtv dec_yuv_buffers=20 # <-- Not needed anymore for
my 350 w/ivtv 0.1.9<BR>options saa7127 enable_! output=1 output_select=0 # composite output<BR>options tuner type=2 # NTSC tuner<BR>options msp3400 once=1 simple=1<BR>add below ivtv msp3400 saa7115 saa7127 tuner<BR>add above ivtv ivtv-fb<BR><BR><BR># dmesg (after "modprobe tveeprom")<BR><BR>tveeprom.c: starting probe for adapter ivtv i2c driver #0 (0x10005)<BR>tveeprom.c: detecting tveeprom client on address 0xa0<BR>9 [04] 20 77 00 40 a9 e7 63 00<BR>3 [05] 9b 00<BR>8 [06] 04 bc 00 00 d3 34 a9<BR>2 [07] 70<BR>Not sure what to do with tag [07]<BR>3 [09] 13 5f<BR>Not sure what to do with tag [09]<BR>3 [0a] 08 21<BR>3 [0b] 59 8c<BR>Not sure what to do with tag [0b]<BR>2 [0e] 01<BR>2 [0f] 01<BR>Not sure what to do with tag [0f]<BR>2 [10] 01<BR>Not sure what to do with tag [10]<BR>2 [11] 00<BR>Not sure what to do with tag [11]<BR>tvee: Hauppauge: model=48132, rev=J333, serial#=6547369<BR>tvee: tuner=Temic 4039FR5 (idx=33, type=21)<BR>tvee: tuner fmt=NTSC(M) (eeprom=0x08,
v4l2=0x00001000)<BR>tvee: audio_processor=MSP3440 (type=11)<BR><BR><BR>________________________________<BR>Do you Yahoo!?<BR>Yahoo! Mail is new and improved - Check it out!<BR>_______________________________________________<BR>mythtv-users mailing list<BR>mythtv-users@mythtv.org<BR>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/aac/*http://promotions.yahoo.com/new_mail/static/ease.html">Yahoo! Mail Address AutoComplete</a> - You start. We finish.