locked
Media element and avi files RRS feed

  • Question

  • hello

    I am trying to load an avi file in a media element in a wpf application

    The loading is fine but when the avi file  playes  it vibreates and the quality is consequently ____.

    do i have to set something in particular?/

    Cheers

    Thursday, September 25, 2008 9:44 AM

Answers

  •  At the movement Media Element may not support good quality output for all file formats that  Windows Media Player support.  instead of AVI  file try  WMV file.
    Prasad - www.beautifulmind.blog.co.in
    • Marked as answer by marck68 Sunday, December 21, 2008 10:39 PM
    Saturday, December 20, 2008 5:04 PM

All replies

  • Does the file play correctly in Windows Media Player?

    Monday, September 29, 2008 11:26 PM
  • yes it does
    Tuesday, September 30, 2008 7:32 AM
  • In Media Element Control
    Check the Property->Appearance ->SnapsToDevicePixels


    Prasad - www.beautifulmind.blog.co.in
    Saturday, December 20, 2008 4:22 AM
  •  I tried but it does not work!

    It looks like the coordinates of the avi file inside the mediaelement change continuosly
    the image appear to be shaking
    Saturday, December 20, 2008 8:25 AM
  •  At the movement Media Element may not support good quality output for all file formats that  Windows Media Player support.  instead of AVI  file try  WMV file.
    Prasad - www.beautifulmind.blog.co.in
    • Marked as answer by marck68 Sunday, December 21, 2008 10:39 PM
    Saturday, December 20, 2008 5:04 PM
  • with WMV it works fine but i need support for different formats
    Sunday, December 21, 2008 10:39 PM
  • You can try my MediaUriElement in my open-source project.  It supports a lot more than MediaElement does (ie VOB files), given you have the CODECs installed.  It has a similar API to MediaElement, so it should be easy to integrate.

    It does require .NET 3.5 SP1 because it uses the D3DImage class.

    -Jer
    Monday, December 22, 2008 2:21 AM