Getting a list of registered file extents?

Sebastian Dröge sebastian at centricular.com
Fri May 2 00:36:42 PDT 2014


On Do, 2014-05-01 at 11:40 -0400, Stirling Westrup wrote:
> Never mind, just after asking this, I remembered how to get the list. For
> those interested, here's a command line to pull the list out of the
> gst-inspect data:
> 
> $ gst-inspect-1.0 | grep "^typefindfunctions: \(audio\|video\|image\)" |
> grep -v "no extensions" | cut -d' '  -f3- | tr -d ' ' | xargs -d, -L 1 echo
> | sort | uniq | xargs echo

You can obviously also get this via GStreamer API. But it will only
include the known file extensions, not all of these are necessarily
supported... and more formats than those file extensions could be
supported.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140502/b8b5e634/attachment.sig>


More information about the gstreamer-devel mailing list