Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mux/mp4/src/mp4mux/imp.rs')
-rw-r--r--mux/mp4/src/mp4mux/imp.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mux/mp4/src/mp4mux/imp.rs b/mux/mp4/src/mp4mux/imp.rs
index 58d6fc4ba..94988d6aa 100644
--- a/mux/mp4/src/mp4mux/imp.rs
+++ b/mux/mp4/src/mp4mux/imp.rs
@@ -888,6 +888,9 @@ impl MP4Mux {
}
delta_frames = super::DeltaFrames::PredictiveOnly;
}
+ "video/x-av1" => {
+ delta_frames = super::DeltaFrames::PredictiveOnly;
+ }
"image/jpeg" => (),
"audio/mpeg" => {
if !s.has_field_with_type("codec_data", gst::Buffer::static_type()) {
@@ -1491,6 +1494,19 @@ impl ElementImpl for ISOMP4Mux {
.field("width", gst::IntRange::new(1, u16::MAX as i32))
.field("height", gst::IntRange::new(1, u16::MAX as i32))
.build(),
+ gst::Structure::builder("video/x-av1")
+ .field("stream-format", "obu-stream")
+ .field("alignment", "tu")
+ .field("profile", gst::List::new(["main", "high", "professional"]))
+ .field(
+ "chroma-format",
+ gst::List::new(["4:0:0", "4:2:0", "4:2:2", "4:4:4"]),
+ )
+ .field("bit-depth-luma", gst::List::new([8u32, 10u32, 12u32]))
+ .field("bit-depth-chroma", gst::List::new([8u32, 10u32, 12u32]))
+ .field("width", gst::IntRange::new(1, u16::MAX as i32))
+ .field("height", gst::IntRange::new(1, u16::MAX as i32))
+ .build(),
gst::Structure::builder("audio/mpeg")
.field("mpegversion", 4i32)
.field("stream-format", "raw")