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

  • Question

  • 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

    Monday, November 24, 2014 9:13 PM

All replies

  • By coincidence we discovered that the frame dropping and/or rendering stalls did not occur on a fresh install of Windows 8 instead of Windows 8.1. 

    At least this solves our problem for now.

    Does anybody have a clue why we are seeing this difference in behavior?

    Roland

    Saturday, November 29, 2014 1:23 PM
  • Look at that: https://support.microsoft.com/en-us/kb/2929546 .

    Might be your case isn't it?

    Sunday, May 3, 2015 11:28 PM
  • Hmm, don't think this is the same issue. I do not see a freeze, but framedrops.

    Thanks for the suggestion though.

    Tuesday, May 12, 2015 8:52 PM