mplayer startet auch bei mir nicht

  • ctvdr 4
    Der Bildschirm wird nur kurz schwarz, dann kehrt das Fernsehbild zurück. Es liegt nicht an der "Slave"-Einstellung wie jmd an anderer Stelle beschrieben hat und ich habe auch auf "Anfang" gedrückt.
    Wenn ich mich einlogge, kann mplayer das Video abspielen (auf dem Monitor dann natürlich).
    Leider weiß ich nicht, was ich noch an relevanten Infos geben kann, außer dem hier:


    Jul 22 02:25:48 localhost logger: *** Starting mplayer.sh Version 0.8.6
    Jul 22 02:25:48 localhost logger: *** DEBUG: Variable CFGFIL has value "/etc/vdrdevel/plugins/vdrdevelmplayer.sh.conf"
    Jul 22 02:25:48 localhost logger: *** Use Option USERDEF at your own risk!
    Jul 22 02:25:49 localhost logger: *** INFO: Source Video has Resolution of 464 x 256 ...
    Jul 22 02:25:49 localhost logger: *** INFO: For Sqare Pixels we would scale to 640 x 353 ...
    Jul 22 02:26:25 localhost vdr[12999]: System Time = Fri Jul 22 02:26:25 2005 (1121991985)
    Jul 22 02:26:25 localhost vdr[12999]: Local Time = Fri Jul 22 02:26:22 2005 (1121991982)

  • Vorausgesetzt, das du mehr als eine karte hast, zb Mix aus FullFeatured und Budget, dann schau dir mal die vdrdevelmplayer.sh.conf des vdr an. Dort ist ein Eintrag welcher video out genutzt werden soll.


    Ab und an muss ich bei mir dort den vo ändern:


    mit der Option :card=2 gebe ich vor die 2.Karte des Systems zu nutzen als vo, ohne Angabe wird Karte eins genutzt ;)


    Vielleicht hilft dir das ja, wobei mehr infos zu deinem System, wie zB Distrie, Vdr Variante etc sicher hilfreicher wären, als uns raten zu lassen ;)


    LG



    Micha


    -- Debian Kernel 2.6.21.3 -- ctVDR/eTobi -- vdr 1.6.x --
    -- Coolermaster -- ASRock K7S41GX -- AMD K7 1.8GHz -- 512MB RAM --
    -- Nexus 2MB DVB-C (F12623) -- 3.5" CI & Alphacrypt 3.09 -- Nova DVB-T -- AVBoard 1.4 -- Denon AVR 1906 --

    Einmal editiert, zuletzt von Mysterix ()

  • Danke, aber daran lag es wohl nicht.


    ct-vdr 4
    VideoDiskRecorder 1.2.6, bzw. 1.3.24-1
    plugin-mplayer 0.9.12-3


    Nexus-S rev 2.3
    Es steckt auch noch eine analoge Karte in der Kiste, es ist aber kein Analog-Plugin installiert.


    mplayer --version
    MPlayer 1.0pre7-3.3.5


    Was könnte sonst noch weiterhelfen? ?(

  • Ich habe mal in
    /etc/vdr/plugins/vdrmplayer.sh.conf
    das "#" vor
    DEBUG="true"
    gelöscht in der Hoffnung, weitere Infos zu bekommen.
    Andererseits ruft vdr mplayer mit der Option -quiet auf.


    Naja, aus /var/log/debug:


    Jul 24 03:04:04 localhost vdr[31933]: mplayer: mplayer child started (pid=31933)Jul 24 03:09


    Aus /var/log/messages:


    Jul 24 03:04:04 localhost logger: *** Starting mplayer.sh Version 0.8.6
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/vdrmplayer.sh.conf"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable USEAC3 has value "false"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable TV_ASPECT has value "4/3"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable PAL has value "true"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable NTSC has value "true"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable USE_SPEED has value "true"Jul 24 03:04:04 localhost logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable VOP has value "lavc=5000"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable VO has value "mpegpes"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable AO has value "mpegpes"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable CACHE has value "4096"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable CACHESTR has value "-cache 4096"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable FRAMEDROP has value "true"Jul 24 03:04:04 localhost logger: *** DEBUG: Variable FDSTR has value "-framedrop"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable LIRCRC has value ""
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable LIRCSTR has value ""
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable REMOTE has value ""
    Jul 24 03:04:04 localhost logger: *** Use Option USERDEF at your own risk!
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable USERDEF has value "-quiet"Jul 24 03:04:04 localhost logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable SLOW_CPU has value "false"Jul 24 03:04:04 localhost logger: *** DEBUG: Variable DVDFiles has value "/var/lib/vdr-plugin-mplayer/DVD-VCD"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable DVD has value "/dev/hdc"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable DVDLANG has value "de"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable VCDOPTIONS has value ""
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable MPEG_DIRECT has value "true"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable SUFFIX has value ".avi"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Variable MPLAYER_V1 has value "true"
    Jul 24 03:04:04 localhost logger: *** DEBUG: Calling getvidxy function to analyze source video stream ...
    Jul 24 03:04:06 localhost logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_FILENAME=/video/1.AVI ID_VIDEO_FORMAT=DIVX ID_VIDEO_BITRATE=1016208 ID_VIDEO_WIDTH=704 ID_VIDEO_HEIGHT=384 ID_VIDEO_FPS=29.970 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mad ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=2928"
    Jul 24 03:04:06 localhost logger: *** DEBUG: MPLAYER_RETURN: "0"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for ORIG_X: "704"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for ORIG_Y: "384"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for ORIG_FPS: "29.970"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for VIDEO_FORMAT: "DIVX"
    Jul 24 03:04:06 localhost logger: *** DEBUG: parsed output for AUDIO_CODEC: "mad"
    Jul 24 03:04:06 localhost logger: *** INFO: Source Video has Resolution of 704 x 384 ...
    Jul 24 03:04:06 localhost logger: *** DEBUG: NTSC ""
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable MAX_X has value "640"
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable NEW_Y has value "349"
    Jul 24 03:04:06 localhost logger: *** INFO: For Sqare Pixels we would scale to 640 x 349 ...
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable XResTEMP has value "352 480 512 640 704 720"
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable NEW_X has value "704"
    Jul 24 03:04:06 localhost logger: *** DEBUG: setting REAL_Y = FULL_Y ""
    Jul 24 03:04:06 localhost logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:30,expand=704:480:-1:-1:1,scale=704:349 -framedrop -cache 4096 -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 -quiet "

  • slime hat an anderer Stelle vorgeschlagen

    Zitat


    - als root einloggen,
    - stoppe vdr,
    - führe aus: /usr/local/bin/mplayer.sh filmname.avi


    Bei mir ist das zwar /usr/lib/vdr-plugin-mplayer/mplayer.sh
    aber ich habe es probiert.
    Mit VO="mpegpes" kommt:


    Could not open codec
    FATAL: Cannot initialize video driver
    FATAL: Could not initialize video filters (-vf) or video output (-vo)


    Mit VO="mpegpes:card=2" kommt:


    Opening /dev/dvb/adapter1/video0+audio0
    DVB VIDEO DEVICE: No such file or directory
    Error opening/initializing the selected video_out (-vo) device


    ls -la /dev/dvb
    drwxr-xr-x 2 root root 200 2005-07-25 22:52 adapter0



    Tja, card=2 offenbar richtig, aber adapter0 ist natürlich nicht adapter1. Wie behebe ich jetzt den Schlamassel? (Auf der Ebene mag ich nicht wild herumprobieren, ohne zu wissen, was ich tue.)

  • Ich hatte gedacht, ich versuche das mal mit Links rumzubiegen, dabei ist mir aufgefallen:


    ls -la /dev/dvb/adapter0/
    insgesamt 0
    drwxr-xr-x 2 root root 200 2005-07-29 02:23 .
    drwxr-xr-x 3 root root 60 2005-07-29 02:23 ..
    crw-rw---- 1 root video 212, 1 2005-07-29 02:23 audio0
    crw-rw---- 1 root video 212, 6 2005-07-29 02:23 ca0
    crw-rw---- 1 root video 212, 4 2005-07-29 02:23 demux0
    crw-rw---- 1 root video 212, 5 2005-07-29 02:23 dvr0
    crw-rw---- 1 root video 212, 3 2005-07-29 02:23 frontend0
    crw-rw---- 1 root video 212, 7 2005-07-29 02:23 net0
    crw-rw---- 1 root video 212, 8 2005-07-29 02:23 osd0
    crw-rw---- 1 root video 212, 0 2005-07-29 02:23 video0


    d.h. /dev/dvb/adapter0/video0+audio0 existiert auch nicht! 8o
    Was nun?

  • Zitat

    Originally posted by RolfGF
    FATAL: Cannot initialize video driver
    FATAL: Could not initialize video filters (-vf) or video output (-vo)


    das hätte ich gerne genauer: hier scheint der eigentliche fehler zu sein.


    wegen audio0+video0... das ist nur eine abkürzende schreibweise. mehr nicht.
    mit VO=mpegpes hast du scheinbar schon dierichtige karte gefunden.
    wie kommst du darauf, dass card=2 richtig ist? da steht doch ausdrücklich: "Error opening/initializing the selected video_out (-vo) device".

  • Moin slime!
    Ich hatte gedacht card=2 sei richtig, weil dann die Fehlermeldung konkreter ist.


    VO="mpegpes" gibt ja nur dieses allgemeine:


    Could not open codec
    FATAL: Cannot initialize video driver
    FATAL: Could not initialize video filters (-vf) or video output (-vo)


    Wenn das doch die bessere Spur ist:



    Starting playback...
    [mpeg4 @ 0xb7f2b008]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
    VDec: vo config request - 704 x 384 (preferred csp: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 6 -> 5
    SwScaler: reducing / aligning filtersize 6 -> 5


    SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
    [mpeg1video @ 0xb7f2b008]only YUV420 is supported
    Could not open codec.
    FATAL: Cannot initialize video driver.


    FATAL: Could not initialize video filters (-vf) or video output (-vo).

  • Zitat

    Originally posted by RolfGF
    Moin slime!
    Ich hatte gedacht card=2 sei richtig, weil dann die Fehlermeldung konkreter ist.


    schlechte idee.
    im ersten fall kam keine fehlermeldung :)


    Zitat

    SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
    [mpeg1video @ 0xb7f2b008]only YUV420 is supported
    Could not open codec.
    FATAL: Cannot initialize video driver.


    FATAL: Could not initialize video filters (-vf) or video output (-vo).


    mmh. sieht so aus, als ob entweder
    - das movie defekt ist
    - mplayer den codec nicht kennt
    - die farbraumkonversation nicht klappt
    - ein sonstiger fehler, den ich nicht bedacht habe


    laufen denn andere filme?
    teste mal verschiedene formate (sowohl container als auch codec)
    probier vor allem mal filme im mpeg format.


    wenn andere filme laufen, dann starte mplayer mal im verbose-modus. dann werden die ausgaben detailierter. (irgendwo in der config müsset ein "-quiet" stehen, ersetz das durch "-v"; am besten in der doku genau nachlesen)

  • Einige Fehler kann ich ausschließen:
    Ich habe mir einen zusätzlichen User angelegt. Wenn ich mich mit dem einlogge und dann das Video unter KDE mit mplayer abspiele, funktioniert das!
    mpeg1 und wmv habe ich auch schon getestet, aber ich kann ja nochmal rumprobieren.


    -quiet habe ich schon irgendwo gesehen, probiere ich aus.

  • Naja, ein auszuschließener Fehler wäre z.B. Movie defekt ;)


    Huiiiii, mpeg1 funktioniert doch :) , da hatte ich wohl nicht gründlich genug getestet (die letzten Zeilen kommen erst nach Abbruch der Wiedergabe):



    Bei dem avi kommt jetzt:



    Mir ist nur aufgefallen:
    mpg: uninit video: mpegpes
    avi: uninit video: ffmpeg


    Da habe ich gleich mal kontrolliert, ob ffmpeg überhaupt installiert ist: War es nicht 8o , habe ich aber gleich nachgeholt. Fehlermeldung ist trotzdem gleich geblieben. :(

  • Hallo
    Ich hatte mal das selbe Problem.
    Nach langen suchen Habe ich mal die Firmware der Karte getauscht gegen die Version D !! Denn ich hatte die Letzte drauf.
    Mit der D Firmware ging es dann sofort.


    Werner

    MB ASUS A7N8X-E Deluxe, AMD Athlon(tm) XP 2600+, 512 MB RAM, MiniVDR 1.3 ,Kernel 2.6.13-2, SAMSUNG SP2514N (Kapazität: 250 GiB), SAMSUNG SV1203N (Kapazität: 120 GiB), TT 1.3 DVBs, Skystar2, ATX Desktop Gehäuse, GLCD 128 x 64, LIRC-FB, Opical & COAX-Digi Out über Asus SP-dif an DVB. VDR Version 1.3.28

  • installiert
    libavcodec1 1:0.4.8-0.5
    libavcodeccvs 3:20050427-0.2


    nicht installiert
    libavcodec2 1:0.4.9-pr
    libavcodeccvs 3:20050427-0sarge0.1


    Hilft das weiter?


    Firmware? Keine Ahnung. Was die ct-vdr4 mir da halt installiert hat. Ich habe in aptitude nach "firmware", "dvb" und "ttpci" gesucht und nichts passendes gefunden.

  • schnapp dir mal das paket, welches ich in dem anderen thread erwähnt habe.
    ich denke das damit dein problem gelöst ist (wie konnte ich das ursprünglich nur übersehen).


    das mit der firmware sollte in ordnung sein, solange du nicht selber rumgefufscht hast :)
    die version erkennst du beim laden der treiber (am ender der einen zeile steht was in der art: '0261d', das iist die version)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!