#97 Freeze with mplayer from CVS

CVS
closed-invalid
Kevin DeKorte
Plugin (92)
5
2006-05-16
2006-05-15
Seph Soliman
No

I've gotten the newest version of mplayer (CVS) and
compiled it. It works fine by itself, but the plugin
has touble playing some streams. When I go to
apple.com/trailers there is a small
intro/commercial-trailer that tells me to "check out my
newest movie". Apparently that one works fine. When I
go to the Mission Impossible III trailer teaser (large)
I get to initializing and then the browser freezes.

www.dr.dk - click some of the radio links there, ex:
"DR Boogieradio" which should pop up a netplayer for
the Danish National radio (their pop radio channel).
The plugin also makes the browser freeze. But I cannot
see any statustext, but all I get is the gray
background where the player should be (which means it's
doing some init. but didn' finish before the crash i
guess).

I tried using both mplayerplug-in from CVS and the
current stable version without any luck.

DR has some interest in supporting linux and mplayer to
play their radio (and video) and I've heard (i'm not
100% sure) that they had freeze-up problems too (but i
don't know anything about their set-up).

Regards,
Seph

Discussion

  • Kevin DeKorte
    Kevin DeKorte
    2006-05-15

    Logged In: YES
    user_id=685413

    I am using
    MPlayer dev-CVS-060428-13:14-4.1.0
    and developer CVS of mplayerplug-in (anonymous CVS is VERY
    old I believe, have you tried the daily code drops off the
    download page)

    I see none of the problems you are having.

    I was able to play the MI:3 trailer with no problems
    I was able to work with www.dr.dk with no problems (I use
    that site as a test case, so normally it works). There is up
    to a minute delay for it to load the audio, but it does work
    and there is no hang.

    You my try setting debug=1 in the mplayerplug-in.conf file
    and then running firefox from a terminal and seeing the
    debug messages that come out. Perhaps there is a problem
    that will appear.

    What information does "about:plugins" give you about
    mplayerplug-in?

     
  • Seph Soliman
    Seph Soliman
    2006-05-15

    Logged In: YES
    user_id=831311

    I'm using: MPlayer dev-CVS-060506-14:05-4.0.4 (C) 2000-2006
    MPlayer Team
    (got it through CVS - and i don't think it's old since i'm
    using the (g)mplayer with the new gtk2 interface)

    No, I didn't try the daily dump, but as you can see: i'm
    running the latest CVS.

    about:plugins gives me a lot, but mainly it's this that
    should be interesting (so yes, the plugin is registered):
    File name: mplayerplug-in-wmp.so
    mplayerplug-in 3.25

    The following was my output from the terminal:

    seph@matilde:~$ firefox
    mimetype: application/x-mplayer2
    Embedded mode
    Argument Name: id
    Argument Value: idMediaPlayer
    Argument Name: pluginspage
    Argument Value: http://microsoft.com/Windows/MediaPlayer/
    Argument Name: type
    Argument Value: application/x-mplayer2
    Argument Name: src
    Argument Value:
    http://www.dr.dk/netradio/metafiler/asx/DR_Boogie_128.asx
    Argument Name: volume
    Argument Value: 0
    Argument Name: autostart
    Argument Value: 1
    argv[i]=1
    autostart=1
    Argument Name: showcontrols
    Argument Value: 1
    argv[i]=1
    showcontrols=1
    Argument Name: showaudiocontrols
    Argument Value: 1
    Argument Name: showpositioncontrols
    Argument Value: 0
    Argument Name: showtracker
    Argument Value: 0
    argv[i]=0
    showtracker=0
    Argument Name: showdisplay
    Argument Value: 0
    Argument Name: showcaptioning
    Argument Value: 0
    Argument Name: showgotobar
    Argument Value: 0
    Argument Name: showstatusbar
    Argument Value: 0
    Argument Name: height
    Argument Value: 26
    Argument Name: width
    Argument Value: 282
    New window! old: 0x0 new 0x35661168
    Size: 0 0 0x2202570
    Size: 282x26
    resizing widgets to 282 x 26
    back in SetWindow
    New Size: 282x26
    resizing widgets to 282 x 26
    exiting URL base with http://www.dr.dk/netradio/metafiler/asx/
    using url for url
    url http://www.dr.dk/netradio/metafiler/asx/DR_Boogie_128.asx
    buffer http://www.dr.dk/netradio/metafiler/asx/DR_Boogie_128.asx
    ready to setup threads
    creating thread - NP_EMBED
    creating player thread
    In launchPlayerThread, state = 110
    launchPlayerThread - creating new thread
    ----player thread: in playPlaylist
    ----player thread: about to go to sleep, js_state = 6, state
    = 110
    MAIN THREAD DONE
    WR tempname: /tmp/mplayvfSkma
    exiting URL base with http://www.dr.dk/netradio/metafiler/asx/
    signalling player from write
    Signalling Player thread, state = 112, js_state = 6
    Destroy stream found a URL match
    http://www.dr.dk/netradio/metafiler/asx/DR_Boogie_128.asx
    http://www.dr.dk/netradio/metafiler/asx/DR_Boogie_128.asx
    *** glibc detected *** double free or corruption (!prev):
    0x09d12da8 ***
    ---player thread: got wakeup signal, js_state = 6, state = 115
    ----player thread: playPlayList - waiting complete
    ----player thread: building command string

    (at this point, after 30 seconds i break [CTRL+C] ....)

    seph@matilde:~$

    Thank you for the fast response :-)

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-05-15

    Logged In: YES
    user_id=685413

    I would suggest that you upgrade to either a daily build or
    regrab CVS (there were some missing patches in it as late as
    yesterday)

    The output you are seeing is different that the output I am
    seeing so that is why I am suggesting the upgrade.

    Also, make sure that you are getting CVS from

    mplayerplug-in.cvs.sourceforge.net

    cvs.sourceforge.net is no longer online

     
  • Seph Soliman
    Seph Soliman
    2006-05-15

    Logged In: YES
    user_id=831311

    I tried recompiling both mplayer and then mplayerplug-in
    from CVS (mplayerplug-in.cvs.sourceforge.net) and daily
    snapshot. Still no luck. I get this output, which seems to
    be identical... :(

    I hope you can help me.

    seph@matilde:~/src/mplayerplug-in$ firefox
    mimetype: application/x-mplayer2
    Embedded mode
    Argument Name: id
    Argument Value: idMediaPlayer
    Argument Name: pluginspage
    Argument Value: http://microsoft.com/Windows/MediaPlayer/
    Argument Name: type
    Argument Value: application/x-mplayer2
    Argument Name: src
    Argument Value:
    http://www.dr.dk/netradio/metafiler/asx/DR_Oline_128.asx
    Argument Name: volume
    Argument Value: 0
    Argument Name: autostart
    Argument Value: 1
    argv[i]=1
    autostart=1
    Argument Name: showcontrols
    Argument Value: 1
    argv[i]=1
    showcontrols=1
    Argument Name: showaudiocontrols
    Argument Value: 1
    Argument Name: showpositioncontrols
    Argument Value: 0
    Argument Name: showtracker
    Argument Value: 0
    argv[i]=0
    showtracker=0
    Argument Name: showdisplay
    Argument Value: 0
    Argument Name: showcaptioning
    Argument Value: 0
    Argument Name: showgotobar
    Argument Value: 0
    Argument Name: showstatusbar
    Argument Value: 0
    Argument Name: height
    Argument Value: 26
    Argument Name: width
    Argument Value: 282
    New window! old: 0x0 new 0x10495350
    Size: 0 0 0xa02576
    Size: 282x26
    resizing widgets to 282 x 26
    back in SetWindow
    New Size: 282x26
    resizing widgets to 282 x 26
    resizing widgets to 282 x 26
    exiting URL base with http://www.dr.dk/netradio/metafiler/asx/
    using url for url
    url http://www.dr.dk/netradio/metafiler/asx/DR_Oline_128.asx
    buffer http://www.dr.dk/netradio/metafiler/asx/DR_Oline_128.asx
    ready to setup threads
    creating thread - NP_EMBED
    creating player thread
    In launchPlayerThread, state = 110
    launchPlayerThread - creating new thread
    ----player thread: in playPlaylist
    ----player thread: about to go to sleep, js_state = 6, state
    = 110
    MAIN THREAD DONE
    WR tempname: /tmp/mplay8ZbDnk
    exiting URL base with http://www.dr.dk/netradio/metafiler/asx/
    signalling player from write
    Signalling Player thread, state = 112, js_state = 6
    Destroy stream found a URL match
    http://www.dr.dk/netradio/metafiler/asx/DR_Oline_128.asx
    http://www.dr.dk/netradio/metafiler/asx/DR_Oline_128.asx
    *** glibc detected *** double free or corruption (!prev):
    0x09b7df10 ***
    ---player thread: got wakeup signal, js_state = 6, state = 115
    ----player thread: playPlayList - waiting complete
    ----player thread: building command string

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-05-16

    Logged In: YES
    user_id=685413

    Do these commands work for you? This is basically what
    mplayerplug-in is doing.

    Also can you give the full information about mplayerplug-in
    in about:plugins. Some of the information I need to know is
    missing. Such as what widgets are being used.

    For the MI:3 trailer (entered on 1 line on the terminal. You
    may have to adjust the -ao argument if you don't have sound)

    mplayer -vf scale=640:-3 -vo x11 -zoom -ao sdl:esd -osdlevel
    0 -nojoystick -noconsolecontrols -cookies -slave -user-agent
    NSPlayer -nomouseinput -cache 2048
    http://images.apple.com/movies/paramount/mission_impossible_3/mission_impossible_3-tlr4_h640w.mov

    For dr.dk

    mplayer -vf scale=282:-3 -vo x11 -zoom -ao sdl:esd -osdlevel
    0 -nojoystick -noconsolecontrols -cookies -slave -user-agent
    NSPlayer -nomouseinput -cache 2997
    "http://wmscr1.dr.dk/e02ch07m?wmcontentbitrate=40000&MSWMExt=.asf"

    Both of those commands should work properly they do for me.

     
  • Seph Soliman
    Seph Soliman
    2006-05-16

    Logged In: YES
    user_id=831311

    The MI:III trailer work without sound with the -ao sdl:esd,
    but if I remove that I get sound, so everything is OK.

    The DR netradio works fine if I remove the -ao sdl:esd part.
    If I don't it will cache fill and then exit because it
    cannot play sound:
    Could not open/initialize audio device -> no sound.
    Audio: no sound
    Video: no video

    I tried removing the line "ao=alsa" in my
    mplayerplug-in.conf file, but that doesn't help.

    I attached my about:plugins page.

     
  • Seph Soliman
    Seph Soliman
    2006-05-16

    about:plugins page from firefox 1.5.0.3

     
    Attachments
  • Kevin DeKorte
    Kevin DeKorte
    2006-05-16

    Logged In: YES
    user_id=685413

    Ok, everything looks ok to me and it sounds like you have
    all the optional stuff installed.. So...

    Do you have any extensions installed? I've seen cases where
    some extensions cause problems

    What other options do you have in your mplayerplug-in.conf
    file? Do you have nomediacache=1 in your config file? If so
    that could cause some of these problems.

     
  • Seph Soliman
    Seph Soliman
    2006-05-16

    Logged In: YES
    user_id=831311

    I haven't got any special extensions other than the ones I
    always use...

    But you were right. I changed to the nomediacache setting to
    0 and now it works :-)

    Maybe a FAQ page would be in place(?)

    Thanks for the fast support and for a great plugin :-)

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-05-16

    Logged In: YES
    user_id=685413

    nomediacache should only really be used for the case of a
    diskless workstation and a NFS/SMB mount. There is really no
    reason EVER to set it otherwise. I think this has been
    documented in the mailing list as well.

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-05-16

    • status: open --> closed-invalid