Encoding av1 4k 10 bit videos have effect of added green tint to output video. #779
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Media Transcode Accelerator team noticed problem during encoding of 10bit yuv files (P010 format) with AV1 encoder.
JIRA report:
[VCX-967] [BM][AUX] Green tint on av1 4K 10 bit videos - https://jira.devtools.intel.com/browse/VCX-967
Test commands:
ffmpeg -hwaccel vaapi -init_hw_device vaapi=hw:/dev/dri/renderD128 -hwaccel_output_format vaapi -v verbose -f rawvideo -pix_fmt p010le -s:v 3840x2160 -r:v 30 -i /home/media_asset/yuv/4K_3840x2160_100frames.P010 -vf format=p010le,hwupload -an -c:v av1_vaapi -rc_mode CBR -g 100 -slices 1 -bf 3 -b:v 30000k -maxrate 30000k -vframes 30 -y logs/latest/tests/functional/av1/test_ffmpeg_encode.py::test_10bit[ffmpeg_vaapi_av1_encode_10bit_5].result.ivf
ffmpeg -hwaccel vaapi -init_hw_device vaapi=hw:/dev/dri/renderD128 -hwaccel_output_format vaapi -v verbose -f rawvideo -pix_fmt p010le -s:v 3840x2160 -r:v 30 -i /home/media_asset/yuv/4K_3840x2160_100frames.P010 -vf format=p010le,hwupload -an -c:v av1_vaapi -rc_mode CBR -g 100 -slices 2 -bf 3 -b:v 30000k -maxrate 30000k -vframes 30 -y logs/latest/tests/functional/av1/test_ffmpeg_encode.py::test_10bit[ffmpeg_vaapi_av1_encode_10bit_6].result.ivf
Result image:

We also created a patch for ffmpeg a few months ago (Dec 20, 2024) but without any reaction from community: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20241220122334.246434-1-grzegorz.rys@intel.com/