Play video .qt in UWP C#

Anderson Rodrigues Cavalcante 316 Reputation points
2021-12-17T15:16:54.11+00:00

Hello everyone,
My app UWP uses MediaPlayerElement.
I'm trying to run a video .qt in my app UWP. The .mov video works well, but .qt not. Only sound work.

The follow error happen on the output of Visual Studio:

Exception thrown at 0x00007FFF9F244F69 (KernelBase.dll) in MyApp.exe: WinRT originate error - 0xC00D5212 : 'Decoder error'.

Link to video .qt:
https://drive.google.com/file/d/1OFiGGGu7vOFIMcYIij84KLCVHCxuZZyZ/view?usp=sharing

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
    2021-12-20T01:58:10.903+00:00

    Hello,
    Welcome to Microsoft Q&A!

    The missing error codec 0xc00d5212 may occur because the video file format you are trying to play is not supported by the media player you are using. please refer to Supported codecs document, we can't find qt in the video part. so it may not support for UWP app. If you do want to decode pt type, please feel free post your requirement with windows feed back hub, or use third part lib to approach.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    2021-12-17T15:39:06.127+00:00

    you must be missing a one the QT codecs on your pc. The video lady fine on an iPad.


  2. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    2021-12-17T19:28:17.467+00:00

    the link works fine (that is I see the video with sound) on my mac, and windows 10 running in a vm on my mac.

    note: .qt are older apple video formats. .mov is the newer. you used to have to install quicktime, but windows started including the codec, so apple stopped building quicktime for windows. you can still download an old version and see if that helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.