[Bug 793876] h265parse: add support for 'Format range extensions profiles'

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 28 19:13:49 UTC 2018


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

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #369009|none                        |reviewed
             status|                            |

--- Comment #7 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 369009:
 --> (https://bugzilla.gnome.org/review?bug=793876&attachment=369009)

::: gst/videoparsers/gsth265parse.c
@@ +1296,3 @@
+
+    return profile.name;
+  }

I think it would be better to match a compatible profile instead of doing an
exact match. As an example, we know that we have bitstream using a unamed
profile:

  {"uname", 1, 1, 1, 1, 0, 0, 0, 0, TRUE},

This is compatible with "main-422-10", just that max_8bit_constraint_flag is
set. As per the spec a "main-422-10" compliant decoder should support this,
there is just no specific profile name for it. In this implementation, the
profile would not be set, and then any decoder will endup being tried.

So I think we should expose a profile name that are compatible. That's closer
to what we do in H264 parser, where we simply check the IDC and if certain
flags are set. To do se, we'll need to search for a profile that match, and
then keep the one that has the least extra constraints. In our example,
main-422-10 would have 1 extra contraints, while main-422-12 would have two, so
main-422-10 would be a better valid profile choice for the custom bitstream.

-- 
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