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

[Decoding Bug] When the HEVC pix format is gray, the color range will error #623

Open
op200 opened this issue Oct 25, 2024 · 0 comments
Open

Comments

@op200
Copy link

op200 commented Oct 25, 2024

make a test video:

ffmpeg -i input.mkv -c:v libx265 -pix_fmt gray test.mkv

same for 10 or 12 bits gray:

ffmpeg -i input.mkv -c:v libx265 -pix_fmt gray10le test.mkv
ffmpeg -i input.mkv -c:v libx265 -pix_fmt gray12le test.mkv

use lavfilter play test video, the output color range is limited:

rbg(255,255,255) -> rbg(235,235,235)
rbg(0,0,0) -> rbg(16,16,16)

ffplay and mpv don't have this bug
lavfilter decoding AVC does not have this bug either

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

No branches or pull requests

1 participant