nvpro-samples / vk_video_samples

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

m_firstFrameConfig(STD_VIDEO_H26X_PICTURE_TYPE_INTRA_REFRESH) causes assert in encoder. #66

Open friesofdoom opened 4 months ago

friesofdoom commented 4 months ago

STD_VIDEO_H26X_PICTURE_TYPE_INTRA_REFRESH is not supported by this switch statement which causes the assert to go off.

https://github.com/nvpro-samples/vk_video_samples/blob/9840c6416353d6b9359407711544e85af6527cfb/vk_video_encoder/libs/VkVideoEncoder/VkVideoEncoder.cpp#L829

zlatinski commented 4 months ago

@friesofdoom, the encoder portion of the sample in main is outdated and deprecated. Please use the https://github.com/nvpro-samples/vk_video_samples/tree/video-encode-h264-265-alpha WIP branch for your evaluation.