[Bug 732265] vaapidecode: h264: add support for decoding MVC base views only

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 19 23:50:26 UTC 2017


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

--- Comment #4 from Orestis Floros <orestisf1993 at gmail.com> ---
(In reply to sreerenj from comment #2)
>   b: The pipeline ".. ! demuxer ! vaapihh264dec !.." will fail if there is
> no hw capability to decode MVC, Because the decoder advertise the support
> for Annex-A but demuxer report MVC profile.Which means there is no one to
> drop the NON-Annex-A NALs.
> There is no negotiated profle in this case, because negotiation failed.
>
>   c: The pipeline ".. ! demuxer ! vaapihh264dec !.." will work even if there
> is no hw capability to decode MVC If and Only if the user explicitly enable
> base-only=TRUE.
> The negotiated profile will be Annex-H profile in this case, because we
> forcefully enable the dropping. If we try to negotiate Annex-A profile,
> there is no guarantee about the capability of upstream element to drop
> NON-ANNEX-A NALs.
>
> There are different combinations possible like the above. Any better
> suggestions?

An other option (don't know if it is doable) is to dynamically switch between
(a.) and (c.). If the upstream element can't negotiate Annex-A profiles,
negotiate Annex-H profile and drop the NON-ANNEX-A NALs. If the upstream
element fails to drop the NON-ANNEX-A NALs we can always drop them from
vaapih264dec.

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