Hi everyone, I’m using media texture and media player to show some offline rendered videos in Unreal Engine(with 3D scenes behind the media texture). And I enchanted some problems:
- Let’s say that the video is 30fps;
- If the framerate is below 30fps when playing the video(let’s say 20fps), the result will be somewhat laggy(so I tried to move the camera to somewhere where the rendering payload is relatively low before playing video);
- After trying the hack described in above(let’s say the framerate is about 40fps), there are still laggy moments(enabling VSync will ease but never kill that laggy).
Another test is about the Windows Media Player. Using PresentMon.exe to sample statistics when playing the same video, the average fps matches the fps of the video. And the video plays quiet smoothly.
So here are my questions:
- Could 1% low fps affects the smoothness of video player in Unreal Engine?
- Could the sync settings affects the smoothness of video player in Unreal Engine? (game thread/rendering thread/rhi thread/gpu/swap chain)
- If there are settings, how do I config them when playing videos?
It would be helpful if anyone knows anything about this. Many thanks!