nvpro-samples / vk_video_samples

Vulkan video samples
Apache License 2.0
239 stars 40 forks source link

The NVIDIA parser does not provide the right value for StdVideoH264LevelIdc #26

Closed dabrain34 closed 1 year ago

dabrain34 commented 1 year ago

NVIDIA parser reports in StdVideoH264LevelIdc the extracted value from the bytestream, not the mapped data according the specification.

See https://github.com/Igalia/GstVkVideoParser/pull/33#issuecomment-1348420461

dabrain34 commented 1 year ago

ping @zlatinski

zlatinski commented 1 year ago

Thank you, dabrain34, for reporting this issue. Can you please point me to the content that you are testing against?

Actually, never mind. I did see the issue with the general_level_idc. We store the value directly from the parsed stream, but we should have divided it by 30 to get the real values and then store it to the enum output. I'll fix that with the next release.

zlatinski commented 1 year ago

Hi dabrain34, This issue should already be addressed with the new version 0.9.7 of the parser. Please check it out. Thanks!

zlatinski commented 1 year ago

Closing this issue since it has already been fixed.