MPlayer mit Soundprobleme

  • Hallo,


    ich hab ein Problem mit dem Sound des Mplayers.
    Wenn ich filme mit dem Mplayer Plugin innerhalb von vdr abspiele, dann ist
    der Ton zu dunkel und zu langsam.


    Ich hab alles nach Sandmanns Anweisung installiert.


    Es scheint der falsche Filter gesetzt worden zu sein:
    Building audio filter chain for 36749Hz/2ch/16bit -> 48000Hz/2ch/16bit...
    Aber wie korrigiere ich das???



    Danke schonmal fuer Deine Hilfe!!!


    MFG Fritz




    Hier ma das log mit Debug=true:


    mediaportal:/usr/local/vdr # /usr/local/vdr/mplayer.sh /filme1/brennen/24\
    Stunden\ Angst/1AVSEQ01.MPG SLAVE
    root: *** Starting mplayer.sh Version 0.8.3
    root: *** DEBUG: Variable CFGFIL has value "/usr/local/vdr/mplayer.sh.conf"
    root: *** DEBUG: Variable USEAC3 has value "false"
    root: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3"
    root: *** DEBUG: Variable TV_ASPECT has value "16/9"
    root: *** DEBUG: Variable PAL has value "true"
    root: *** DEBUG: Variable NTSC has value "false"
    root: *** DEBUG: Variable USE_SPEED has value "false"
    root: *** DEBUG: Variable MPLAYER has value "/usr/local/bin/mplayer"
    root: *** DEBUG: Variable VOP has value "lavc=9000"
    root: *** DEBUG: Variable VO has value "mpegpes"
    root: *** DEBUG: Variable CACHE has value "4096"
    root: *** DEBUG: Variable CACHESTR has value "-cache 4096"
    root: *** DEBUG: Variable FRAMEDROP has value "true"
    root: *** DEBUG: Variable FDSTR has value "-framedrop"
    root: *** DEBUG: Variable LIRCRC has value "/usr/local/vdr/lircrc.conf"
    root: *** DEBUG: Variable LIRCSTR has value "-lircconf
    /usr/local/vdr/lircrc.conf"
    root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color
    0 -sub-bg-alpha 0"
    root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
    root: *** Use Option USERDEF at your own risk!
    root: *** DEBUG: Variable USERDEF has value "-quiet"
    root: *** DEBUG: Variable XResPAL has value "352 480 528 688 704 720"
    root: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
    root: *** DEBUG: Variable SLOW_CPU has value "false"
    root: *** Option DVDFiles not set correctly! You will not be able to play
    VCD/DVD
    root: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
    root: *** DEBUG: Variable VCDOPTIONS has value ""
    root: *** DEBUG: Variable MPEG_DIRECT has value "true"
    root: *** DEBUG: Variable SUFFIX has value ".mpg"
    root: *** DEBUG: Calling getvidxy function to analyze source video stream
    ...
    root: *** DEBUG: OutputFromMPLAYER: "ID_FILENAME=/filme1/brennen/24 Stunden
    Angst/1AVSEQ01.MPG
    ID_VIDEO_FORMAT=0x10000002
    ID_VIDEO_BITRATE=2496000
    ID_VIDEO_WIDTH=480
    ID_VIDEO_HEIGHT=480
    ID_VIDEO_FPS=29.970
    ID_VIDEO_ASPECT=1.3333
    ID_AUDIO_CODEC=mp3
    ID_AUDIO_FORMAT=80
    ID_AUDIO_BITRATE=224000
    ID_AUDIO_RATE=44100
    ID_AUDIO_NCH=2
    ID_LENGTH=2650"
    root: *** DEBUG: parsed output for ORIG_X: "480"
    root: *** DEBUG: parsed output for ORIG_Y: "480"
    root: *** DEBUG: parsed output for ORIG_FPS: "29.970"
    root: *** DEBUG: parsed output for ORIG_ASPECT: "1.3333"
    root: *** DEBUG: parsed output for VIDEO_FORMAT: "0x10000002"
    root: *** DEBUG: parsed output for AUDIO_CODEC: "mp3"
    root: *** INFO: Source Video has Resolution of 480 x 480 ...
    root: *** DEBUG: NTSC ""
    root: *** DEBUG: Variable MAX_X has value "1024"
    root: *** DEBUG: Variable NEW_Y has value "1024"
    root: *** INFO: For Sqare Pixels we would scale to 1024 x 1024 ...
    root: *** DEBUG: Variable XResTEMP has value "352 480 528 688 704 720"
    root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
    root: *** DEBUG: Variable NEW_X has value "480"
    root: *** DEBUG: setting REAL_Y = FULL_Y ""
    root: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo
    mpegpes -ao mpegpes -afm 9 -vop
    lavc=9000:25.000,expand=480:576:-1:-1:1,scale=480:576 -speed
    25:30 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color
    0 -sub-bg-alpha 0 -quiet "
    Using GNU internationalization
    Original domain: messages
    Original dirname: /usr/share/locale
    Current domain: mplayer
    Current dirname: /usr/local/share/locale



    MPlayer 0.90rc5-2.95.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)


    CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
    Stepping: 10)
    Detected cache-line size is 32 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
    Compiled for x86 CPU with extensions: MMX MMX2 SSE


    Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
    directory
    Reading config file /root/.mplayer/config
    Reading /root/.mplayer/codecs.conf: 50 audio & 136 video codecs
    font: can't open file: /root/.mplayer/font/font.desc
    font: can't open file: /usr/local/share/mplayer/font/font.desc
    Using Linux hardware RTC timing (1024Hz).
    Can't open input config file /root/.mplayer/input.conf : No such file or
    directory
    Can't open input config file /usr/local/etc/mplayer/input.conf : No such
    file or directory
    Falling back on default (hardcoded) input config


    Playing /filme1/brennen/24 Stunden Angst/1AVSEQ01.MPG
    Cache fill: 0.20% (8192 bytes) MPEG-PS file format detected.
    VIDEO: MPEG2 480x480 (aspect 2) 29.97 fps 2496.0 kbps (312.0 kbyte/s)
    ==========================================================================
    Trying to force audio codec driver family 9 ...
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    MP3lib: init layer2&3 finished, tables done
    AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
    Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    Opening /dev/dvb/adapter0/video0+audio0
    Opening video filter: [lavc=9000:25.000]
    Opening video filter: [expand=480:576:-1:-1:1]
    Expand: 480 x 576, -1 ; -1 (-1=autodetect) osd: 1
    Opening video filter: [scale=480:576]
    ==========================================================================
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
    The selected video_out device is incompatible with this codec.
    VDecoder init failed :(
    Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
    libmpeg2: Using MMXEXT for IDCT transform
    libmpeg2: Using MMXEXT for motion compensation
    VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 5 -> 4
    SwScaler: reducing / aligning filtersize 5 -> 4


    SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
    VO: [mpegpes] 480x576 => 640x576 Mpeg PES
    Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
    ==========================================================================
    Checking audio filter chain for 36749Hz/2ch/16bit -> 36749Hz/2ch/16bit...
    AF_pre: af format: 2 bps, 2 ch, 36749 hz, little endian signed int
    AF_pre: 36749Hz 2ch Signed 16-bit (Little-Endian)
    ao_mpegpes: 36749 Hz not supported, try to resample...
    AO: [mpegpes] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
    Building audio filter chain for 36749Hz/2ch/16bit -> 48000Hz/2ch/16bit...
    Starting playback...


    demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS changed
    to 23.976!



    MPlayer interrupted by signal 2 in module: enable_cache



    MPlayer interrupted by signal 2 in module: decode_video

  • Hi,


    das Problem ist geloest!!!


    Es liegt ein Bug im mplayer.sh Script vor.
    Hier ma die Mail vom Programmierer:


    -------------------------------------------------------------------------
    > Hello,
    > it seems, the wrong Audio codec is used:
    > Building audio filter chain for 36749Hz/2ch/16bit -> 48000Hz/2ch/16bit...


    No, the problem is that even though you set USE_SPEED to false the script
    still uses mplayer's -speed option. This is a BUG - thanks for finding it ;)


    I'll release a new version of the script in a couple of days that will
    correct this (and other minor issues).


    Be aware that you are trying to play a NTSC file on a TV set that is not
    capable of displaying NTSC (that's why you set NTSC="false" in
    mplayer.sh.conf I assume). This is not very well supported by mplayer.


    There are basically two methods to achieve this:
    1) use the -speed option and play the video with a different framerate;
    this makes a NTSC video play slower as PAL, and that's why the sound is
    lowered.


    2) don't use the -speed option. This will play the video with the
    original speed, so the sound will have the right pitch, but the picture
    may become jerky because of the mismatching frames/second. Also the sound
    may get out of sync.


    For perfect replay of an NTSC video you need to have a NTSC capable TV.


    Cheers,
    Juri
    --------------------------------------------------------------------------



    Ich hab ganz einfach diese Einstellungen geaendert:
    NTSC="true"
    Use Speed = 'true'.


    Geht einwandfrei (0.8.3)!!!!




    MFG Fritz

Jetzt mitmachen!

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