[CentOS] Videos

John R Pierce
Fri, 09 Mar 2007 00:37:30 -0000

Ted Gervais wrote:
> I am trying to get my latest installation of Centos (4.4) to see videos
> when I am in www.cnn.com.
>
> I installed mplayer using yum and that went well. But I still get the
> screen from microsoft saying I need to install their plugin..
>
> What more can I do to get these videos to work when I use either mozilla
> or konqueror..
>

well,  FWIW, I played a sample video on there with Firefox on Windows
XP, it says it -requires- windows media player (which of course, I
have), and hwen the video played, the video streaming URL was...

http://dynamic.cnn.com/apps/tp/video/world/2007/03/07/dinnen.cannabis.granny.cnn/video.ws_noads.asx?NGUserID=aa51294-4037-1173397905-1&adDEmas=R00%26hi%26hogranch.com%260%26usa%26807%2694701%265%26-%26-%26-%26


I'm trying to find the javascript thats launching this on the player
html/js source, without much luck, but Firefox tells me the video was
delivered with mimetype: application/x-mplayer2

ah, and that asx file delivered from the above URL itself contains...

<asx version = "3.0">
  <param name="xmlFile"
value="/video/world/2007/03/07/dinnen.cannabis.granny.cnn/pipeline.xml"
/>
   <entry>
    <ref
href="mms://wmscnn.stream.aol.com.edgestreams.net/cnn/world/2007/03/07/dinnen.cannabis.granny.cnn.ws.wmv"/>
    <ref
href="http://wmscnn.stream.aol.com.edgestreams.net/cnn/world/2007/03/07/dinnen.cannabis.granny.cnn.ws.wmv"/>
   </entry>
</asx>


(after I deleted a WHOLE lotta whitespace)

and, that dinnen.cannabis.granny.cnn.ws.wmv file itself is in fact...

[Reference]
Ref1=http://wmscnn.stream.aol.com.edgestreams.net/cnn/world/2007/03/07/dinnen.cannabis.granny.cnn.ws.wmv?MSWMExt=.asf
Ref2=http://72.246.30.174:80/cnn/world/2007/03/07/dinnen.cannabis.granny.cnn.ws.wmv?MSWMExt=.asf

but, none of these are getting me the actual video file, I'm probably
missing something.



so, I'm guessing you need a video player that can interpret ASX XML
headers, and then stream whatever they are pointing at.