MPlayer spielt Videos nicht ab

  • Hi,
    hab den MPlayer endlich soweit die CD/DVD zu mounten, hab ihn nach Anleitung selbst compiliert, installier etc...


    Nur wenn ich jetzt ein Video auswähle, dann wird das bild kurz schwarz, und geht dann zurück zum TV-Modus.


    Er spielt es also nicht ab, obwohl eigentlich alles installiert sein müsste.


    Codecs hab ich über apt-get install w32codecs installiert, reicht das? oder muss ich da noch irgendwas rumkopieren?


    habe die c't distribution


    die vdrmplayer.sh.conf hab ich auch schon angepasst, aber konnte das ganze ja noch nicht ausprobieren...


    bin für jeden tipp dankbar

  • gib doch mal ein paar details über hardware und software und treiber.
    ausserdem ist es kein fehler, mal einen auszug aus dem log zu posten.


    gedankenlesen oder ferndiagnose kann hier leider keiner...


    gruessle

    RavenIV


    ----------------------------------------------------------------------


    LINUX - das längste text-adventure aller zeiten...

  • also hab das Hermes 651-P mit einer Nexus-S und einer Nova und das ganze läuft auf der c't distribution


    mounten lässt sich die cd per mplayer im menü und ich seh auch den inhalt, nur wenn ich auf ein video klicke, dann wird der bildschirm nur kurz schwarz und es kommt wieder das tvbild - das gleiche passiert auch wenn ich irgend eine andere nicht-videodatei abspielen lassen will, also vermute ich das codecs fehlen oder so :)


    in welcher log soll ich gucken?


    sorry, poste nicht umsonst im newbebereich :rolleyes: :D

  • beim c't-VDR ist doch der logread dabei.
    ansonsten schaust du in /var/log/messages


    poste mal den bereich, wenn du eine CD anschauen willst.



    gruessle

    RavenIV


    ----------------------------------------------------------------------


    LINUX - das längste text-adventure aller zeiten...

  • hier die log ab dem mouten der cd


    Jul 26 13:15:35 vdr vdr[452]: info: Montieren erfolgreich
    Jul 26 13:15:47 vdr logger: *** Starting mplayer.sh Version 0.8.5
    Jul 26 13:15:47 vdr logger: *** DEBUG: Variable CFGFIL has value "/usr/sbin/vdrmplayer.sh.conf"
    Jul 26 13:15:47 vdr logger: *** Use Option USERDEF at your own risk!
    Jul 26 13:15:49 vdr logger: *** INFO: Source Video has Resolution of 608 x 256 ...
    Jul 26 13:15:49 vdr logger: *** INFO: For Sqare Pixels we would scale to 768 x 323 ...



    und die mplayer.sh


    # 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"


    # 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="false"


    # 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="-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 plugin)
    # 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="/video/plugins/DVD-VCD"


    # What is your DVD-ROM device ?
    DVD="/dev/hdc"


    # 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="true"


    #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"
    USERDEF="-quiet"
    #USERDEF=""


    # set to true to enable debugging output
    #DEBUG="true"


    # End of Options

  • kommentier das mal aus


    # set to true to enable debugging output
    DEBUG="true"


    dann wirst auch in /var/log/messages was finden

    Software: e-tobi (1.4.7-2ctvdr3), etch (2.6.18-5-486)
    Hardware: ASUS Pundit AB-P2600, Celeron 2.4GHz, Ram 256MB, Hauppauge DVB-c rev2.1, TT DVB-c Budget rev1.0, 460GB, URC- 8203 @ Zapway IR
    Surround: Denon AVR-1801 & Magnat Prisma 5100a Boxen
    Patches/Addons: nvram, noad, vdrconvert
    Plugins: mplayer, mp3, dvd, dvdselect, text2skin, nordlichtsEPG, vdradmin-am, epgsearch, femon
    EPG: epg4vdr
    _____________________
    UPC Telekabel Austria

  • Jul 26 14:22:55 vdr logger: *** Starting mplayer.sh Version 0.8.5
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable CFGFIL has value "/usr/sbin/vdrmplayer.sh.conf"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable USEAC3 has value "false"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable TV_ASPECT has value "4/3"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable PAL has value "true"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable NTSC has value "false"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable USE_SPEED has value "true"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable VOP has value "lavc=5000"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable VO has value "mpegpes"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable AO has value "mpegpes"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable CACHE has value "4096"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable CACHESTR has value "-cache 4096"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable FRAMEDROP has value "true"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable FDSTR has value "-framedrop"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable LIRCRC has value "/video/.lircrc"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /video/.lircrc"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
    Jul 26 14:22:55 vdr logger: *** Use Option USERDEF at your own risk!
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable USERDEF has value "-quiet"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable SLOW_CPU has value "false"
    Jul 26 14:22:55 vdr logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD ""
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable DVDFiles has value ""
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable DVD has value "/dev/hdc"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable DVDLANG has value "de"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable VCDOPTIONS has value ""
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable MPEG_DIRECT has value "true"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable SUFFIX has value ".avi"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Variable MPLAYER_V1 has value "true"
    Jul 26 14:22:55 vdr logger: *** DEBUG: Calling getvidxy function to analyze source video stream ...
    Jul 26 14:22:55 vdr logger: *** DEBUG: OutputFromMPLAYER: "ID_FILENAME=/cdrom/gwl-hdre3.avi ID_VIDEO_FORMAT=DIV3 ID_VIDEO_BITRATE=1498560 ID_VIDEO_WIDTH=608 ID_VIDEO_HEIGHT=256 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=192000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_LENGTH=3233"
    Jul 26 14:22:55 vdr logger: *** DEBUG: MPLAYER_RETURN: "0"
    Jul 26 14:22:55 vdr logger: *** DEBUG: parsed output for ORIG_X: "608"
    Jul 26 14:22:55 vdr logger: *** DEBUG: parsed output for ORIG_Y: "256"
    Jul 26 14:22:55 vdr logger: *** DEBUG: parsed output for ORIG_FPS: "25.000"
    Jul 26 14:22:55 vdr logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
    Jul 26 14:22:55 vdr logger: *** DEBUG: parsed output for VIDEO_FORMAT: "DIV3"
    Jul 26 14:22:56 vdr logger: *** DEBUG: parsed output for AUDIO_CODEC: "mp3"
    Jul 26 14:22:56 vdr logger: *** INFO: Source Video has Resolution of 608 x 256 ...
    Jul 26 14:22:56 vdr logger: *** DEBUG: PAL or unknown "25.000"
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable MAX_X has value "768"
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable NEW_Y has value "323"
    Jul 26 14:22:56 vdr logger: *** INFO: For Sqare Pixels we would scale to 768 x 323 ...
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable XResTEMP has value "352 480 528 544 688 704 720"
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "7"
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable NEW_X has value "688"
    Jul 26 14:22:56 vdr logger: *** DEBUG: setting REAL_Y = FULL_Y ""
    Jul 26 14:22:56 vdr logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25.000,expand=688:576:-1:-1:1,scale=688:323 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 0 -quiet "

  • Ich frag mal vorsichtig, DVB-Unterstützung für mplayer ist aktiviert?


    AleX

    Hardware: Intel Cel 1Ghz+, 256MB, 420GB HD, TT DVB-S (Premium) Rev 1.5, 2* Activy DVB-S (Budget), PVR-250, Lirc-USB (ati-rf-remote)
    #############################################
    Software: Debian Etch 2.6.16.1, DVB-Kernel, VDR 1.3.42 + enAIO + noEPG +weitere Patches
    Plugins: tvonscreen, femon, streamdev, mplayer, vdradmin, wapd,
    osdteletext, vcd, dvd, burn, vdrrip
    Other: nvram mit rebootscript
    IRC-Nick: df-h

  • hi,
    in solchen fällen bietet es sich an den mplayer OHNE vdr (vdr darf nicht laufen) direkt aus der kommandozeile zu starten.
    am besten dazu die kommandozeile nehmen die das mplayer.sh script ausgibt (die ist im allgemeinen korrekt).
    dann einfach kucken was passiert. welche ausgeben kommen. kommt evtl auch ein bild, ...

  • Zitat

    Original von alex-zero
    Ich frag mal vorsichtig, DVB-Unterstützung für mplayer ist aktiviert?


    AleX


    wo kann ich das überprüfen?
    hab mplayer nach der c't internetseite compiliert und installiert

  • Moin,


    gib mal


    "mplayer -vo help|grep mpegpes"


    ein ... wenn dann da steht:


    mpegpes Mpeg-PES to DVB card


    ist alles in Ordnung.. DVB unterstützung ist drin .. wenn da jedoch was anderes steht ist die DVB unterstützung nicht mit drin...



    Gruss
    AleX

    Hardware: Intel Cel 1Ghz+, 256MB, 420GB HD, TT DVB-S (Premium) Rev 1.5, 2* Activy DVB-S (Budget), PVR-250, Lirc-USB (ati-rf-remote)
    #############################################
    Software: Debian Etch 2.6.16.1, DVB-Kernel, VDR 1.3.42 + enAIO + noEPG +weitere Patches
    Plugins: tvonscreen, femon, streamdev, mplayer, vdradmin, wapd,
    osdteletext, vcd, dvd, burn, vdrrip
    Other: nvram mit rebootscript
    IRC-Nick: df-h

  • Das selbe Problem hatte ich auch.
    Mplayer erwartet die Nexus als Device 0
    Bei mir hat ein tauschen der Steckplätze von der Nexus
    und der Nova geholfen.
    Es gibt dazu auch mehrere Breiträge zu diesem in diesem Forum.

    Server
    SW: Suse 9.3 Prof , VDR 1.4.0 Bigpatch+ Pluginsammlung , div. Plugins ,
    HW: PIII 933 ,Nexus 2.2 ,2* Nova , Hardware Wakeup +Software 1.2 von Frank Jepsen mit Pollin LCD, ICE-Display


    Clients:
    MediaMVP
    Showcenter200 mit MTPCenter 1.01
    ctVDR4.5 mit KNC1 und DXR3 im Scenic Gehäuse

  • ok, das probier ich gleich mal aus


    ich hab schon ewig im forum gesucht aber nichts passendes gefunden und deshalb hab ich einen eigenen thread aufgemacht


    falls der kartentausch nicht klappt, hier mal die ausgabe wenn ich ein video manuell starten will (VDR beendet)


    vdr:/# mplayer -vo mpegpes -ao mpegpes /video/film02.mpg
    MPlayer 1.0pre4-2.95.4 (C) 2000-2004 MPlayer Team


    CPU: Intel Pentium 4/Xeon Willamette 1865 MHz (Family: 8, Stepping: 3)
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection - WARNING - this is not optimal!
    To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
    Reading config file /etc/mplayer/mplayer.conf
    Reading config file /root/.mplayer/config
    Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': Dat
    ei oder Verzeichnis nicht gefunden
    Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': Datei o
    der Verzeichnis nicht gefunden
    Using built-in default codecs.conf.
    font: can't open file: /root/.mplayer/font/font.desc
    font: can't open file: /usr/share/mplayer/font/font.desc
    Using Linux hardware RTC timing (1024Hz).
    Can't open input config file /root/.mplayer/input.conf: Datei oder Verzeichnis n
    icht gefunden
    Can't open input config file /etc/mplayer/input.conf: Datei oder Verzeichnis nic
    ht gefunden
    Falling back on default (hardcoded) input config


    Playing /video/film02.mpg.
    MPEG-PS file format detected.
    VIDEO: MPEG1 352x288 (aspect 1) 25,000 fps 1300,0 kbps (162,5 kbyte/s)
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    MP3lib: init layer2&3 finished, tables done
    AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192,0 kbit)
    Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    Opening /dev/dvb/adapter0/video0+audio0
    DVB VIDEO DEVICE: : Kein passendes Gerät gefunden
    Error opening/initializing the selected video_out (-vo) device.



    Exiting... (End of file)



    der scheint da ja alle möglichen configs nicht zu finden, muss ich das nch irgendwo anpassen?


    beim output driver hatte ich x11 genommen, aber keine ahnung ob das richtig war...

  • Zitat

    Original von g4nG5T4
    Opening /dev/dvb/adapter0/video0+audio0
    DVB VIDEO DEVICE: : Kein passendes Gerät gefunden
    Error opening/initializing the selected video_out (-vo) device.


    Tjo, du hast keine DVB Karte .. bzw. den Treiber nicht gestartet. Oder Mplayer versucht auf einer Budget-Karte auszugeben.


    Gruss
    AleX

    Hardware: Intel Cel 1Ghz+, 256MB, 420GB HD, TT DVB-S (Premium) Rev 1.5, 2* Activy DVB-S (Budget), PVR-250, Lirc-USB (ati-rf-remote)
    #############################################
    Software: Debian Etch 2.6.16.1, DVB-Kernel, VDR 1.3.42 + enAIO + noEPG +weitere Patches
    Plugins: tvonscreen, femon, streamdev, mplayer, vdradmin, wapd,
    osdteletext, vcd, dvd, burn, vdrrip
    Other: nvram mit rebootscript
    IRC-Nick: df-h

Jetzt mitmachen!

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