HEVC VIdeo Extensions keep taking memory until UWP app crashes

帅比萌擦擦* 提交于 2020-01-03 04:16:19

问题


I am using HEVC Video Extensions in order to decode video on my UWP video app. The problem is that the HEVC app takes so much memory during playback that I am unable to play large 4k files without crashing.

If I use the HEVC hardware only I am able to have better use of memory but limited in 4k on it.

I have tried HEVC Extension and tried to see if there is garbage cleanup I can do but have not been successful in lowering the memory

Just setting my video like this:

MediaSource ams_02 = MediaSource.CreateFromStorageFile(fileHere_02);
elementToSet.Source = ams_02;

Memory Should be handled better in order to create possible playback on a 4k,2+ hour movie without running out of memory.

Thank you

来源:https://stackoverflow.com/questions/58600214/hevc-video-extensions-keep-taking-memory-until-uwp-app-crashes

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