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
qsv: fix 10b green frames #4876
Conversation
galinart
commented
Jan 26, 2023
•
edited
edited
- Fix the AV1 QSV 2160p 4k - ENCODED BACKUPS ARE ALL GREEN #4842
- After 1847651 commit constants were changed
- [Deleted] Align AV1 QSV HW preset bit depth to the other 8bit HW presets
Fix the HandBrake#4842 Co-authored-by: Vladyslav Sosunovych <vladyslav.sosunovych@intel.com>
After HandBrake@1847651 commit constants were changed. Constants values must match the libhb/handbrake/common.h otherwise Windows GUI issues.
Isn't there a way to import a C define in C# to avoid the same issue in the future? |
We want to always encode 10-bit AV1, until we develop the ability to switch the output bit depth based on the input. |
I should have some time at the weekend to validate and get this in. |
Understood, the only thing that confused me that it is different that other presets do and name don't indicate this. |
Compatibility. Quite a few of the presets for HEVC or AV1 are now 10bit. H264 10bit isn't the most compatible where as this is much less an issue for HEVC and I think almost a non issue for AV1 |
HEVC and AV1 should be 10-bit for all presets and AVC 8-bit. Some hardware HEVC encoders I believe I left 8-bit because I could not QA them or they have known issues. |
941c7dd
to
ae68128
Compare
Took a bit to figure out when this occurs but I re-created the bug and the fix appears to be good. |
* qsv: fix the clip range for user encoder buffer parameters * qsv: fix green frames for 10bit pipeline Fix the #4842 Co-authored-by: Vladyslav Sosunovych <vladyslav.sosunovych@intel.com> * WinGui: fix QSV constants for Windows GUI After 1847651 commit constants were changed. Constants values must match the libhb/handbrake/common.h otherwise Windows GUI issues. --------- Co-authored-by: Vladyslav Sosunovych <vladyslav.sosunovych@intel.com> (cherry picked from commit c06a5eb)
Merged to 1.6.x branch for the 1.6.2 release. |