Hallo erstmal,
also ich kämpfe jetzt seit über 3 Tagen verzweifelt damit, einen lauffähigen VDR nur mit Analog-Plugin und PVR350-Plugin zum laufen zu bekommen. Nachdem ich Stunden in eurem Board gesucht habe und auch sonst andere Suchmaschinen geqäuhlt habe, bin ich jetzt mit meinem Latein am Ende. Vielleicht kann mir jemand den entscheidenden Tipp geben da ich mittlerweile vor lauter Bäumen kein Wald mehr sehen (oder so ähnlich...).
Meine Datei /etc/modules.d/ivtv sieht so aus:
options ivtv ivtv_debug=1 tuner=38 ivtv_std=2
options tuner pal=1
options msp3400 once=1 simple=1
add below msp3400 tuner
add below saa7115 msp3400
add below ivtv saa7115
options saa7127 pal=1
options tda9887=0
add above ivtv ivtv-fb
add below ivtv saa7127
Ein
produziert folgende Meldungen:
Linux video capture interface: v1.00
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.2 (a) loading
ivtv: Linux version: 2.6.10-gentoo-r2 preempt K7 4KSTACKS gcc-3.4
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 10 (level, low) -> IRQ 10
ivtv: XXX PCI device: 0x0740 vendor: 0x1039
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
msp34xx: init: chip=MSP3418W-B3 +nicam +simple +simpler +radio mode=simple
msp3410: daemon started
ivtv: i2c attach [client=MSP3418W-B3,ok]
msp3400: error while reading chip version
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x40, (1F) 0xc0
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671540
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001
ivtv: Radio detected
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8 using 6 103680 byte buffers 622080 kbytes total
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 9 using 32 65536 byte buffers 2097152 kbytes total
ivtv: Setting Tuner 38
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to PAL.
saa7115: decoder set norm PAL
ivtv: ivtv_enc_thread: pid = 22149, itv = 0xdeaa4e20
ivtv: ivtv_dec_thread: pid = 22150, itv = 0xdeaa4e20
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set PAL Video Mode
saa7127: Selecting PAL video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 576]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xc9510000, mapped to 0xe0e10000, size 1620k
ivtv-osd: mode is 720x576x32, linelength=2880
ivtv-osd: fb0: iTVC15 TV out frame buffer device
Alles anzeigen
Momentan setze ich Version 0.3.2-a von ivtv ein, aber ich hab es auch mit älteren Versionen ohne erfolg probiert.
Kernel Version ist 2.6.10-gentoo-r2. Geladen werden/wurden (automatisch) folgende Module:
Module Size Used by
ivtv_fb 33908 0
tveeprom 10932 0
ivtv 812164 1 ivtv_fb
saa7127 11804 0
saa7115 11544 0
msp3400 24616 0
tuner 20324 0
i2c_algo_bit 8584 1 ivtv
i2c_core 18256 6 tveeprom,saa7127,saa7115,msp3400,tuner,i2c_algo_bit
videodev 7552 1 ivtv
evdev 7488 0
saa7146 14948 0
v4l1_compat 13572 0
Alles anzeigen
Der Befehl ivtvctl -I gibt folgendes aus:
check SAA7115 input signal
ioctl: VIDEO_STATUS = Bad
SAA7115 reg[STATUS#1 - 0x1E] = 40
Color Standard (D0-D1): BW/No color
White peak loop (D2): Not activated
Gain value for act.lum. (min) (D3): Not limited
Gain value for act.lum. (max) (D4): Not limited
WIPA-mode slow-time constant (D5): Not activated
Horizontal frequency (D6): Unlocked
Field length (D7): Non-standard
SAA7115 reg[STATUS#2 - 0x1F] = c0
Ready for capture (D0): No
Macrovision 7.01 (D1): No
MV Colorstripe burst (D2): No
MV Colorstripe burst type 3 (D3): No
Input signal timebase (D4): Non-stable (VCR)
Field frequency (D5): 50Hz
H & V loops (D6): Unlocked
Interlace (D7): Detecte
Alles anzeigen
Der Befehl ivtvctl -a gibt folgendes aus:
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect : 2
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 8000000
bitrate_peak: 9600000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type : 0
framerate : 0
framespergop: 12
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
Type : Video Capture
Width : 720
Height : 576
ioctl: VIDIOC_QUERYCAP
Driver name : ivtv
Card type : Vanilla iTVC15 card
Bus info : 0
Driver version: 770
Capabilities : 0x01070033
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 1
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 2
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : Composite 3
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : Tuner 0
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000000000FF ( PAL )
Status : 0
Input : 5
Name : Composite 4
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 6
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 7
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 8
Name : S-Video 2
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 9
Name : S-Video 3
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_ENUMOUTPUT
Output : 0
Name : S-Video + Composite
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Output : 1
Name : Composite
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Output : 2
Name : S-Video
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Output : 3
Name : RGB
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Output : 4
Name : YUV C
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Output : 5
Name : YUV V
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
ioctl: VIDIOC_G_OUTPUT
Output = 0
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line In
ioctl: VIDIOC_G_AUDIO
Input = 0: Tuner Audio In
ioctl: VIDIOC_G_FREQUENCY
Frequency = 0
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 58880
Mute = 1
Alles anzeigen
Wenn ich den VDR starte, läuft er auch und ich kann mich durch die verschiedenen Menüs "hangeln":
gateway ~ # /usr/bin/vdr --shutdown=/etc/vdr/vdrshutdown.sh --epgfile=/var/vdr/epg.data --log=3.7 --video=/data/storage2/movie/Aufnahmen/VDR --plugin=pvr350 --plugin=analogtv
23:12:59 analogTV version 0.9.36 starting up ...
23:12:59
23:12:59 Copyright (C) 2003 .. 2004 by Andreas Kool (akool@gmx.de)
23:12:59
23:12:59 The analogTV plugin is the work of many people;
23:12:59 for at least a partial list see CREDITS.
23:12:59
23:12:59 analogTV comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
23:12:59 This is free software, and you are welcome to redistribute it
23:12:59 under certain conditions; see COPYING for details.
23:12:59
23:12:59 Detected Linux version 2.6.10-gentoo-r2
23:12:59 Detected VDR version 1.3.14
23:12:59 Detected plain-vanilla VDR (hopefully :-)
23:12:59 Detected AC3overDVB patch version 0.2.6
sizex 720 sizey 576 size 1658880
Size 2880 1662976
Offset 0 max 1658880 stride 720 lines 576 x 0 y 0
23:13:00 cSchedules created
23:13:00 Detected ConfigDirectory()="/etc/vdr/plugins"
23:13:00 CPU mobile AMD Duron(tm) , family 6, model 7, stepping 0
Writer started pid 22191
23:13:00 CPU measured at 800.028MHz
23:13:00 Switching to channel 0 on device 4
23:13:00 Switching to channel 0 on device 5
23:13:00 Channel: Super RTL, SID=12040, 303.25 MHz (S21), PAL
23:13:00 Video device: /dev/video0
23:13:00 Video source: 4:
23:13:00 NEW videodev=/dev/video0
23:13:00 Detected V4L version 2
23:13:00 Detected capture device Vanilla iTVC15 card
23:13:00 Detected hardware Hauppauge PVR
23:13:00 This device have a tuner
23:13:00 This device is able for capturing
23:13:00 This device have a onboard MPEG-Encoder
23:13:00 Detected Input#0: Composite 0
23:13:00 Detected Input#1: Composite 1
23:13:00 Detected Input#2: Composite 2
23:13:00 Detected Input#3: Composite 3
23:13:00 Detected Input#4: Tuner 0
23:13:00 Detected Input#5: Composite 4
23:13:00 Detected Input#6: S-Video 0
23:13:00 Detected Input#7: S-Video 1
23:13:00 Detected Input#8: S-Video 2
23:13:00 Detected Input#9: S-Video 3
23:13:00 NEW Frequency=303250 + 0
23:13:00 NEW videonorm=PAL
23:13:00 NEW videosource=4:Tuner 0
23:13:00 NEW picture properties
23:13:00 NEW PVR MPEG-Encoder parameter(s)
23:13:00 PVR Norm=0:PAL - done.
23:13:00 PVR MPEG-PES, aspect 4:3, VBR, 3:2 pulldown
23:13:00 PVR Videobitrate= 2 Mbit/s (max=2e+01 Mbit/s)
23:13:00 PVR 12 frames/GOP, 3 B-frames, GOP closed
23:13:00 PVR DNR:spatial and temporal (type=0, spatial=0, temporal=0)
23:13:00 PVR Audiobitrate=192 kBit/s (Mask=0xa9)
23:13:00 PVR MPEG-Encoder parameter(s) - done.
23:13:00 PVR Input=4:Tuner 0 - done.
23:13:00 PVR Frequency=4852 - done.
23:13:00 PVR brightness=20 (58.8%) contrast=14 (41.2%) colour=16 (47.1%) hue=15 (44.1%)
23:13:00 PVR saa7115 brightness=150 contrast=53 colour=60 hue=-15 - done.
23:13:00 PVR Volume=59636 - done.
23:13:00 Switching to channel 6 on device 5
23:13:00 PVR PassThrough=ON - done.
23:13:00 NEW Audio-PID=300, Video-PID=301
23:13:00 PVR Input=4:Tuner 0 - done.
23:13:00 Switching to channel 6 on device 4
23:13:00 readPVR(Apid=300, Vpid=301)
23:14:19 Ringbuffer max usage: 0/2097152 byte = 0.0%
23:14:19 Largest data packet from PVR-card was 0 byte long
23:14:19 0 data packets, 0 TS frames processed
23:14:19 0 byte PES, 0 byte TS
23:14:19 0 TS frame(s) dropped (ringbuffer was full)
23:14:19 0 data packets dropped
23:14:19 79 data packets dropped while not on a analogue channel
23:14:19 PVR reader stopped.
23:18:52 PVR PassThrough=OFF - done.
Alles anzeigen
Auf dem Bildschirm sehe ich aber nur Schnee bzw. teilweise Schemenhaft mal umrisse eines TV-Programmes wenn ich einen Scan mit ptune.pl durchführe.
Hat jemand einen Tip (bzw. mehrere) für mich?
Wenn ihr noch mehr Output braucht, sagt mir welchen und ich liefere ihn - wäre wirklich SEHR dankbar für jede Anregung wie ich weiterkommen kann.
Version des VDR ist 1.3.14.
prodigy7