Silverlight and Pluggable Codecs

Flash has been doing video on the web for years now, and doing an awesome job at it. The Flash Player has a number of built-in codecs, and all the Flash video on the web plays in the latest Flash player, no hassles. And HD videos look great.

Microsoft, on the other hand, has their various video container formats (ASF, WMV, AVI) where the codec that you need to play the content is dependent on the streams in the containers. In other words, given a *.avi file, you have no idea what you need to have installed to play it.

This leads to the various codec packs you can download, which almost invariably are a vehicle for malware. It’s a terrible situation, and I think one of the reasons Flash video has done so well.

Microsoft apparently doesn’t get this, because the latest version of Silverlight has “Extensible Media Format Support”, which means developers can plug in arbitrary video or audio codecs to support other video formats.

Argh.

So one site will be posting Ogg-contained videos and another DivX videos, and I’m going to need to download a bunch of codecs to view videos with Silverlight? No thanks.

3 Responses to “Silverlight and Pluggable Codecs”

  1. Dave R. Says:

    I think that the majority of sites will be using the new H.264 support in Silverlight 3 rather than relying on separate codecs, which may limit their reach. Certainly, the extensibility may be advantageous in certain circumstances (e.g. if a site specialised in MIDI files or 8-bit sound formats). The other advantage is that new formats can be added without having to refresh the entire runtime, which has had to happen with Flash in the past. As for the malware reference, well that’s just FUD – the codecs are authored using a .NET language and are appropriately sandboxed; there’s no need to run an exe to download a codec pack (see Miguel de Icaza’s blog entry here: http://tirania.org/blog/archive/2009/Mar-23-1.html). Maybe someone will write an FLV viewer ;)

  2. Ben Waggoner Says:

    Wow, the things we find when trying to search for something else :).

    I’m the video strategist on the Silverlight platform, so this is something I’ve been working on for a while.

    The key thing about the Silverlight Raw AV pipeline is that the “managed decoders” are packaged into the Silverlight application itself, just like the player graphics, managed code for the player itself, etcetera. So there’s not anything for the user to download, no authentication or anything. This is possible because the decoders must be pure managed code that runs entirely in the Silverlight sandbox, like all other code running inside of Silverlight. So, the user experience will be the exact same between using a native and a managed codec.

    For security and maintainence reasons, there’s no way to override the .dll used by a Silverlight app unless the Silverlight app is designed with that kind of flexibiility, so the Codec Pack nightmare won’t happen here. FWIW, Windows 7′s built-in media apps are locked to their own H.264 and other decoders, so that codec packs can’t mess with those either anymore.

    Of course, managed code won’t have the full performance of a highly-tuned SSE2 decoder; that’s why we’re also adding native H.264 and AAC-LC to add to the existing VC-1 and WMA support. But for legacy content that’s lightweight to decode, or stuff that’s not HD, it’ll just be fine.

    This guy had the crazy idea of sticking a full Commadore 64 emulator inside Silverlight using the API:
    http://community.irritatedvowel.com/blogs/pete_browns_blog/archive/2009/03/18/Silverlight-3-_1320_-Creating-Video-from-Raw-Bits-using-a-MediaStreamSource.aspx

    Not anything we imagined when we came up with the feature, but a fine demonstration of its flexibility.

  3. stevex Says:

    Thanks for the update Ben – so the H.264 decoder won’t be a plugin, it’ll be a new version of Silverlight?

    (That’s how it should be IMHO).

Leave a Reply

 




 
buy cheap Endep online buy cheapest Endep and Endep how to order Amitriptyline online without prescription buy Amitriptyline without rx from us pharmacy online Amitriptyline purchase purchase online prescription Amitriptyline without purchasing Amitriptyline online without prescription order generic Amitriptyline buy Endep no prescriptions how to order Endep online without prescription comprare Endep generico Endep online buy Endep in england buy cheap Endep online free consult Endep purchased online without prescription what is Endep Endep tabletten buy Endep no perscription cod Endep non rx fedex overnight free want to buy Anafranil in usa Aricept overdose buy discount Aricept on line Aricept buy Aricept online Aricept order buy Aricept pills Nizoral suppliers cheap order rx Nizoral canada Nizoral order Nizoral usa cod comprar Nizoral generico buy Nizoral 200 mg buy cheap Nizoral under without rx buy cheap Nizoral with dr. prescription Prozac 200 mg buy Lisinopril australia el Nizoral generico buy Lisinopril tablets without rx next day delivery Lisinopril with no script buy Lisinopril c o d purchase arimidex no scams order Arimidex order amex Arimidex canadian pharmacy buy Arimidex without doctor order rx free Arimidex buy Abilify with american express buy Abilify cod order Finpecia without a prescription cheap order rx Finpecia purchase Famvir no visa online without prescription buy Famvir paypal without rx buy Famvir without Famvir without prescription medications Famvir without persription purchase Famvir online no membership overnight shipping Famvir no physician approval Amitriptyline purchase order Amitriptyline free next day airAmitriptyline on line Valtrex no rx needed cod accepted buy next day Fluoxetine buy Fluoxetine line purchase Fluoxetine cod delivery buy Fluoxetine 20 mg purchase Fluoxetine buy cheap Fluoxetine under without rx purchase Fluoxetine visa without prescription Fluoxetine by mail Fluoxetine for pets Fluoxetine 10mg Amitriptyline purchase online how to order Famvir online without a rx Prozac Amitriptyline no perscription Famvir next day purchase Anafranil no prescription cheap buy cheapest Anafranil next day delivery on Anafranil saturday Anafranil buy Anafranil buy Anafranil overnight where to purchase Anafranil no prescription no fees Anafranil drug buy Lisinopril where Lisinopril buy on line order Lisinopril online no membership overnight shipping no prescription required for Lisinopril order maxalt cash on delivery Maxalt from canada buy cheapest Maxalt purchase Maxalt visa without prescription buy Maxalt uk Maxalt 10 mg purchase Maxalt no visa online without prescription purchase generic Lisinopril online Lisinopril no prescription to buy maxalt order online no membership overnight how to get a arimidex rx Aricept without a perscription fedex Aricept overnight without a prescription Donepezil prescription order buy genuine Aricept Aricept uk sales prescription Proscar buy Proscar pay cod Maxalt apotheke buy no perscription Proscar purchase Proscar online buy cheap fedex Prednisone maxalt with no presciption buy Maxalt shipped cod Proscar online Prednisone order buy Amitriptyline with amex Accutane 40 mg delivered overnight buy brand Accutane 40 mg Accutane 40 mg orderd online without prescription where to purchase generic Accutane 40 mg online without a rx how to get 40 mg Accutane without next day delivery 40 mg Accutane with no script buy Amitriptyline online Accutane 40 mg online no prescription buy Accutane 40 mg online us pharmacy Accutane 40 mg best buy buy Accutane 40 mg c o d order 40 mg Accutane cash on delivery no presciption 40 mg Accutane