Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Silverlight dont play MPG/AVI/MPEG? RSS

3 replies

Last post Jun 28, 2008 05:44 PM by texmex5

(0)
  • Luiz Roberto

    Luiz Roberto

    Member

    4 Points

    13 Posts

    Silverlight dont play MPG/AVI/MPEG?

    Jun 27, 2008 06:58 PM | LINK

     Hi, I want to put a video in my silverlight project, but silverlight just can play WMV video formats?

    When I drop the video in Blend nothing happens, and when I drop a wmv video, there is...

     

    Its a silverlight limitation?

     

    Thanks!

  • Psychlist1972

    Psychlist1972

    Contributor

    6802 Points

    1079 Posts

    Microsoft

    Moderator

    Re: Silverlight dont play MPG/AVI/MPEG?

    Jun 27, 2008 07:32 PM | LINK

    Yes. Silverlight 2 currently supports a large subset of the WMV formats, with VC-1 being the star. For audio, Silverlight supports MP3 and WMA.

    To convert your files, you can use Microsoft Expression Encoder or your favorite conversion program.

    Pete

    Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
    10rem.net - Pete Brown's site and blog | twitter: @pete_brown
    I work for the Developer Guidance group in Microsoft. Opinions are my own.
  • Luiz Roberto

    Luiz Roberto

    Member

    4 Points

    13 Posts

    Re: Silverlight dont play MPG/AVI/MPEG?

    Jun 27, 2008 09:39 PM | LINK

    I undestand...

    Then I cannot use  silverlight to play FLV files too?
    Silverlight just play the WMV extension?

  • texmex5

    texmex5

    Contributor

    2239 Points

    382 Posts

    Re: Silverlight dont play MPG/AVI/MPEG?

    Jun 28, 2008 05:44 PM | LINK

     noup but reencoding in wmv will probably give you a better quality anyways :)

    check out expression encoder as suggested above