[MPlayer-users] asf mmst streaming problems

Stephen Stocker lpar at par1.net
Sun Sep 25 10:04:01 CEST 2005

>I've been trying to regularly "download" (dump to disk) WMV3 streams
>off a website; here are a couple of example commands that i'm calling:
>mplayer -noframedrop -dumpstream -dumpfile "Daily Show - 2005.09.21 -
>Stewart - Closer Look - Press Secretaries.wmv"
>mplayer -noframedrop -dumpstream -dumpfile "Daily Show - 2005.09.21 -
>Celebrity Interview - Ricky Gervais.wmv"
>Frustratingly, my downloads are frequently fail. Mplayer falls over
>with the following message:
>read error:: Invalid argument
>pre-header read failed
>Core dumped ;)
>I tracked this message down in the code to
>I poked around further and hypothesised that the error has something
>to do with a dropped connection to the server. I then tested a hunch
>by repeating my download and disabling my network connection during
>the process. And presto, I got the same message, and upon repeating it
>I got the message:
>read error:: Invalid argument
>media data read failed
>Core dumped ;)
>(which is from the same function in the code).
>This all probably makes sense, because my internet connection is a bit
>dodgy: it's shared amonst many people and also it's through a proxy;
>as a result, it must drop out periodically.
>As a result of this "adventure", I have several requests/bug reports to make:
>1) Is it possible to make the error message less cryptic? Users
>shouldn't really have to dig through the source to figure out the
>meaning of errors.
>2) These streams that I'm using are diagnosed as "not seekable".
>However this isn't the case as windows media player (and other
>programs) have no problems resuming from the failure point in the
>video stream when the connection is dropped. If the streams could be
>made resumable under MPlayer, then interruptions would not be so bad,
>in the sense that the dumping could just proceed from that point, and
>wouldn't have to be started again.
>3) If while viewing one of the above URLs, the user tries to seek
>forward, Mplayer crashes.
>The "-v" output is included below. I'm running an AMD Athlon64 3000+
>S939 under WinXP SP2; these problems manifest themselves under the
>latest CVS build.
>Jake Benilov


  The "Stream not seekable!"  is normal, for most streams, and the "Core
  dumped ;)" tells you only that it's finished (a joke the developers
  slipped in :)).

  If you check, you should have a file with the name you used for
  -dumpfile. In the first case, the file contains these URLs (among
  other things) :

  I had to trim some junk at the end of the URLs to get it to work, but
  that should do it. I hope this makes sense, I'm running on too little
  sleep. :)

  Take care,

More information about the MPlayer-users mailing list