mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
gstreamer: Use stream-format=obu-stream alignment=tu in the caps
There is no byte-stream/au format for AV1 but only for H264, and the encoder actually outputs obu-stream/tu instead of the annexb stream-format that is similar to H264 byte-stream format. Without this the encoder can't be used with elements that require a specific AV1 stream-format, e.g. the MP4 or Matroska/WebM muxer.
This commit is contained in:
parent
80e364876b
commit
aba0b0e90a
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ static GstStaticPadTemplate gst_svtav1enc_sink_pad_template = GST_STATIC_PAD_TEM
|
|||
static GstStaticPadTemplate gst_svtav1enc_src_pad_template = GST_STATIC_PAD_TEMPLATE(
|
||||
"src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS("video/x-av1, "
|
||||
"stream-format = (string) byte-stream, "
|
||||
"alignment = (string) au, "
|
||||
"stream-format = (string) obu-stream, "
|
||||
"alignment = (string) tu, "
|
||||
"width = (int) [64, 3840], "
|
||||
"height = (int) [64, 2160], "
|
||||
"framerate = (fraction) [0, MAX]"));
|
||||
|
|
Loading…
Reference in a new issue