and sorry for the delay
On Sat, 27 Apr 2013, Istvan Gabor wrote:
2013. április 26. 19:51 napon David Haller
Grep for 'videoUrl' in that HTML file.
You get an URL to a .wmv that
actually is a .asx, but you can play that with vlc anyway, i.e.
Thanks, it works for me too with vlc.
(Interestingly, mplayer can not play it).
The stream gets redirected multiple times and needs to set a cookie or
some such (try getting the stream with wget, you'll just get the same
redrected URL again and again) and only that's where mplayer fails.
If you dump the stream with e.g.:
cvlc --play-and-exit --sout "file/wmv:out.wmv" $URL
mplayer can play the resulting 'out.wmv' just fine. It's not the
actual stream that mplayer can't handle, it's the (in this case IMO
also broken) way it's pointed to. From the cvlc output, it finally
gets redirected to a mms:// URL and that mplayer could handle (I
routinely use mplayer to dump mms:// streams that get pointed to in a
E.g. the german ZDF offers a "Windows Media Player" stream, the URL
points to an asx. mplayer can't play that (so probably no .asx
generally). But it's rather easy to just DL that asx and parse that,
as with the ZDF streams, it has just one <Ref /> element pointing to a
mms://*.wmv URL. And mplayer can play (and dump) that mms:// just
Actually, there's a bunch of programs able to dump the ZDF stuff (e.g.
'Mediathek' from home:enzokiel), but in that case I preferred whipping
up my own rather simple perl-script that can easily be (and has been)
adapted to other sites. In your case, I just couldn't get to the
actual streaming URL (see above). Oh, and I did adapt it (with some
cleanups) for "arte" which delivers much more complex xml file before
finally linking in the 3rd (or 4th?) step the actual stream URL ;)
Both are not very flexible, the zdf works only there and the arte has
language and quality hardcoded in regexes ;)
If you're interested, I can mail you both scripts for plundering ;)
"No, it's not that bad. It's nothing that a lick of paint
and a nuclear warhead can't fix." -- "Emma", in "One Day"
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org