LinHES Forums http://forums.linhes.org/ |
|
PVR-500 PAL problem / black and white http://forums.linhes.org/viewtopic.php?f=2&t=14669 |
Page 1 of 1 |
Author: | alpha_geek [ Sat Mar 24, 2007 6:40 am ] |
Post subject: | PVR-500 PAL problem / black and white |
Hi all, I first used Knoppmyth over a year ago, with analog tv cards, and was very happy with it. I have just started using mythtv again after buying a prv 500 just for this job. I am in the UK and have 2 STBs one SKY and one Virgin/NTL, I use one mceusb2 with 2 blasters to control them, and they are connected to the PVR-500 using a scart adapter to svideo, and red and white audio leads. My problem is that when I start live tv, everything is in black and white. I immediately thought PAL, so I set my STBs to output pal, then went through the PAL options in mythtv-setup one by one, restarting mythtv-backend each time before testing. Every option gave me black and white, so I changed the output of the STBs to RGB, and tried each of the PAL and SECAM seatings again, still no luck. After some searching here and on ivtv wikis and forums, I have changed my /etc/init.d/set_ivtv_params file as per the hints and hazards thread. I have also turned off VBI. when I run v4l2-ctl while watching live tv it seems that the card is already using pal Code: root@mythserv01:~# v4l2-ctl --all Driver info: Driver name : ivtv Card type : WinTV PVR 500 (unit #1) Bus info : 0000:03:08.0 Driver version: 2050 Capabilities : 0x01070051 Video Capture VBI Capture Sliced VBI Capture Tuner Audio Radio Read/Write 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) Format: Type : Sliced VBI Capture Service Set : Service Line 0: / Service Line 1: / Service Line 2: / Service Line 3: / Service Line 4: / Service Line 5: / Service Line 6: / Service Line 7: / Service Line 8: / Service Line 9: / Service Line 10: / Service Line 11: / Service Line 12: / Service Line 13: / Service Line 14: / Service Line 15: / Service Line 16: / Service Line 17: / Service Line 18: / Service Line 19: / Service Line 20: / Service Line 21: / Service Line 22: / Service Line 23: / I/O Size : 0 Format: Type : VBI Capture Sampling Rate : 27000000 Hz Offset : 248 samples (9.18519e-06 secs after leading edge) Samples per Line: 1440 Sample Format : GREY Start 1st Field : 6 Count 1st Field : 18 Start 2nd Field : 318 Count 2nd Field : 18 Video input : 1 (S-Video 1) Audio input : 1 (Line In 1) Frequency: 6400 (400.000000 MHz) Video standard = 0x000000ff PAL-B/B1/G/H/I/D/D1/K Tuner: Capabilities : 62.5 kHz multi-standard stereo lang1 lang2 Frequency range : 44.0 MHz - 958.0 MHz Signal strength : 99% Current audio mode : lang1 Available subchannels: mono lang2 also dmesg seems okay Code: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.8.2 (tagged release) loading ivtv: Linux version: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1 ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected Hauppauge card (cx23416 based) ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 21 (level, low) -> IRQ 21 usb 1-2: new low speed USB device using uhci_hcd and address 3 usb 1-2: configuration #1 chosen from 1 choice Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A usb 2-2: new full speed USB device using uhci_hcd and address 2 parport: PnPBIOS parport detected. parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] usb 2-2: configuration #1 chosen from 1 choice lirc_dev: IR Remote Control driver registered, at major 61 lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC v0.26 lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com> usb 2-2: reset full speed USB device using uhci_hcd and address 2 lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_mceusb2[2]: SMK eHome Infrared Transceiver on usb2:2 usbcore: registered new driver lirc_mceusb2 usbcore: registered new driver hiddev input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /class/input/input1 input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-2 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0) tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner) tuner 1-0060: TEA5767 detected. tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0) tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio) tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0) ts: Compaq touchscreen protocol output tveeprom 1-0050: Hauppauge model 23559, rev D491, serial# 8751340 tveeprom 1-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56) tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62) tveeprom 1-0050: audio processor is CX25843 (idx 37) tveeprom 1-0050: decoder processor is CX25843 (idx 30) tveeprom 1-0050: has radio, has no IR remote ivtv0: Autodetected WinTV PVR 500 (unit #1) cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes) wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0) ivtv0: Encoder revision: 0x02050032 ivtv0: Registered device video0 for encoder MPEG ivtv0: Registered device video32 for encoder YUV ivtv0: Registered device vbi0 for encoder VBI ivtv0: Registered device video24 for encoder PCM audio ivtv0: Registered device radio0 for encoder radio tuner 1-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) ivtv0: Initialized WinTV PVR 500 (unit #1), card #0 ivtv: ====================== NEXT CARD ====================== ivtv1: Autodetected Hauppauge card (cx23416 based) ACPI: PCI Interrupt 0000:03:09.0[A] -> GSI 22 (level, low) -> IRQ 22 ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1) tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner) tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1) cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1) cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes) wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1) tveeprom 2-0050: Hauppauge model 23559, rev D491, serial# 8751340 tveeprom 2-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56) tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62) tveeprom 2-0050: audio processor is CX25843 (idx 37) tveeprom 2-0050: decoder processor is CX25843 (idx 30) tveeprom 2-0050: has radio, has no IR remote ivtv1: Correcting tveeprom data: no radio present on second unit ivtv1: Autodetected WinTV PVR 500 (unit #2) ivtv1: Encoder revision: 0x02050032 ivtv1: Registered device video1 for encoder MPEG ivtv1: Registered device video33 for encoder YUV ivtv1: Registered device vbi1 for encoder VBI ivtv1: Registered device video25 for encoder PCM audio tuner 2-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) ivtv1: Initialized WinTV PVR 500 (unit #2), card #1 ivtv: ==================== END INIT IVTV ==================== here is my /etc/init.d/set_ivtv_params file Code: #!/bin/bash # Set the ivtv Parameters ######################################################################## IVTVCTL='ivtvctl' IVTVDIR='/etc/sysconfig/ivtv' V4LCTL='v4l2-ctl' #----------------------------------------------------------------------# # Default values, if not specified in $IVTVDIR/cfg-* IVTV_DT='1' # Tuner input, IVTV_DF='PAL' # tuner format [NTSC|PAL] ######################################################################## [ -d "$IVTVDIR" ] || exit 1 PATH="$PATH:/usr/local/bin" # See how we were called: case $1 in (start) cd $IVTVDIR || exit 2 for g in $(echo cfg-*) ; do f=${g#cfg-} unset IVTV_TUNER IVTV_RATE IVTV_PEAK IVTV_TYPE source cfg-$f case $IVTV_TYPE in "") IVTV_TYPE=$IVTV_DF ;; NTSC) IVTV_TYPE=ntsc ;; NTSC-M) IVTV_TYPE=ntsc-m ;; NTSC-J) IVTV_TYPE=ntsc-jp ;; NTSC-K) IVTV_TYPE=ntsc-kr ;; PAL) IVTV_TYPE=pal ;; *) IVTV_TYPE=`echo "$IVTV_TYPE" | tr '[A-Z]' '[a-z]'` ;; esac # $IVTVCTL -d /dev/video$f -u $IVTV_TYPE # $IVTVCTL -d /dev/video$f -p ${IVTV_TUNER:-${IVTV_DT}} # $IVTVCTL -d /dev/video$f -f width=720,height=576 # $IVTVCTL -d /dev/video$f -c dnr_mode=0,dnr_temporal=0 $V4LCTL -d /dev/video$f -s $IVTV_TYPE $V4LCTL -d /dev/video$f -i ${IVTV_TUNER:-${IVTV_DT}} $V4LCTL -d /dev/video$f -v width=720,height=567 $V4LCTL -d /dev/video$f -t stereo # $V4LCTL -d /dev/video$f -c mute=0 # This _SHOULD_ work, but... $V4LCTL -d /dev/video$f -c temporal_filter_mode=0,temporal_filter=0 done ;; (stop) # don't do anything on stop. ;; *) echo "Usage: /etc/init.d/set_ivtv_params {start|stop}" exit 1 ;; esac ######################################################################## # End and /etc/mythtv/modules/ivtv Code: alias char-major-81 videodev alias char-major-61 lirc_i2c alias char-major 81-0 ivtv #options ivtv debug=1 #options tuner type=45 tuner=45 options msp3400 once=1 install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner Are there any other files that I have missed, or is there something I should be setting in one of these files? It seems everything I try just gives me a black and white picture. could it be something other than PAL? please any help would be usefull. the rest of the system is Intel Celeron 2.2 Gforce FX 5200 PCI 1gig ram thank you |
Author: | bruce_s01 [ Sat Mar 24, 2007 9:00 am ] |
Post subject: | |
I don't know about the Sky Boxes, but the VM (exTW) STBs don't have S-Video output on either SCART, so you need to capture from that box using Composite. The RGB/Composite setting only affects the TV SCART, as the VCR SCART only has composite. You cannot capture RGB unless you have some kind of signal converter from RGB to S-Video/Composite. There was someone who was trying to capture from a Sky STB who was having similar problems to you, I think he just gave up after a while. ![]() There are certain things to make sure when interfacing, firstly just because the connectors fit it doesn't mean the signals are correct. As I understand it S-Video over SCART is a bit of a kludge and was added later. Secondly, are the signals available on your connectors? As I mentioned above S-Video is not available on the exTW STBs and RGB is only available on the TV one. It could be, on the Sky box S-Video is only available on the VCR output. Bruce S. |
Author: | alpha_geek [ Sat Mar 24, 2007 12:03 pm ] |
Post subject: | |
you hit the nail on the head thank you, I change to composite and suddenly I have colour, thank you |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |