[gstreamer-bugs] [Bug 636753] pbutils function to map (container) caps to filename extension

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 13 02:22:00 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=636753
  GStreamer | gst-plugins-base | unspecified

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bilboed at gmail.com

--- Comment #8 from Edward Hervey <bilboed at gmail.com> 2010-12-13 10:21:55 UTC ---
We could add a 'extension' field to the container profiles...

... but it would stil be nice if there was a default choice done in order not
to force users to always write that.

(In reply to comment #7)
> Not that I'm opposed to this, but I'm wondering whether it wouldn't be better
> if this kind of info was part of the encoding profile stuff instead.
> 
> There are things we'll never get right with the API proposed here - for
> example: it should be 'ogv' for ogg video and not just 'ogg'.

  Not much we can do about that use-case (and the asf+wma => .wma cases). Those
would indeed have to be hardcoded.

> 
> Or things like 'mp4', '3gp', 'mov' etc.

  That's another reason why re-using the typefinders instead of (extending)
pbutils/description is a bad idea.

  We could add an additional field in the descriptions internal structure to
contain recommended extensions.
  In addition, we could have support for the variants of quicktime:
  variant=apple => .mov
  variant=3gpp => .3gp
  variant=iso => .mp4

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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