?
Solved

Convert WMV live streaming to Silverlight

Posted on 2009-04-26
1
Medium Priority
?
1,457 Views
Last Modified: 2013-12-07
Hello !

I am currently using windows meadia player component to stream the live (WMV) feed. I would like to transform this to Silverlight is there any possible way. Please note that it is a live feed not an ondemand video placed in the server.


I want a similar code but with a silver light player please.

Here is the code that I am currently using:
<object id="MediaPlayer1" width="320" height="240"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject" align="middle">
          <param name="FileName" value="http://stream8.netro.ca/watan" ref valuetype="ref" type="wmv">
          <param name="ShowStatusBar" value="-1">
 
          <param name="DefaultFrame" value="mainFrame">
          <param name="autostart" value="-1">
          <param name="AudioStream" value="-1">
			<param name="AutoSize" value="0">
			<param name="AnimationAtStart" value="-1">
			<param name="AllowScan" value="-1">
			<param name="AllowChangeDisplaySize" value="-1">
			<param name="AutoRewind" value="0">
			<param name="Balance" value="0">
 
			<param name="BaseURL" value>
			<param name="BufferingTime" value="5">
			<param name="CaptioningID" value>
			<param name="ClickToPlay" value="-1">
			<param name="CursorType" value="0">
			<param name="CurrentPosition" value="-1">
			<param name="CurrentMarker" value="0">
			<param name="DisplayBackColor" value="0">
			<param name="DisplayForeColor" value="16777215">
 
			<param name="DisplayMode" value="0">
			<param name="DisplaySize" value="4">
			<param name="Enabled" value="-1">
			<param name="EnableContextMenu" value="-1">
			<param name="EnablePositionControls" value="-1">
			<param name="EnableFullScreenControls" value="0">
			<param name="EnableTracker" value="-1">
			<param name="InvokeURLs" value="-1">
			<param name="Language" value="-1">
 
			<param name="Mute" value="0">
			<param name="PlayCount" value="1">
			<param name="PreviewMode" value="0">
			<param name="Rate" value="1">
			<param name="SAMILang" value>
			<param name="SAMIStyle" value>
			<param name="SAMIFileName" value>
			<param name="SelectionStart" value="-1">
			<param name="SelectionEnd" value="-1">
 
			<param name="SendOpenStateChangeEvents" value="-1">
			<param name="SendWarningEvents" value="-1">
			<param name="SendErrorEvents" value="-1">
			<param name="SendKeyboardEvents" value="0">
			<param name="SendMouseClickEvents" value="0">
			<param name="SendMouseMoveEvents" value="0">
			<param name="SendPlayStateChangeEvents" value="-1">
			<param name="ShowCaptioning" value="0">
			<param name="ShowControls" value="-1">
 
			<param name="ShowAudioControls" value="-1">
			<param name="ShowDisplay" value="0">
			<param name="ShowGotoBar" value="0">
			<param name="ShowPositionControls" value="-1">
			<param name="ShowTracker" value="-1">
			<param name="TransparentAtStart" value="0">
			<param name="VideoBorderWidth" value="0">
			<param name="VideoBorderColor" value="0">
			<param name="VideoBorder3D" value="0">
 
			<param name="Volume" value="-600">
			<param name="WindowlessVideo" value="0">
          <embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="http://stream8.netro.ca/watan"
autostart="false"
align="middle"
width="324"
height="285"
defaultframe="rightFrame"
showstatusbar="true">
          </embed> 
        </object>

Open in new window

0
Comment
Question by:wrefai
1 Comment
 
LVL 11

Accepted Solution

by:
PlatoConsultant earned 1500 total points
ID: 24286276
there are two approaches to get media into the silverlight format

1. Use Expressions Encoder.
2. Using Windows Media Encoder Transcoding / Encoding

The approachable user interface in Expression Encoder 2 gives designers, editors and producers the ability to generate gorgeous rich media content wrapped in a Silverlight experience. Encode a wide array of file formats, produce live events, or run batch encodes from the command line to make your media ready for Silverlight.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question