Es sind nur drei Karten: Die Hauppage DVB-S Nova (FF) und die beiden Satelco Karten. Die DVB-S Karte wird auch dann nicht erkannt wenn sie alleine mit der Nova im System steckt. Alle Karten haben einen eigenen IR (In dieses Problem war ich früher einmal hineingelaufen - das wirkt sich abernur durch ein instabiles Verhalten im Betrieb aus). Vier Karten passen nicht hinein, da das System nur drei PCI Steckdosen hat (leider).
Beiträge von gdoerrhoefer
-
-
Ich habe in meinem VDR eine Full-Featured Hauppage DVB-S sowie nun zwei Satelco Easy-Watch (Budget)-Karten. Die eine Karte ist eine Satelco Easy-Watch HDTV-PCI (DVB-C) die rein von der Hardware anscheinend identisch mit der Satelco Easy-Watch PCI (DVB-C) zu sein scheint. Ich konnte zumindest bei einem Vergleich der Karten keinerlei Unterschiede erkennen. Diese Karte wird von meinem VDR (Sidux Kernel 2.6.20.1-slh-smp-2 mit den Treibern von http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring) einwandfrei und problemlos erkannt. Zusätzlich steckt eine Satelco Easy-Watch PCI (DVB-S) im System, die sich hardwaremäßig von der DVB-C Version offensichtlich nur durch den Tuner unterscheidet.
Hier der entsprechende Ausschnitt von lspci -vvvxnn:
Code
Alles anzeigen05:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7146 [1131:7146] (rev 01) Subsystem: Technotrend Systemtechnik GmbH Unknown device [13c2:000e] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (3750ns min, 9500ns max) Interrupt: pin A routed to IRQ 21 Region 0: Memory at ff9ffc00 (32-bit, non-prefetchable) [size=512] 00: 31 11 46 71 06 00 80 02 01 00 80 04 00 40 00 00 10: 00 fc 9f ff 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 c2 13 0e 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 0e 01 0f 26 05:01.0 Multimedia controller [0480]: Philips Semiconductors SAA7146 [1131:7146] (rev 01) Subsystem: KNC One Unknown device [1894:001b] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (3750ns min, 9500ns max) Interrupt: pin A routed to IRQ 5 Region 0: Memory at ff9ff800 (32-bit, non-prefetchable) [size=512] 00: 31 11 46 71 06 00 80 02 01 00 80 04 00 40 00 00 10: 00 f8 9f ff 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 94 18 1b 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 05 01 0f 26 05:02.0 Multimedia controller [0480]: Philips Semiconductors SAA7146 [1131:7146] (rev 01) Subsystem: KNC One Unknown device [1894:002c] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (3750ns min, 9500ns max) Interrupt: pin A routed to IRQ 19 Region 0: Memory at ff9ff400 (32-bit, non-prefetchable) [size=512] 00: 31 11 46 71 06 00 80 02 01 00 80 04 00 40 00 00 10: 00 f4 9f ff 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 94 18 2c 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 03 01 0f 26
Softwareseitig werden beide Karten wohl als KNC One identifiziert, wobei die DVB-C Karte 1894:002c und die DVB-S Karte 894:001b als Subsystem meldet. Die DVB-S Karte bekomme ich nicht zum Laufen.
Es werden nur zwei DVB-Device angelegt:
Coderoot@vdr:/tmp# ls -l /dev/dvb insgesamt 0 drwxr-xr-x 2 root root 200 2007-05-10 15:03 adapter0 drwxr-xr-x 2 root root 140 2007-05-10 15:03 adapter1
Hier der Ausschnitt von /var/log/dmesg:
Code
Alles anzeigenPCI: Enabling device 0000:00:1f.3 (0001 -> 0003) ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 20 Linux video capture interface: v2.00 saa7146: register extension 'dvb'. ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 21 saa7146: found saa7146 @ mem f8d4ec00 (revision 1, irq 21) (0x13c2,0x000e). saa7146: register extension 'budget_av'. DVB: registering new adapter (Technotrend/Hauppauge WinTV Nexus-S rev2.3). adapter has MAC addr = 00:d0:5c:24:0e:88 Synaptics Touchpad, model: 3, fw: 5.0, id: 0x9740b1, caps: 0x804703/0x0 dvb-ttpci: gpioirq unknown type=0 len=0 dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 8000261f dvb-ttpci: firmware @ card 0 supports CI link layer interface input: SynPS/2 Synaptics TouchPad as /class/input/input2 dvb-ttpci: Crystal audio DAC @ card 0 detected saa7146_vv: saa7146 (0): registered device video0 [v4l2] saa7146_vv: saa7146 (0): registered device vbi0 [v4l2] DVB: registering frontend 0 (ST STV0299 DVB-S)... input: DVB on-card IR receiver as /class/input/input3 dvb-ttpci: found av7110-0. ACPI: PCI Interrupt 0000:05:02.0[A] -> GSI 23 (level, low) -> IRQ 19 saa7146: found saa7146 @ mem f8c84400 (revision 1, irq 19) (0x1894,0x002c). saa7146 (1): dma buffer size 192512 DVB: registering new adapter (Satelco EasyWatch DVB-C MK3). ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1b.0 to 64 adapter failed MAC signature check encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff hda_codec: Unknown model for AD1988, trying auto-probe from BIOS... KNC1-1: MAC addr = 00:09:d6:6d:78:bf DVB: registering frontend 1 (Philips TDA10023 DVB-C)... budget-av: ci interface initialised. budget-av: cam inserted A dvb_ca adapter 1: DVB CAM detected and initialised successfully Adding 8193108k swap on /dev/sda1. Priority:-1 extents:1 across:8193108k EXT3 FS on sda2, internal journal
Es werden nur zwei Karten erkannt.
Kennt jemand eine Lösung ?Die verwendeten Treiber http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring bekomme ich übrigends mit dem aktuellsten Kernel 2.6.21.1 nicht zum Laufen (fehlerhafte Symbole):
Code
Alles anzeigenLinux video capture interface: v2.00 dvb_ttpci: disagrees about version of symbol dvb_dmxdev_init dvb_ttpci: Unknown symbol dvb_dmxdev_init dvb_ttpci: disagrees about version of symbol saa7146_vv_init dvb_ttpci: Unknown symbol saa7146_vv_init dvb_ttpci: disagrees about version of symbol saa7146_vv_release dvb_ttpci: Unknown symbol saa7146_vv_release dvb_ttpci: disagrees about version of symbol saa7146_start_preview dvb_ttpci: Unknown symbol saa7146_start_preview dvb_ttpci: disagrees about version of symbol dvb_unregister_device dvb_ttpci: Unknown symbol dvb_unregister_device dvb_ttpci: disagrees about version of symbol dvb_net_init dvb_ttpci: Unknown symbol dvb_net_init dvb_ttpci: disagrees about version of symbol saa7146_unregister_device dvb_ttpci: Unknown symbol saa7146_unregister_device dvb_ttpci: disagrees about version of symbol dvb_dmxdev_release dvb_ttpci: Unknown symbol dvb_dmxdev_release dvb_ttpci: disagrees about version of symbol saa7146_register_device dvb_ttpci: Unknown symbol saa7146_register_device dvb_ttpci: disagrees about version of symbol dvb_net_release dvb_ttpci: Unknown symbol dvb_net_release dvb_ttpci: disagrees about version of symbol saa7146_set_hps_source_and_sync dvb_ttpci: Unknown symbol saa7146_set_hps_source_and_sync dvb_ttpci: disagrees about version of symbol saa7146_stop_preview dvb_ttpci: Unknown symbol saa7146_stop_preview dvb_ttpci: disagrees about version of symbol saa7146_pgtable_free dvb_ttpci: Unknown symbol saa7146_pgtable_free dvb_ttpci: disagrees about version of symbol dvb_register_device dvb_ttpci: Unknown symbol dvb_register_device dvb_ttpci: disagrees about version of symbol saa7146_vmalloc_build_pgtable dvb_ttpci: Unknown symbol saa7146_vmalloc_build_pgtable ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1b.0 to 64
Allerdings lief die Satelco DVB-C Karte auch bereits mit den Treibern die bei der Sidux-Version mitkamen, der V4L-Treiberupdate hat also zumindest bezüglich Erkennbarkeit nix gebracht.
-
Interessant dass andere ausser VDR auch noch andere interessante Sachen machen. Ich hatte dieses Jahr leider keine Zeit. Aber in den vergangenen Jahren hatte ich Rocoto und Habanero angebaut.
Ich habe hier noch vom letzten Jahr einen grossen Habanero im Büro stehen, der noch über "grüne Blätter" verfügt und daher hoffentlich gut über den Winter gekommen ist. Im letzten Jahr hatter er allerdings keine Früchte getragen. Aber vielleicht lässt er sich in diesem Jahr dazu bewegen. -
Wenn's nach einem Update nicht mehr geht: mplayer kann die Option -vop nicht. Muss durch -vf ersetzt werden und die Reihenfolge der Parameter drehen. Hatte das gleiche Problem. Bei DVD wird eine andere CMDLINE erzeugt, ohne diesen Parameter.
-
Als erstes habe ich noch "mencoder" nachinstalliert, das fehlte bei mir:
apt-get install mencoder
Danach habe ich in /usr/share/vdr-plugin-mplayer/mplayer die Zeile 589 korrigiert:Zeile 589:
CodeCMDLINE="$MPLAYER -vo $VO $AOUT -vf scale=$NEW_X:${NEW_Y}${DETC},expand=$NEW_X:$REAL_Y:-1:-1:1,$VOP:$NEW_FPS $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX"
Und siehe da, jetzt geht es. Der Befehl "scale=" benötigt anscheinend mencoder, denn mplayer brach lt. log sofort ab als mencoder noch fehlte. Allen bei denen das Plugin noch nicht funktioniert kann ich noch folgende Tipps geben:
Wichtig ist, dass /usr/share/vdr-plugin-mplayer die Dateien "mplayer" und "mount" enthält. Auch muss das Verzeichnis DVD-VCD da sein, bei mir unter: /etc/vdr/vdr-plugin-mplayer/DVD-VCD.
Bei mir ist installiert: VDR 4.1.5
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.Die Datei "plugin.mplayer.conf" (bei mir unter /etc/vdr zu finden) muss korrekt sein. Bei mehreren Karten kann es nötig sein, die Karte anzugeben:
Code
Alles anzeigen# Video out device # most users will want the default of 'mpegpes', but users with a dxr3 # need to use 'dxr3' VO="mpegpes:card=1" # Audio output device and possible additional options # most users will want the default of 'mpegpes', but users with a dxr3 # need to use 'oss:/dev/em8300_ma-0' #AO="oss:/dev/em8300_ma-0" AO=mpegpes:card=1
Bei mir funktioniert jetzt das Plugin einwandfrei.
-
jha
Ich bekomme es zwar zum Laufen (Parameter sind aber anscheinend noch nicht richtig - danke für die Info) aber bei mir sind einige mp4-Dateien "verzerrt". Die Ausgabe ist zwar breit genug (720 px) aber nur in halber Höhe was natürlich recht komisch ausschaut. Das Kommando "scale" funktioniert nicht mehr. An diesem Problem arbeite ich derzeit noch - aber die Doku zu mplayer ist recht lang. Vielleicht warte ich, bis eine korrigierte Version da ist -
Die Option "-vop" gibt es in meinem mplayer nicht mehr, man soll nun "-vf" verwenden sagt der Output, wenn man "CMDLINE" per Hand eingibt. Ich habe die Datei "/usr/share/vdr-plugin-mplayer/mplayer" entsprechend geändert und jetzt spielt es zumindest. Derzeit habe ich nur noch ein Skalierungsproblem. Wer weiss, wie die Zeile korrekt lauten muss?
Codeif test $MPEG_DIRECT == "true" -a \( $VIDEO_FORMAT == "0x10000001" -o $VIDEO_FORMAT == "0x10000002" \) -a \( \ \( $PAL -a $NEW_FPS == "25" -a \( \( $ORIG_X == "352" -a $ORIG_Y == "288" \) -o \( $ORIG_Y == "576" -a \ \( $ORIG_X == "352" -o $ORIG_X == "480" -o $ORIG_X == "528" -o $ORIG_X == "544" -o $ORIG_X == "688" -o $ORIG_X == "704" -o $ORIG_X == "720" \) \) \) \) -o \ \( $NTSC -a $NEW_FPS == "30" -a \( \( $ORIG_X == "352" -a $ORIG_Y == "240" \) -o \( $ORIG_Y == "480" -a \ \( $ORIG_X == "352" -o $ORIG_X == "480" -o $ORIG_X == "512" -o $ORIG_X == "640" -o $ORIG_X == "704" -o $ORIG_X == "720" \) \) \) \) \ \) ; then CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF" else CMDLINE="$MPLAYER -vo $VO $AOUT -vf $VOP:$NEW_FPS,expand=$NEW_X:$REAL_Y:-1:-1:1,scale=$NEW_X:${NEW_Y}${DETC} $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX" fi
-
Scheint kein Problem des "Mahlzeit 3.2" zu sein. Mit Kanotix habe ich seit VDR 1.4.5 Update das gleiche Problem.
Aus der Kommandozeile geht es:
mplayer -zoom -vo mpegpes:card=1:fs -ao mpegpes:card=1 "$1"
spielt die übergebene Datei ab, wenn der VDR ausgeschaltet ist (/etc/init.d/vdr stop). Über den VDR habe ich kurz ein schwarzes Bild, danach ist TV wieder da.Code
Alles anzeigenFeb 6 23:58:47 KanotixBox logger: *** Starting mplayer.sh Version 0.8.6 Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/vdrmplayer.sh.conf" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable USEAC3 has value "false" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable AC3AOUT has value "-ao mpegpes -ac hwac3" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable TV_ASPECT has value "4/3" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable PAL has value "true" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable NTSC has value "true" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable USE_SPEED has value "true" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable VOP has value "lavc=5000" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable VO has value "mpegpes" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable AO has value "mpegpes" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable CACHE has value "4096" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable CACHESTR has value "-cache 4096" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable FRAMEDROP has value "true" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable FDSTR has value "-framedrop" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable LIRCRC has value "" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable LIRCSTR has value "" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable REMOTE has value "" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable USERDEF has value "" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable SLOW_CPU has value "false" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable DVDFiles has value "/var/lib/vdr-plugin-mplayer/DVD-VCD" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable DVD has value "/dev/dvd" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable DVDLANG has value "de" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable VCDOPTIONS has value "" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable MPEG_DIRECT has value "false" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable SUFFIX has value ".mp4" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Variable MPLAYER_V1 has value "true" Feb 6 23:58:47 KanotixBox logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Feb 6 23:58:48 KanotixBox logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_FILENAME=/media/sdb1/mplayer/Beatles/Beatles - Don't let me down.mp4 ID_DEMUXER=mov ID_VIDEO_FORMAT=avc1 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=240 ID_VIDEO_FPS=29.970 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=mp4a ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_LENGTH=210.74 ID_VIDEO_CODEC=ffh264 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_AUDIO_CODEC=faad" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: MPLAYER_RETURN: "0" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for ORIG_X: "320" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for ORIG_Y: "240" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for ORIG_FPS: "29.970" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for VIDEO_FORMAT: "avc1" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: parsed output for AUDIO_CODEC: "faad" Feb 6 23:58:48 KanotixBox logger: *** INFO: Source Video has Resolution of 320 x 240 ... Feb 6 23:58:48 KanotixBox logger: *** DEBUG: NTSC "" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable MAX_X has value "320" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable NEW_Y has value "240" Feb 6 23:58:48 KanotixBox logger: *** INFO: For Sqare Pixels we would scale to 320 x 240 ... Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable XResTEMP has value "352 480 512 640 704 720" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "6" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable NEW_X has value "352" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: setting REAL_Y = HALF_Y "" Feb 6 23:58:48 KanotixBox logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:30,expand=352:240:-1:-1:1,scale=352:240 -framedrop -cache 4096 -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 "
Anscheinend ist alles da, nur mplayer möchte nicht. Die Konfigurationsdatei:
Code
Alles anzeigenroot@KanotixBox:~# more /etc/vdr/plugin.mplayer.conf # Config File for mplayer.sh ... # # $Id: mplayer.sh.conf,v 1.24 2004/03/08 13:08:26 juri Exp $ # # *** # *** Mandatory Values # *** # # Where to find mplayer executable ? MPLAYER="/usr/bin/mplayer" # Video Out Filter lavc or fame - see mplayer DVB docs for details ! #VOP="lavc=9000" VOP="lavc=5000" # Video out device # most users will want the default of 'mpegpes', but users with a dxr3 # need to use 'dxr3' #VO="dxr3" VO="mpegpes" #VO="mpegpes`find /dev/dvb | grep video0 | cut -d/ -f4 | awk '{sub("adapter","") ;print ":card=" $0+1}'`" # Audio output device and possible additional options # most users will want the default of 'mpegpes', but users with a dxr3 # need to use 'oss:/dev/em8300_ma-0' #AO="oss:/dev/em8300_ma-0" AO="mpegpes" # X-Resolutions for the DVBs card (smallest value first!) # XResPAL=(352 480 528 544 688 704 720) XResNTSC=(352 480 512 640 704 720) # Set the following to 'true' or 'false' according to # the capabilities of your TV set. # # In case of NTSC="false", see also DETC_FILTER below # # At least _one_ has to be true! # If your TV can do both, I strongly recommend to keep both set to "true"! PAL="true" NTSC="true" # Use mplayer's -speed option for videos with a different # frames/s value than the selected TV norm # # this setting is only used if either PAL or NTSC # is set to false! USE_SPEED="true" # set to true if you want to use AC3 output USEAC3="false" # how to play AC3 audio? # for AC3 via sound card (ALSA driver): #AC3AOUT="-ao alsa9 -ac hwac3" # for AC3 via DVB (doesn't need AC3overDVB patch); # needs MPlayer 0.90 final, or newer: AC3AOUT="-ao mpegpes -ac hwac3" # what aspect ratio has your TV set? # either 4/3 (conventional) or 16/9 (widescreen) #TV_ASPECT="16/9" TV_ASPECT="4/3" # *** # *** Optional Setting *** Simply Remove them if they do not fit your needs... # *** # What detelecinig filter should we use to play NTSC material as PAL? # This is only used if you have set NTSC to false and PAL to true. # If you use MPlayer versions 1.0 or higher I recommend to use the # following setting "ivtc=1", but this is not supported by MPlayer 0.9x #DETC_FILTER="ivtc=1" DETC_FILTER="detc=dr=2:am=1" # What version of MPlayer do you have? # if you have 0.9x then choose 'false' # if you have 1.0(pre) then choose 'true' MPLAYER_V1="true" # Cache Option for MPlayer CACHE="4096" # Framedrop FRAMEDROP="true" # Lirc RC File #LIRCRC="/video/.lircrc" # do we have a slow CPU? # if so, reduce the Y resolution to the half of the possible maximum: # NTSC: 240 # PAL: 288 # uncomment the following line if you have a slow CPU: #SLOW_CPU="true" # Where to find DVD/VCD dummy files? (just a fake and empty text file for the pl ugin) # Example: create two empty text files (DVD and VCD) in /video/plugins/DVD-VCD/ # !!!The files must be named VCD and DVD (all capital letters)!!! DVDFiles="/var/lib/vdr-plugin-mplayer/DVD-VCD" # What is your DVD-ROM device ? DVD="/dev/dvd" # What languages do your DVD's use ? DVDLANG="de" # extra DVD options DVDOPTIONS="-aop list=volume:volume=170" # extra VCD options VCDOPTIONS="" # should MPEG files be played directly (without rescaling) if possible? MPEG_DIRECT="false" #Subtitle options SUBPOS="80" #Vertical position 0-100 SUBCOLOR="0" #Background color 0=black 255=white SUBALPHA="30" #Background transparency (0-255) # Userdefined Options - make sure they do not collide with options # used in mplayer.sh # Only for experienced users # USERDEF="-what -option you ever -like to give -to mplayer" # Use "-osdlevel 0" to hide the mplayer osd (not recommended for dxr3 output) #USERDEF="-quiet -osdlevel 0" # set to true to enable debugging output DEBUG="true" # End of Options
mplayer.sh gibt es in meiner Version nicht mehr.
-
Aus der Kommandozeile geht es:
mplayer -zoom -vo mpegpes:card=1:fs -ao mpegpes:card=1 "$1"
spielt die übergebene Datei ab, wenn der VDR ausgeschaltet ist (/etc/init.d/vdr stop). Über den VDR habe ich kurz ein schwarzes Bild, danach ist TV wieder da.
Anscheinend wird in CMDLINE der Dateiname nicht übergeben (könnte ich mir so denken). Nun ist gefragt, wo die CMDLINE zusammengesetzt wird. Ich konnte weder hier im Forum noch in den Konfigurationsdateien Hinweise finden.Code
Alles anzeigenFeb 6 22:56:34 KanotixBox logger: *** Starting mplayer.sh Version 0.8.6 Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/vdrmplayer.sh.conf" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable USEAC3 has value "false" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable AC3AOUT has value "-ao mpegpes -ac hwac3" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable TV_ASPECT has value "4/3" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable PAL has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable NTSC has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable USE_SPEED has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable VOP has value "lavc=5000" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable VO has value "mpegpes:card=1" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable AO has value "mpegpes:card=1" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable CACHE has value "4096" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable CACHESTR has value "-cache 4096" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable FRAMEDROP has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable FDSTR has value "-framedrop" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable LIRCRC has value "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable LIRCSTR has value "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable REMOTE has value "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable USERDEF has value "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable SLOW_CPU has value "false" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable DVDFiles has value "/var/lib/vdr-plugin-mplayer/DVD-VCD" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable DVD has value "/dev/dvd" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable DVDLANG has value "de" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable VCDOPTIONS has value "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable MPEG_DIRECT has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable SUFFIX has value ".mp4" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable MPLAYER_V1 has value "true" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Feb 6 22:56:34 KanotixBox logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_FILENAME=/media/sdb1/mplayer/Beatles/Beatles - Don't let me down.mp4 ID_DEMUXER=mov ID_VIDEO_FORMAT=avc1 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=240 ID_VIDEO_FPS=29.970 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=mp4a ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_LENGTH=210.74 ID_VIDEO_CODEC=ffh264 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_AUDIO_CODEC=faad" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: MPLAYER_RETURN: "0" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for ORIG_X: "320" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for ORIG_Y: "240" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for ORIG_FPS: "29.970" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for VIDEO_FORMAT: "avc1" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: parsed output for AUDIO_CODEC: "faad" Feb 6 22:56:34 KanotixBox logger: *** INFO: Source Video has Resolution of 320 x 240 ... Feb 6 22:56:34 KanotixBox logger: *** DEBUG: NTSC "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable MAX_X has value "320" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable NEW_Y has value "240" Feb 6 22:56:34 KanotixBox logger: *** INFO: For Sqare Pixels we would scale to 320 x 240 ... Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable XResTEMP has value "352 480 512 640 704 720" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "6" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable NEW_X has value "352" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: setting REAL_Y = HALF_Y "" Feb 6 22:56:34 KanotixBox logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes:card=1 -ao mpegpes:card=1 -vop lavc=5000:30,expand=352:240:-1:-1:1,scale=352:240 -framedrop -cache 4096 -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 "
-
Ist die Störung auch da, wenn man nur den Schirm der Koaxstecker verbindet? Wenn meine Vermutung stimmt, müsste die Störung mit Verbinden der Abschirmung zusammenhängen. In dem von mir angesprochenen Fall (Einkopplung eines Radiosenders) konnte man sogar mit einem hochohmigen Kopfhörer das Rundfunksignal lautstark hören. Das war auch so ein seltsamer Fall bei dem lange gesucht wurde und niemand eine Erklärung wusste. Oft wirkt da irgendwo ein freies Stück Kabel in Verbindung mit einer Diodenstrecke als Empfänger und verursacht an ganz anderer Stelle eine Störung. Ändert sich die Intensität der Störung mit der Kabelführung? Stecken eventuell noch andere Quellen im Verstärker? Lautsprecherleitungen sind oft für Einkopplungen empfindlich - treten die Störungen auch auf, wenn vom Verstärker alle Kabel einschl. Netzleitung entfernt sind?
-
Der Beschreibung nach würde ich auf eine Masseschleife tippen. Einen ähnlichen Fall hatte ich schon einmal bei einem Kollegen (Standort "Hessenaue") - hier koppelte sich ein ortsnaher MW-Sender über die Masseleitung des Systems ein und erzeugte Störungen. Manchmal hilft es, die Masse nur über einen Kondensator anzuschliessen oder den Schutzleiter zu überprüfen (liegt er am Gehäuse an? Wenn ja, ist er "sauber"?). Der Weg mit der optischen Kopplung wäre sicher die beste Lösung - hier kenne ich mich allerdings nicht aus.
-
Vielleicht liegt es ja bei mir an einem bekannten Problem. Einen Hinweis fand ich hier:
ZitatPerformance von MacOSX und samba
Das Problem, dass der Datendurchsatz unter MacOSX und samba unter jeder würde liegt, ist durch folgende Eingabe (im Terminal) zu beheben:
sudo sysctl -w net.inet.tcp.delayed_ack=0
Ich werde es einmal probieren. Bei mir stand hier "3" anstelle der "0".
Und ProjektX ist auf dem Mac einfacher zu bedienen. Ich selbst brenne meine DVDs auch komplett auf dem VDR (mittels burn und ProjektX), aber wenn man nur an das Verzeichnis rankommt muss man die Datei auf dem Mac bearbeiten. -
Anleitung für Projekt-X und Mac-OSX (10.4)
1. Quellen herunterladen: Projekt-X
2. Archiv entpacken (Doppelklick sollte funktionieren)2.a Wenn man es in deutsch haben möchte, auch das Language-Pack herunterladen und auspacken. Aus dem dortigen Ordner "resources" die entsprechende Datei "pjxresources_de.properties" in den Ordner "resources" der Quellen verschieben.
3. Terminal-Programm öffnen
4. Sich als Administrator anmelden (sudo -s)
5. cd -> Pfad zum Ordner mit den Quellen z.B. /Users/name/Desktop/ProjectX_Source_0.90.4CodeMacBookPro:~/Desktop/ProjectX_Source_0.90.4 root# chmod a+x build.sh MacBookPro:~/Desktop/ProjectX_Source_0.90.4 root# ./build.sh
Danach findet sich "ProjectX.jar" in diesem Ordner. Dieses kann dann direkt gestartet werden.
Noch eine Ergänzung: Samba mit MacOSX ist sehr langsam - besser ist es, wenn man kann, per NFS auf den VDR zuzugreifen. Im Finder-Dialog "Gehe zu" und "mit Server verbinden" kann man auch per NFS verbinden, wenn es entsprechend auf dem VDR eingerichtet ist.
Leider bietet NFS keinen Kennwort-Schutz. Mit Samba und MacOSX hatte ich sowohl in der Firma als auch zu Hause bereits reichlich Probleme bezüglich Geschwindigkeit. -
Möglicherweise hilft dieses Programm:
MPEG StreamclipIch habe es aber selbst noch nicht ausprobiert. Da ich inzwischen direkt mit dem VDR brenne bin ich leider etwas aus dieser Problematik heraus. Mit einem "Knopf" geht es vermutlich nicht.
-
Damit geht es auch. Hat den Vorteil, dass man Aktionen bei nicht leerem Verzeichnis gleich erledigen könnte. Warum allerdings eins rauskommt bei leerem Verzeichnis konnte ich noch nicht ergründen.
-
Hier ein kleines Beispiel (Shell=bash) wie ich ein "Verzeichnis bearbeite:
Bash
Alles anzeigen#!/bin/bash cd "/meinverzeichnis" for i in * do if test $i != "." -a $i != ".." then if test -d $i then echo "Verzeichnis" fi fi fi
Der Befehl "test -d" prüft ob es ein Verzeichnis ist. Mittels "man test" erhält man die Optionen für den Befehl:Es geht z.B. auch so:
Code
Alles anzeigenThe following primaries are used to construct expression: -b file True if file exists and is a block special file. -c file True if file exists and is a character special file. -d file True if file exists and is a directory. -e file True if file exists (regardless of type). -f file True if file exists and is a regular file. -g file True if file exists and its set group ID flag is set. -h file True if file exists and is a symbolic link. This operator is retained for compatibility with previous versions of this program. Do not rely on its existence; use -L instead. -k file True if file exists and its sticky bit is set. -n string True if the length of string is nonzero. -p file True if file is a named pipe (FIFO). -r file True if file exists and is readable. -s file True if file exists and has a size greater than zero. -t file_descriptor True if the file whose file descriptor number is file_descriptor is open and is associated with a terminal. -u file True if file exists and its set user ID flag is set. -w file True if file exists and is writable. True indicates only that the write flag is on. The file is not writable on a read-only file system even if this test indicates true. -x file True if file exists and is executable. True indicates only that the execute flag is on. If file is a directory, true indicates that file can be searched. -z string True if the length of string is zero. -L file True if file exists and is a symbolic link. -O file True if file exists and its owner matches the effective user id of this process. -G file True if file exists and its group matches the effective group id of this process. -S file True if file exists and is a socket.
-
Da die Auflösung bei TV immer gleich bleibt bekommt man dann ein kleines Bild mit viel schwarzem Rahmen darum. Nähere Info findet sich z.B.
hier -
Nach intensiven Recherchen hier im Board konnte das Problem gelöst werden. Nachdem hdparm -t einen eher mäßigen Datendurchsatz von ca. 3 MB/s lieferte und sich mit hdparm -c1 -d1 der DMA-Modus der Festplatte nicht schalten liess musste die Ursache in der Festplattenkonfiguration des BIOS liegen. Der Modus "Kompatibel" für den SATA-Controller des P5B ist ungeeignet. Ich habe daher das BIOS aktualisiert und das System nochmal neu mit "Enhanced" und AHCI für den Controller installiert (nach dem BIOS-Update ging das plötzlich auch :wand).
Danach waren auch die Aussetzer verschwunden. -
Falls von Interesse: Ich habe bei mir ca. 8 m Kabel (Unterputz) zwischen VDR und TV-Gerät verlegt. Wenn man spezielles, hochwertiges Kabel verwendet merkt man keinen großen Unterschied. Allerdings gehe ich mit dem FBAS-Signal (der Full-Featured Karte) zum TV. Außerdem habe ich die serielle Schnittstelle für den LIRC-Empfänger sowie 2 x Audio zum TV geführt. All das klappt ohne Probleme. Für das FBAS Signal verwendete ich hochwertiges 75 Ohm Video-Studiokabel. Ich gehe über eine Wandsteckdose mit einem speziell gefertigten Kabel direkt an den SCART des TV-Geräts.
Den VGA-Ausgang des Rechners zu verlängern ist allerdings schwieriger und immer mit Qualitätsverlusten verbunden. Hier empfehlen sich für größere Strecken spezielle VGA-Extender die man im Fachhandel erhält. Bis zu 10m sollte es aber noch mit guter Qualität funktionieren, vorausgesetzt man verwendet sehr hochwertige Kabel. Aber eigentlich braucht es zum TV schauen ja gar kein VGA ... da ich im Haus ein Funknetzwerk betreibe administriere ich das System per vdradmin-am über's Hausnetz mit meinem Notebook. -
Seit der Installation von Kanotix 2006-01-RC4 mit VDR-1.4.4 habe ich bei der DVB-C Karte (und nur dort) alle 10 Minuten (absolut pünktlich) einen kurzen Abriss des Datenstroms. Alle Kabelkanäle scheinen dann für ein bis zwei Sekunden nicht verfügbar zu sein (Umschalten schaltet sofort auf den nächsten Satellitenkanal bzw. sagt Kanal nicht verfügbar), danach geht es wieder normal weiter. In meinem System stecken 2 DVB-S und 1 x DVB-C Karten. Das Problem hängt nicht vom Interrupt ab, es bleibt bestehen wenn ich die DVB-C Karte mit der DVB-S Karte tausche. Die DVB-S Karten sind davon nicht betroffen.
Da dieses Problem vorher mit Installiertem ct-vdr 5 (auf VDR-1.4.3 aktualisiert) nicht bestanden hatte und ein Umstecken der Karte in einen anderen Steckplatz (= anderer Interrupt) an dieser Tatsache nichts ändert muss es irgendetwas grundsätzliches sein. Vielleicht hat einer einen Tipp für mich?
Den CT-VDR bekomme ich nicht mehr installiert - nach einem Absturz des Bootloaders konnte ich nur noch Kanotix installieren, da nur so der JMicron-Controller funktioniert.
Den SATA-Controller auf meinem ASUS-P5B habe ich auf COMPATIBLE eingestellt.