mplayer

  • Hi!


    Habe schon diverse Themen durchgeschaut, aber für mein Problem leider keine Lösung gefunden:


    mplayer bricht bei der Wiedergabe immer ab. Man sieht nur kurz ein schwarzes Bild und dann erscheind wieder das normale TV Programm.


    Das komische ist aber, dass ich die selben Videos mit einem anderen Fernseher (und Tastatur) wiedergeben kann.


    Ich habe in der Datei: /usr/bin/mplayer.sh.conf ntsc=false und useac3=false
    eingestellt.


    mfg
    Pauli

    Hardware:
    Server + Client:

    Zotac ION ITX F
    Antec ISK 300-65
    Tevii S660
    Terratec Cinergy T Stick RC
    Pollin X10
    Trust Thinity Wireless Entertainment Keyboard


    Software:
    archlinux = aktuelle stabile Versionen

  • hmm, die obligatorische fragen:


    was sagen die logs ?


    was passiert,, bzw sagt mplayer wenn du das gleiche video per konsole startest (mplayer -vo mpgpes film.mpg)



    Grüsse


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

  • Zitat

    Originally posted by pauli8585
    Das komische ist aber, dass ich die selben Videos mit einem anderen Fernseher (und Tastatur) wiedergeben kann.


    ?? also du klemmst einen anderen fernseher und eine eine andere tastatur an deinen vdr, und schon gehst? das ist - zumindest für mich - nicht im geringsten nachvollziehbar.


    wie ist denn die fehlermeldung (evtl. mplayer.sh standalone ohne vdr starten).

  • Danke für die Antworten!


    logread:


    Jul 14 11:04:14 linvdr user.debug vdr[1230]: mplayer: mplayer child started (pid=1230)
    Jul 14 11:04:14 linvdr user.debug vdr[1231]: mplayer: player thread started (pid=1231)
    Jul 14 11:04:14 linvdr user.notice root: *** Starting mplayer.sh Version 0.8.6
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable CFGFIL has value "/usr/bin/mplayer.sh.conf"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable USEAC3 has value "false"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable AC3AOUT has value "-ac hwac3"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable TV_ASPECT has value "4/3"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable PAL has value "true"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable NTSC has value "false"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable USE_SPEED has value "false"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable VOP has value "lavc=5000"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable VO has value "mpegpes"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable AO has value "mpegpes -afm 9"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable CACHE has value "4096"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable CACHESTR has value "-cache 4096"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable FRAMEDROP has value "true"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable FDSTR has value "-framedrop"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable LIRCRC has value ""
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable LIRCSTR has value ""
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
    Jul 14 11:04:14 linvdr user.notice root: *** Use Option USERDEF at your own risk!
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable USERDEF has value "-quiet"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable XResPAL has value "352 480 528 688 704 720"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable SLOW_CPU has value "false"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD ""
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable DVDFiles has value ""
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable DVD has value "/dev/dvd"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable DVDLANG has value "de"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable VCDOPTIONS has value ""
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable MPEG_DIRECT has value "true"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable SUFFIX has value ".mpg"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Variable MPLAYER_V1 has value "true"
    Jul 14 11:04:14 linvdr user.notice root: *** DEBUG: Calling getvidxy function to analyze source video stream ...
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_FILENAME=/mnt/usbstick/blabla.mpg ID_VIDEO_FORMAT=0x10000001 ID_VIDEO_BITRATE=2290400 ID_VIDEO_WIDTH=384 ID_VIDEO_HEIGHT=288 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_LENGTH=5"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: MPLAYER_RETURN: "0"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for ORIG_X: "384"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for ORIG_Y: "288"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for ORIG_FPS: "25.000"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for VIDEO_FORMAT: "0x10000001"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: parsed output for AUDIO_CODEC: ""
    Jul 14 11:04:16 linvdr user.notice root: *** INFO: Source Video has Resolution of 384 x 288 ...
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: PAL or unknown "25.000"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable MAX_X has value "768"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable NEW_Y has value "576"
    Jul 14 11:04:16 linvdr user.notice root: *** INFO: For Sqare Pixels we would scale to 768 x 576 ...
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable XResTEMP has value "352 480 528 688 704 720"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable NEW_X has value "480"
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: setting REAL_Y = FULL_Y ""
    Jul 14 11:04:16 linvdr user.notice root: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -afm 9 -vop lavc=5000:25,expand=480:576:-1:-1:1,scale=480:576 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 -quiet "
    Jul 14 11:04:19 linvdr user.debug vdr[1320]: Text2Skin: menu display update thread started (pid=1320, tid=13322)
    Jul 14 11:04:25 linvdr user.debug vdr[1231]: mplayer: player thread ended (pid=1231)
    Jul 14 11:04:25 linvdr user.debug vdr[1320]: Text2Skin: menu display update thread ended (pid=1320, tid=13322)
    Jul 14 11:04:25 linvdr user.debug vdr[1321]: mplayer: mplayer child started (pid=1321)
    Jul 14 11:04:25 linvdr user.notice root: *** Starting mplayer.sh Version 0.8.6
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable CFGFIL has value "/usr/bin/mplayer.sh.conf"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable USEAC3 has value "false"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable AC3AOUT has value "-ac hwac3"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable TV_ASPECT has value "4/3"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable PAL has value "true"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable NTSC has value "false"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable USE_SPEED has value "false"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable VOP has value "lavc=5000"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable VO has value "mpegpes"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable AO has value "mpegpes -afm 9"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable CACHE has value "4096"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable CACHESTR has value "-cache 4096"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable FRAMEDROP has value "true"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable FDSTR has value "-framedrop"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable LIRCRC has value ""
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable LIRCSTR has value ""
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
    Jul 14 11:04:25 linvdr user.notice root: *** Use Option USERDEF at your own risk!
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable USERDEF has value "-quiet"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable XResPAL has value "352 480 528 688 704 720"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable SLOW_CPU has value "false"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD ""
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable DVDFiles has value ""
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable DVD has value "/dev/dvd"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable DVDLANG has value "de"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable VCDOPTIONS has value ""
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable MPEG_DIRECT has value "true"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable SUFFIX has value "mpeg"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Variable MPLAYER_V1 has value "true"
    Jul 14 11:04:25 linvdr user.notice root: *** DEBUG: Calling getvidxy function to analyze source video stream ...
    Jul 14 11:04:25 linvdr user.debug vdr[1322]: mplayer: player thread started (pid=1322)
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=0 ID_FILENAME=/mnt/usbstick/blabla.mpeg ID_VIDEO_FORMAT=0x10000001 ID_VIDEO_BITRATE=1638400 ID_VIDEO_WIDTH=768 ID_VIDEO_HEIGHT=540 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=1.3333 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=80 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_LENGTH=7"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: MPLAYER_RETURN: "0"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for ORIG_X: "768"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for ORIG_Y: "540"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for ORIG_FPS: "25.000"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for ORIG_ASPECT: "1.3333"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for VIDEO_FORMAT: "0x10000001"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: parsed output for AUDIO_CODEC: "mp3"
    Jul 14 11:04:26 linvdr user.notice root: *** INFO: Source Video has Resolution of 768 x 540 ...
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: PAL or unknown "25.000"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable MAX_X has value "768"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable NEW_Y has value "540"
    Jul 14 11:04:26 linvdr user.notice root: *** INFO: For Sqare Pixels we would scale to 768 x 540 ...
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable XResTEMP has value "352 480 528 688 704 720"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable AnzahlVonXResTEMP has value "6"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable NEW_X has value "720"
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: setting REAL_Y = FULL_Y ""
    Jul 14 11:04:26 linvdr user.notice root: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -afm 9 -vop lavc=5000:25,expand=720:576:-1:-1:1,scale=720:540 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 -quiet "
    Jul 14 11:04:29 linvdr user.debug vdr[1322]: mplayer: player thread ended (pid=1322)
    Jul 14 11:05:01 linvdr cron.notice crond[1200]: USER root pid 1412 cmd convert.pl -q -s



    mfg
    Pauli

    Hardware:
    Server + Client:

    Zotac ION ITX F
    Antec ISK 300-65
    Tevii S660
    Terratec Cinergy T Stick RC
    Pollin X10
    Trust Thinity Wireless Entertainment Keyboard


    Software:
    archlinux = aktuelle stabile Versionen

    Einmal editiert, zuletzt von pauli8585 ()

  • Ab und zu kann er ein Video abspielen.


    Wenn ich runvdr stoppe und ein Video mit mplayer.sh wiedergebe bekomme ich folgende Fehlermeldung:


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


    # Config File for mplayer.sh ...
    #
    # ***
    # *** Mandatory Values
    # ***
    #
    # Where to find mplayer executable ?
    MPLAYER="/usr/bin/mplayer"
    MPLAYER_V1=true


    # Video Out Filter lavc or fame - see mplayer DVB docs for details !
    #VOP="lavc=30"
    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"


    AO="mpegpes -afm 9"


    # X-Resolutions for the DVBs card (smallest value first !)
    #
    XResPAL=(352 480 528 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.
    #
    # At least _one_ has to be 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="false"


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


    # 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/
    DVDFiles="/video/plugins/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 poosible?
    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

    Hardware:
    Server + Client:

    Zotac ION ITX F
    Antec ISK 300-65
    Tevii S660
    Terratec Cinergy T Stick RC
    Pollin X10
    Trust Thinity Wireless Entertainment Keyboard


    Software:
    archlinux = aktuelle stabile Versionen

  • Tut mir leid!
    Habe gerade die Suchfunktion verwendet und ein Thema zu dem Problem gefunden.


    Also werde schauen ob ich das jetzt zusammenbringe.


    mfg
    Pauli

    Hardware:
    Server + Client:

    Zotac ION ITX F
    Antec ISK 300-65
    Tevii S660
    Terratec Cinergy T Stick RC
    Pollin X10
    Trust Thinity Wireless Entertainment Keyboard


    Software:
    archlinux = aktuelle stabile Versionen

  • Weils mir auch schon passiert ist: Hast Du die Videos vielleicht schon mal im vdr wiedergegeben? Dann musst Du unter Umständen die Videos mit der grünen Taste auf den Anfang zurücklegen, da sich der vdr die Position in den videos merkt. Du wärst dann immer am Ende der Videos...

  • Frankman:


    Danke für deinen Tipp!!!
    Das war der Fehler. 8o


    Die Einstellung für den Video Output habe ich auch
    gleich gelassen wie früher (siehe oben).


    Ich dachte, dass es am Fernseher lag.


    Werde in Zukunft das OSD Menü genauer betrachten. :)


    mfg
    Pauli

    Hardware:
    Server + Client:

    Zotac ION ITX F
    Antec ISK 300-65
    Tevii S660
    Terratec Cinergy T Stick RC
    Pollin X10
    Trust Thinity Wireless Entertainment Keyboard


    Software:
    archlinux = aktuelle stabile Versionen

Jetzt mitmachen!

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