Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

How to find the performance bottleneck when playing a 4K video?

$
0
0

I am running into frames being dropped from time to time when playing a 4K video with Media Foundation.
The test movie I am using has an average bitrate of 20 mbps and a peak of 37 mbps and is h264 encoded.
GPU is NVidia GeForce GTX970. Rendering itself does not seem to be the problem since lowering to resolution to Full HD still shows the framedrops.

What are the easiest steps to find the performance bottleneck that causes the frames to be dropped?

I just created a github repository with a SharpDX (a dotnet wrapper around DirectX) based application that plays a video to a fullscreen quad with a custom shader effect as an example for testing. 

https://github.com/rolandsmeenk/SharpDXVideoPlayer

Roland


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>