Welcome to MSDN Blogs Sign in | Join | Help

Mike Ormond's Blog

In my world, things would be simpler than this...

News

  • Add to Technorati Favorites

    These postings are provided "AS IS" with no warranties, and confer no rights. The use of any script / code samples is subject to the terms specified here.

Silverlight Streaming Test

I've just been playing around with Silverlight Streaming for our upcoming Silverlight MSDN events. I'd made a Camtasia video of the Silverlight install experience and wanted to upload this as a Silverlight video delivered via Silverlight Streaming (I find that site very difficult to navigate). I ran into a few problems with the video as the output I generated from Camtasia wasn't Silverlight compatible.

Of course I could just transcode it with Microsoft Expression Encoder but that seemed like a bit of a cop out - I'd rather produce Silverlight compatible output from Camtasia. Unfortunately Silverlight doesn't support the Windows Media Screen codec (I knew this already) so I'd selected the "Camtasia Studio Best Quality and File Size" for producing my video. No dice.

I checked the SDK which lists compatible and unsupported formats. I noticed the Windows Media Audio Voice codec isn't supported and sure enough, that's what's used with the "Best Quality" option. I switched to "Camtasia Studio Full Motion Video High (CBR)" and hey presto I have a Silverlight compatible video. It's almost certainly not optimised (ie I could probably tweak some options and get better quality for the bandwidth) but it's only a 30s video so it suits my purposes.

I used Expression Encoder to create a video player app (so I encoded on "Source Profile" settings which I presume amounts to "pass-thru") and selected the "Glassy" template in "Job Output". Next thing I knew I had a sexy Silverlight video player.

Uploading to Silverlight Streaming was very straightforward. The quickstart gives you a manifest file for an Encoder produced video and you simply zip the whole lot up (minus a couple of files) and submit. There's a test page you can use to check your app works as expected and you're given the necessary markup to embed the Silverlight app in your own web page. That's exactly what I've done above and it works a treat.

Double click the video to watch it in full screen mode. Oh, and there's no audio as the idea is the presenter does the "voice over" in the session. It's just as well we made a video of this as uninstalling the Silverlight 1.1 plug-in took an age on my machine for some reason (install is lighting fast). Seems to uninstall fine for other colleagues though... Shrugs....

Posted: Thursday, September 13, 2007 11:24 AM by MikeOrmond
Filed under:

Comments

WynApse said:

Silverlight Cream for September 13, 2007

# September 13, 2007 1:55 PM

Wizzard said:

Hi Mike I get an error on this page "Unable to load media 'SilverlightInstallCompat.wmv'.

I've already installed the Silverlight 1.0 release version.

Just thought I'd let you know

Steve

# September 14, 2007 5:01 AM

Wizzard said:

I' know what it was now I have download accelerator installed DAP and this was trying to do the download. I disabled it and your demo now works :-)

Steve

# September 14, 2007 5:03 AM

Nigel Streeter said:

Hi Mike,

I've done much the same as you and completely agree with your comment about a "sexy Silverlight video player"!

But now I've run into a bit of a "brick wall"!

What I want to do is load the player/video into an existing SL app using javascript generated .xaml, not .html.

In essence, I have a <Canvas> with a number of elements on it that are displayed according to selections made elsewhere. I would like one of those elements to be the player/video and thought "No problem! Use a MediaElement object!" - except it doesn't seem to recognise 'streaming:' as a source.

I know it must be possible (and I guess I'm missing something really dumb) but I just can't figure it.

I would appreciate any help/advice/guidance you might be able to give.

Many thanks in advance.

All the best,

Nigel.

# September 14, 2007 1:57 PM

MikeOrmond said:

Hi Nigel. I've not really had a chance to look at it in detail bit your comment rang a bell with me. Have you seen http://dev.live.com/silverlight/initparams.aspx? Does it help at all? Best regards, Mike.

# September 14, 2007 4:52 PM

Mike Ormond's Blog said:

I had a slight problem with the Silverlight Streaming video app in my previous post - sometimes you would

# September 17, 2007 12:19 PM

Noticias externas said:

I had a slight problem with the Silverlight Streaming video app in my previous post - sometimes you would

# September 17, 2007 12:54 PM

jim blizzard's blog said:

It took a quite while for me to create / produce / upload my first Silverlight streaming application

# November 8, 2007 11:42 AM
New Comments to this post are disabled
Page view tracker