[MPlayer-users] Mplayer crashing, streaming from "ASX" xml files

Karl Trygve Kalleberg karltk at prosalg.no
Sat Mar 20 22:39:07 CET 2004


Hi gang.

I've been trying to use mplayer to stream from Windows Media Player
servers, in particular the Norwegian national TV channel nrk.no.

The first link served by the web server is to an XML file that looks
like this:

<ASX Version="3.0">
  <ENTRY>
    <STARTTIME VALUE="0" />
    <DURATION VALUE="17" />
    <REF HREF="mms://straum.nrk.no/Autofil/2004-02-10/uftryfth_900_WM_20040210_130202.wmv" />
    <REF HREF="mms://straum.nrk.no/Autofil/2004-02-10/uftryfth_900_WM_20040210_130202.wmv" />
    <TITLE>Jan Erik blir blaut!</TITLE>
    <AUTHOR>NRK</AUTHOR>
    <COPYRIGHT>NRK - Norsk Rikskringkasting</COPYRIGHT>
  </ENTRY>
</ASX>

If I save this file to disk, say foo.xml, and run mplayer on it:
# mplayer foo.xml

mplayer will invariably crash, giving:

Playing foo.xml.
Cache fill:  0,01% (422 bytes)    LMLM4 Stream Format not found


(process:7816): GLib-GObject-CRITICAL **: gtype.c:1871: initialization
assertion failed, use g_type_init() prior to this function

(process:7816): GLib-GObject-CRITICAL **: gtype.c:1871: initialization
assertion failed, use g_type_init() prior to this function

(process:7816): GLib-GObject-CRITICAL **: gtype.c:1871: initialization
assertion failed, use g_type_init() prior to this function

(process:7816): GLib-GObject-CRITICAL **: file gtype.c: line 1937
(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

etc....


This is with 1.0pre3 on a Gentoo system. The problem is there in 0.92, 
too.

If I manually pick out the mms-url and feed it directly:
# mplayer mms://straum.nrk.no/Autofil/2004-02-10/uftryfth_900_WM_20040210_130202.wmv

it works.

I have been unable to find anything to solve my problem from the
archives or on google.


Kind regards,

Karl T




More information about the MPlayer-users mailing list