[gst-devel] gst-ffmpeg & decodebin

Edward Hervey bilboed at gmail.com
Wed Feb 6 19:55:47 CET 2008

On Wed, 2008-02-06 at 20:49 +0100, Tom Cooksey wrote:
> > > There's still the issue of codecs where it's ffmpeg or nothing. If
> > > there's no alternetive, I still think GStreamer should try ffmpeg,
> > > emiting the appropriate warnings.
> >
> >   The rule is as follow: If we know there's an alternative decoder for a
> > given format, we set the rank of the ffmpeg plugin for that decoder to
> > NONE, else we set it to MARGINAL. 
> >   GST_RANK_MARGINAL implies that there is a better plugin out there.
> Surely NONE implies there's a better plugin out there? MARGINAL implies there 
> isn't anything better?

  No, we set them to NONE because we WANT people to use the other
plugins ! This is beyond the point of this thread, but to put it simply,
it's a Pain in the *** to maintain the ffmpeg subset, so we try to limit
the default usage of the ffmpeg plugins.
  For those for which there are no alternatives, we put it to MARGINAL
so that *IF* somebody writes another non-ffmpeg plugin for that format,
he/we can set it to a higher rank and people will be able to enjoy the
pleasure of well supported plugins.

> >   Exceptions: Mpeg4, h264 and cook are primary, because they are the
> > best decoders out ther.
> Right, so for codecs which ffmpeg has the best/only support for, ffmpeg IS 
> used. Good.
> I guess I'm a minority case. I also get the impression people have been 
> blindly touting "gstreamer sux" because an external plugin caused 
> applications to crash. Wow... that must have been very fustrating - you have 
> my sympathy.
> For my small case, where ffmpeg works and I want to use it, how would you 
> recomend I proceed? I know I can patch gstffmpegdec.c & gstffmpegdemux.c, but 
> is there another way? Can I edit ~/.gstreamer-0.10/registry.xxxx.xml ? Will 
> this be re-generated everytime a plugin is upgraded/installed/uninstalled? Is 
> there any way to override the rank at runtime?
> Cheers,
> Tom
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list