"presence": "always"
},
"src": {
- "caps": "video/x-av1:\n width: [ 16, 8192 ]\n height: [ 16, 8192 ]\n alignment: tu\n",
+ "caps": "video/x-av1:\n width: [ 16, 8192 ]\n height: [ 16, 8192 ]\n stream-format: obu-stream\n alignment: tu\n",
"direction": "src",
"presence": "always"
}
#define DOC_SRC_CAPS \
"video/x-av1, width = (int) [ 16, 8192 ], height = (int) [ 16, 8192 ], " \
- "alignment = (string) tu"
+ "stream-format = (string) obu-stream, alignment = (string) tu"
typedef struct _GstQsvAV1EncClassData
{
}
caps = gst_caps_from_string ("video/x-av1, profile = (string) main, "
- "alignment= (string) tu");
+ "stream-format = (string) obu-stream, alignment= (string) tu");
out_state = gst_video_encoder_set_output_state (GST_VIDEO_ENCODER (encoder),
caps, state);
gst_video_codec_state_unref (out_state);
#endif
std::string src_caps_str = "video/x-av1, profile = (string) main, "
- "alignment = (string) tu";
+ "stream-format = (string) obu-stream, alignment = (string) tu";
src_caps_str += ", width=(int) [ 16, " + std::to_string (resolution) + " ]";
src_caps_str += ", height=(int) [ 16, " + std::to_string (resolution) + " ]";