[Bug 742643] isomp4: Add support for Opus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 10 10:18:58 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=742643

--- Comment #21 from Luis de Bethencourt <luis at debethencourt.com> ---
The spec [0] defines that:
"Due to the priming samples (or the padding at the beginning) derived from the
pre-roll for the startup and the padded samples at the end, we need trim from
media to get the actual duration. An edit in the Edit List Box can achieve this
demand, and the Edit Box and the Edit List Box shall be present."

In other words, the pre_skip should be the media_start value of the elst_entry.

Which is set in gst_qt_mux_update_edit_lists () [0], which if
qtpad->dts_adjustment is > 0, passes (qtpad->first_ts - qtpad->first_dts) as
media_start.

Now, the question is how do I make the pre_skip, gathered in
gst_qt_mux_audio_sink_set_caps(), available in gst_qt_mux_add_buffer() to be
able to set dts_adjustment and first_dts in?

[0]
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/isomp4/gstqtmux.c#n2448

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list