Issue using WPF MediaElement with HD (H.264, 720P) Video

这一生的挚爱 提交于 2020-01-03 03:17:46

问题


I am using media element to render video in WPF. All videos are working fine except H.264 videos. They have some stuttering problem while they are rendered on screen. My machine configuration is much more than the recommended requirement to play for this video. Another surprising fact is that the video renders perfectly fine when I play this in Window Media Player or any other player. Any solution or any alternative to MediaElement?


回答1:


WPF does not support H.264 videos




回答2:


You can try my MediaUriElement from my open source project here: http://wpfmediakit.codeplex.com

It has better media compatibility than MediaElement, but if it's a decoder filter problem or a performance problem, my project won't be able to help. What h264 codec are you using. You may want to try out ffdshow from http://ffdshow-tryout.sourceforge.net/.

-Jer



来源:https://stackoverflow.com/questions/490791/issue-using-wpf-mediaelement-with-hd-h-264-720p-video

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!