[gstreamer-bugs] [Bug 577099] [discoverer] use gst.pbutils to also give codec/container human-friendly names

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 30 01:19:06 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=577099

  GStreamer | gst-python | Ver: git

Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bilboed at gmail.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
            Summary|Would be nice if discoverer |[discoverer] use gst.pbutils
                   |could also provide codec    |to also give codec/container
                   |names                       |human-friendly names
            Version|0.10.14                     |git




------- Comment #1 from Edward Hervey  2009-03-30 08:19 UTC -------
A trick we use in pitivi is to use the "gst.pbutils" module (plugins base
utils), which is normally used for the missing plugins system, but you can also
use parts of it to convert caps to 'human' description.

In [1]: import gst

In [2]: import gst.pbutils

In [3]: gst.pbutils.get_codec_description(gst.Caps("video/mpeg,
systemstream=True"))
Out[3]: 'MPEG Video'


The above example also shows that you can do that for container formats also !
:)

discoverer should use this.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=577099.




More information about the Gstreamer-bugs mailing list