-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video filckers and become transparent for a few frames #68
Comments
Can you try to adding an environment var |
I added the variable both to Windows system-wide env variables and directly passed it to to flutter with Anyway, I forgot to mention that all the tests I've run were on an Nvidia RTX 3060 and an Nvidia RTX 3050 Mobile. |
same as #7 . I will test RTX 3050 Mobile |
I tried to read it with google translate so excuse me if I misunderstood something, but it appears that the problem there is random squares of content missing or not being rendered? Here is the full frame going missing (and the stream is in 720p in my case) |
So... I continued playing around with parameters and things and I noticed that if I set the registerWith(options: {'platforms': [ 'linux', 'windows' ], 'video.decoders': [ 'DXVA', 'FFmpeg' ]}); In my specific case, the issue can be considered closed with the fix being: "use DXVA as video decoder under windows" but in general all other decoders appear to have the flickering problem. |
try fvp 0.14.0 |
Sorry for the late response, nope the video stays completely dark and doesn't even start playing with version 0.14.0. I tried both with and without overriding the custom encoders and the D3D11_ZERO_COPY env variable. So in a way it's behaving worse than the previous version :( |
i need your log |
should be fixed in master branch |
I'm not sure if this issue is directly caused by the FVP implementation or if it is something to do with the video player itself. I only registered with platforms Windows and, on mobile (where FVP is not active) it works fine. I'm guessing so it's an issue with FVP but correct me if I'm wrong.
Context:
I'm streaming an m3u8 file (from a server that I have zero knowledge or control over) in a Flutter video player. I also tested without any fancy wrapper like Chewie and the problem persists. (anyway this is specific code I'm running).
Every time I overload the application with too many update states (like for example moving the mouse, pressing some keys or things like that) the video starts flickering. By flickering I mean that the surface where the media is rendered becomes transparent and any widget behind it is visible for some frames. This issue is not very noticeable in a light weight application. I think it's important to note that this happens only while the video is playing and not while it's paused.
Here is a video showing the thing I tried to describe above:
recording-2024-01-29-00-26-28.webm
Obviously now that I have to show it, it has become a lot less prominent than how it is usually but this is usually much worse.
Log
The text was updated successfully, but these errors were encountered: