Skip to content
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

Wrong colors in Player #43

Open
ThomasDebrunner opened this issue Nov 13, 2019 · 3 comments
Open

Wrong colors in Player #43

ThomasDebrunner opened this issue Nov 13, 2019 · 3 comments
Assignees
Labels

Comments

@ThomasDebrunner
Copy link

I have the problem that as soon as I build the player and perform the recording from the player, the generated video seems to have wrong color information. I suspected the -pixel_format for the raw video for ffmpeg would be wrong, but none of the combinations of rgb and a resulted in correct colors.

The green part is supposed to be gray (#6c6c6c) and the blue part is supposed to be brown.

Screenshot

When running from the editor, everything works as expected. I have tried on both macOS catalina (metal) and Ubuntu (Vulkan). The mac has intel integrated graphics, the ubuntu has NVIDIA card with official nvidia drivers.

@keijiro keijiro self-assigned this Nov 14, 2019
dennistimmermann added a commit to dennistimmermann/FFmpegOut that referenced this issue Nov 15, 2019
@dennistimmermann
Copy link

Explicitly setting the TextureFormat in the AsyncGPUReadback fixed this issue for me. This behaviour is only occuring in the standalone versions.

See #44

@ThomasDebrunner
Copy link
Author

Thanks @dennistimmermann, that fixes the issue for me as well!

@bakwc
Copy link

bakwc commented Feb 14, 2021

Same issue here. Fix #44 helped! Please merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants