Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111815

Bumpy rendering of D3D11 textures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.5.3, 6.6.0 Beta3
    • 6.5.0
    • Multimedia
    • None
    • Windows
    • 3363496a7 (dev), a3bf450b2 (6.7), 4043d7ebc (6.6), 582bf926b (tqtc/lts-6.5), 10ba74ebc (dev), a25b5eafc (6.7), fd893ee8d (6.6), ca9a5fb53 (tqtc/lts-6.5)

      In order to reproduce it, just download the test video
      https://drive.google.com/uc?export=download&id=1Iiv31GZzTM0dEOoyNS2Rgnt-ccGXNWvE

      and open it in mediaplayer example.
      If the reference doesn't work, it should be reproduced with other high quality videos (this one is HDR 60fps with HEVC codec)

      AR: the playback is bumpy, frames are rendered in the incorrect order.
      ER: smooth video playback

      Hints.
      The most probable reason is the function D3D11TextureConverter::getTextures,
      which converts each ffmpeg frame encapsulating ID3D11Texture2D to D3D11 frame for direct rendering. This is a kind of optimization, you may turn it off to make the example work, if always return nullptr from getTextures.
      Ideally, we should investigate the root of the problem and fix the function. If it's impossible by some reason, investigate how much the optimization affects the performance and probably turn it off for some cases.

        For Gerrit Dashboard: QTBUG-111815
        # Subject Branch Project Status CR V

            padubsky Pavel Dubsky
            artemiy Artem Dyomin
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: