AMF icon indicating copy to clipboard operation
AMF copied to clipboard

[Bug]: AMF_VIDEO_ENCODER_OUTPUT_COLOR_PRIMARIES doesn't seem to work

Open jpark37 opened this issue 3 years ago • 1 comments

Describe the bug Using AMF in the context of OBS, and color primaries metadata doesn't seem to be written for H.264 even though OBS seems to be setting the property to AMF_COLOR_PRIMARIES_BT709.

To Reproduce Steps to reproduce the behavior:

  1. Record an ordinary Rec. 709, H.264 video with AMF using OBS 28.0.1.
  2. Load the video with VLC (at least 3.0.17.4), and look at Media Information. The color primaries are not listed, but color space, and color TRC are.
  3. I also stepped through the AVC parser of MediaInfo with a debugger, and saw color primaries listed as 0 instead of 1.

Setup (please complete the following information):

  • OS: WIndows 11
  • Driver Version: 22.5.1
  • GPU: RX 5700
  • Which component has the issue: Encoder

Debug Log (please upload or paste):

N/A

Expected behavior VLC should show color primaries, and it does when recording HEVC (AMF_VIDEO_ENCODER_HEVC_OUTPUT_COLOR_PRIMARIES).

Screenshots N/A

Additional context N/A

jpark37 avatar Sep 21 '22 04:09 jpark37

Sorry for the long delay. The problem has addressed and the fix will appear in one of upcoming driver packages. We will notify when the driver is published.

MikhailAMD avatar Feb 13 '24 01:02 MikhailAMD