-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Changing decoders on Player make others turn blank [open source reproducer] #228
Comments
I can't enable vdpau on ubuntu 24.04, vdpauinfo fails too. vaapi is recommended, it's available in wayland and x11. Can you upload the log? |
VDPAU logs
|
VAAPI is insanely slow, much slower than vanilla FFmpeg VAAPI logs
|
Can you compare the fps of
You have to use EGL to get the best rendering performance. If no EGL, 0-copy extension is missing for amd gpus. I tested EGL on ubuntu with x11 at least 8 years ago, it's the default in wayland. For qt, you can use environment var |
Setting x11 display from qt is recommended: https://github.com/wang-bin/mdk-examples/blob/master/Qt/QMDKWidget.cpp#L32 |
some players have this error, others are good. I don't know why. Can you test with less players?
Weird, avfilter should not be used. |
VDPAU logs, 2 videos, x11 display set, EGL used
|
./DecodeFps produce same fps with vaapi and vdpau, adding the QT_XCB_GL_INTEGRATION=xcb_egl env var gives good performance. Thank you |
Describe the bug
When several videos playing, using VDPAU, changing one video to FFmpeg then back to VDPAU again make other videos turn black.
To Reproduce
Download the archive : boxes_switchHwAccel.zip
Compile.
Run the program.
Right click on a video box and select "switch hwAccel" => switches to FFmpeg
Right click on the same video box and select "switch hwAccel" => switches to VDPAU
=> other boxes turn black and stop playing
Environment:
Regards
The text was updated successfully, but these errors were encountered: