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

ffmpeg/tools: Set correct information when encoding #353

Merged
merged 3 commits into from Oct 8, 2020
Merged

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Oct 6, 2020

Description

Improves the previous logic and makes it compatible with the new additions in 26.x, such as sRGB. This was previously broken as the focus was on existing features which could be tested without requiring a compiler to be installed.

Incorrect understanding of how sRGB works with RGB and YCC/YUV formats also caused sRGB to be treated as RGB when I444 was selected. This should also now be fixed, hopefully permanently.

Testing Required

Color Formats

NV12 I420 I444 RGB
H.264 4:2:0 OK OK OK OK
H.264 4:4:4 OK OK
H.265 4:2:0
H.265 4:4:4
ProRES 4:2:2 OK OK FAIL1 OK
ProRES 4:4:4 OK OK OK OK
  1. 4:4:4 to 4:2:2 conversion causes weird colors.

Color Spaces

601 709 sRGB
H.264 4:2:0 OK OK OK
H.264 4:4:4 OK OK OK
H.265 4:2:0
H.265 4:4:4
ProRES 4:2:2 OK OK OK
ProRES 4:4:4 OK OK OK

Related Issues

Improves the previous logic and makes it compatible with the new additions in 26.x, such as sRGB. This was previously broken as the focus was on existing features which could be tested without requiring a compiler to be installed.

Incorrect understanding of how sRGB works with RGB and YCC/YUV formats also caused sRGB to be treated as RGB when I444 was selected. This should also now be fixed, hopefully permanently.

Fixes #331
@Xaymar Xaymar added testing-required Change requires additional testing bug Bugs such as crashing, freezing, broken functionality, etc. labels Oct 6, 2020
@Xaymar
Copy link
Owner Author

Xaymar commented Oct 8, 2020

Seems to work fine from testing. Fixes the weird sRGB color issue.

@Xaymar Xaymar merged commit dc311f5 into master Oct 8, 2020
@Xaymar Xaymar deleted the patch-331 branch October 8, 2020 09:53
Xaymar added a commit that referenced this pull request Nov 1, 2020
* #366 Fix an on-launch crash caused by missing initializers.
* #363 Fix a weird angle definition in 'hexagonize.effect'.
* #355 Fix incorrect or bad values being logged in FFmpeg Encoders.
* #353 Fix weird color conversion issues.
* #347 Fix hidden modal windows preventing 'Hide to Tray' from working.
* #345 Fix Windows Installer being 32-bit instead of 64-bit
@Xaymar Xaymar removed the bug Bugs such as crashing, freezing, broken functionality, etc. label Jul 30, 2022
Xaymar added a commit that referenced this pull request Mar 28, 2023
* #366 Fix an on-launch crash caused by missing initializers.
* #363 Fix a weird angle definition in 'hexagonize.effect'.
* #355 Fix incorrect or bad values being logged in FFmpeg Encoders.
* #353 Fix weird color conversion issues.
* #347 Fix hidden modal windows preventing 'Hide to Tray' from working.
* #345 Fix Windows Installer being 32-bit instead of 64-bit
@Xaymar Xaymar added this to the FFmpeg Encoders (Component) milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing-required Change requires additional testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sRGB/sYCC YUV444 recording with NVIDIA NVENC H.264/AVC and H.265/HEVC results in wrongly tagged footage
1 participant