[Bug 796519] Add AV1 codec parser

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 14 07:18:00 UTC 2018


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

--- Comment #37 from Georg Ottinger <g.ottinger at gmx.at> ---
(In reply to sreerenj from comment #34)
> I'm confused with the usage of gst_av1_parse_get_first_obu() and
> gst_av1_parse_get_next_obu().

gst_av1_parse_get_first_obu() expects a data chunk (e.g. some kind of packet)
this packet can hold one of more OBUs. 

In the current Version of the parser library  - the data needs to be
"OBU-aligened" in the case of low overhead bitstream format (Section 5) - 
Whereas in Annex B the data has to be "TemporalUnit-aligned" 

As an example a Temporal Unit consists of at least two OBUs:

Frame OBU
Temporal Delimiter OBU

In this case gst_av1_parse_get_first_obu() returns the Frame OBU - and
gst_av1_parse_get_next_obu() would return the Temporal Delimiter OBU. Because
both OBUs might be in one packet gst_av1_parse_get_first_obu() also stores the
referencs to the packet as well as current position information, so that
gst_av1_parse_get_next_obu() only needs *parser and *obu as parameters.

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


More information about the gstreamer-bugs mailing list