Skip to content

[BUG] color shift on reds #151

@vertexgamer

Description

@vertexgamer

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions