Is there any way to play these videos in Linux?

I haven’t been able to play videos from here. I tried Moonlight, but it doesn’t show an image, just sound, and sometimes some part of the image, but mostly a black canvass. Thanks.

Answer

Yes, you can extract the url from the HTML-source and use mplayer:

$ mplayer -ao pulse mms://proedvid.stanford.edu/videocontent/knuth/musings/981203/981203-knuth-500.wmv

The playback (audio/video) works fine on a Ubuntu 11.04 system.

You can automate this a bit, e.g. via:

$ curl -s -S 'http://myvideos.stanford.edu/player/slplayer.aspx?coll=ea60314a-53b3-4be2-8552-dcf190ca0c0b&co=40ac3a89-a6a2-439f-8f74-64d250a12818&o=true' | \
  grep mms  | sed 's/.*\(mms:\/\/[^"]\+\)".*/\1/'
mms://proedvid.stanford.edu/videocontent/knuth/musings/981203/981203-knuth-500.wmv

Attribution
Source : Link , Question Author : Dervin Thunk , Answer Author : maxschlepzig

Leave a Comment