After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614651 - Export h.264 profile and level in caps
Export h.264 profile and level in caps
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-02 10:45 UTC by Arun Raghavan
Modified: 2010-04-02 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qtdemux: Export h.264 profile in caps (3.00 KB, patch)
2010-04-02 10:45 UTC, Arun Raghavan
committed Details | Review
qtdemux: Export h.264 level in caps (2.52 KB, patch)
2010-04-02 10:46 UTC, Arun Raghavan
committed Details | Review
qtdemux: Minor refactor of the code (4.28 KB, patch)
2010-04-02 10:46 UTC, Arun Raghavan
committed Details | Review
matroska: Export h.264 profile and level in caps (4.57 KB, patch)
2010-04-02 10:46 UTC, Arun Raghavan
committed Details | Review

Description Arun Raghavan 2010-04-02 10:45:49 UTC
I'm attaching a set of patches to export the profile and level of h.264 files in stream caps. These can be used as metadata and for finer-grained negotiations while linking with decoders.
Comment 1 Arun Raghavan 2010-04-02 10:45:56 UTC
Created attachment 157744 [details] [review]
qtdemux: Export h.264 profile in caps

This adds the h.264 profile for a given stream into caps. This can
(eventually) be used to select an appropriate decoder and as metadata
for certain applications.
Comment 2 Arun Raghavan 2010-04-02 10:46:01 UTC
Created attachment 157745 [details] [review]
qtdemux: Export h.264 level in caps

This exports the h.264 level in the stream caps (as a string) which can
be used to match a decoder, or as metadata.
Comment 3 Arun Raghavan 2010-04-02 10:46:06 UTC
Created attachment 157746 [details] [review]
qtdemux: Minor refactor of the code

This will make it easier to clump together common code when copying to
mastroskademux.
Comment 4 Arun Raghavan 2010-04-02 10:46:11 UTC
Created attachment 157747 [details] [review]
matroska: Export h.264 profile and level in caps

This replicates the code in qtdemux to export the h.264 profile and
level in the stream caps.
Comment 5 Sebastian Dröge (slomo) 2010-04-02 16:53:54 UTC
commit 95c6d558f021350746209e68f7f3c07256770c22
Author: Arun Raghavan <ford_prefect@gentoo.org>
Date:   Thu Apr 1 18:48:43 2010 +0530

    matroska: Export h.264 profile and level in caps
    
    This replicates the code in qtdemux to export the h.264 profile and
    level in the stream caps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614651

commit 9317ad6fe95c30a9f482d62284cbcd16294def88
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Fri Apr 2 18:50:45 2010 +0200

    qtdemux: Fix off-by-one introduced in last commit

commit ccef64be3996e6bb47a974cf64c0fa311c463700
Author: Arun Raghavan <ford_prefect@gentoo.org>
Date:   Thu Apr 1 18:38:38 2010 +0530

    qtdemux: Minor refactor of the code
    
    This will make it easier to clump together common code when copying to
    mastroskademux.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614651


commit d6dcd70b4c6daa7254b4c1248d04ec5a2fbea794
Author: Arun Raghavan <ford_prefect@gentoo.org>
Date:   Thu Apr 1 18:17:09 2010 +0530

    qtdemux: Export h.264 level in caps
    
    This exports the h.264 level in the stream caps (as a string) which can
    be used to match a decoder, or as metadata.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614651

commit 503f0988bfc5be6aee9f16a5ce056d9c706acb79
Author: Arun Raghavan <ford_prefect@gentoo.org>
Date:   Thu Apr 1 16:58:32 2010 +0530

    qtdemux: Export h.264 profile in caps
    
    This adds the h.264 profile for a given stream into caps. This can
    (eventually) be used to select an appropriate decoder and as metadata
    for certain applications.

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