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

[BUG] color shift on reds #151

Open
vertexgamer opened this issue Nov 7, 2023 · 0 comments
Open

[BUG] color shift on reds #151

vertexgamer opened this issue Nov 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vertexgamer
Copy link

There is a strong color shift in the reds only when encoding some content with aomenc.
This behaviour does not happen with libaom-av1 or using the same aomenc binary on nmkoder.

I tried:

  • changing ffmpeg version to a newer one and older one
  • removing all metadata with ffmpeg
  • re-encoding the video before
  • forcing rec709 in the metadata
  • downscaling and upscaling the video
    Nothing worked.
    The lossless chunks generated by neav1e does not have the issue
    This are the parameters used: (yes i tried removing --transfer-characteristics=bt709 --color-primaries=bt709 --matrix-coefficients=bt709)
    -pix_fmt yuv420p10le -strict -1 -f yuv4mpegpipe - | "D:\programmi\NotEnoughAV1Encodes\Apps\aomenc\aomenc.exe" - --cq-level=30 --cpu-used=4 --transfer-characteristics=bt709 --color-primaries=bt709 --matrix-coefficients=bt709 --end-usage=q --lag-in-frames=128 --kf-max-dist=99999 --disable-kf --threads=16 --tune-content=psy --sb-size=dynamic --tune=ssim --enable-qm=1 --qm-min=0 --qm-max=8 --dist-metric=qm-psnr --quant-b-adapt=1 --arnr-maxframes=15 --arnr-strength=2 --enable-cdef=0 --tile-columns=0 --tile-rows=0 sb-qp-sweep=1 enable-fwd-kf=1

these are the files: https://drive.google.com/drive/folders/1Avy3udUfltJYB8fNd-9osyHquatS2Eo3?usp=sharing
I used mpv to play them back, VLC show the "red color shift" on all clips.
The obs ones are the "how it's supposed to look".
I also upload 2 screenshot to show the difference:
mpv-shot0001
mpv-shot0002

@vertexgamer vertexgamer added the bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants