GPUOpen-LibrariesAndSDKs / AMF

The Advanced Media Framework (AMF) SDK provides developers with optimal access to AMD devices for multimedia processing
Other
587 stars 148 forks source link

[Bug]: AMF_VIDEO_ENCODER_OUTPUT_COLOR_PRIMARIES doesn't seem to work #354

Open jpark37 opened 1 year ago

jpark37 commented 1 year ago

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):

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

MikhailAMD commented 5 months ago

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.