Video player sometimes does not correctly display playing video
name: "Bug Report Template"
about: "For filing bugs. Please search for existing issues first. Also see CONTRIBUTING."
Bug Report
Current Behavior A clear and concise description of the behavior.
Occasionally, IVyTools will not play the imported video. The video is loaded, and the backend is deriving metadata. It will extract frames just fine. But the QtMediaSurface object will not play the video. This problem has worsened with Windows 11. Reloading the video (sometimes multiple times) will eventually cause the QtMediaSurface to play correctly.
Upgrading LAVFilters to 0.79.2 did not solve the issue. However, some improvement is observed when the user changes the hardware decoder from "None" to D3D11, although the problem persists.
Expected behavior/code A clear and concise description of what you expected to happen (or code).
The video would load and play the first time, every time.
Possible Solution
I had hoped that upgrading LAVFilters would resolve this issue. It looks like the QtMediaSurface is known to be a bit buggy on Windows. A solution may require moving the ffplay or some other widget. This would constitute a lot of work, so I'm making this a lower priority for now.
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.