[FFmpeg-devel] [PATCH] Cosmetics: improve long names for ffm muxer and demuxer

Stefano Sabatini stefano.sabatini-lala
Mon Jul 21 11:44:20 CEST 2008


On date Sunday 2008-07-20 23:06:26 +0200, Diego Biurrun encoded:
> On Sun, Jul 20, 2008 at 01:58:57PM -0700, Baptiste Coudurier wrote:
> > Diego Biurrun wrote:
> > > On Sun, Jul 20, 2008 at 11:53:09AM -0700, Baptiste Coudurier wrote:
> > >> Diego Biurrun wrote:
> > >>> On Sat, Jul 19, 2008 at 06:03:30PM -0700, Baptiste Coudurier wrote:
> > >>>> Stefano Sabatini wrote:
> > >>>>> --- libavformat/ffmdec.c	(revision 14284)
> > >>>>> +++ libavformat/ffmdec.c	(working copy)
> > >>>>> @@ -477,7 +477,7 @@
> > >>>>>  
> > >>>>>  AVInputFormat ffm_demuxer = {
> > >>>>>      "ffm",
> > >>>>> -    NULL_IF_CONFIG_SMALL("ffm format"),
> > >>>>> +    NULL_IF_CONFIG_SMALL("FFserver live feed Muxer"),
> > >>>>>      sizeof(FFMContext),
> > >>>> I don't think this is the right name.
> > >>> Well, it is called by that name in the code:
> > >>>
> > >>>  * FFM (ffserver live feed) demuxer
> > >> Do we add "Muxer" to names ? No, at least not in mxf.c and mov.c
> > > 
> > > No, we do not.
> > 
> > So why would you accept this name ? 

I was trying to explicit the meaning of the FFM acronym (and also to
make evident the connection with FFserver), I think a better choice
could be then:

"FFM (FFserver live feed Muxer) format"

Long names as we apparently use them in FFmpeg are always supposed to
be a description of the format (media bitstream or multimedia
bitstream) rather than of the corresponding encoder/decoder (stream
codec or muxer/demuxer), in order to get that we have to suffix with
the type of encoder/decoder (encoder, decoder, muxer, demuxer), which
in this case would result as: "FFM (FFserver live feed Muxer) format
{muxer|demuxer}"

So with:
"FFM (FFserver live feed Muxer) format"

I mean the format which is issued by the FFserver live feed muxer.

> There is a misunderstanding here.  First, I never meant to imply that
> the word "muxer" should be part of the codec long name.  Second, I
> understood you to mean that "FFserver live feed" was not the correct
> name for the format implemented in ffmdec.c/ffmenc.c.  Is this the
> correct name, yes or no?  If no, which is the correct one?

+1.

Regards.
-- 
FFmpeg = Freak and Furious Minimalistic Proud EnGraver




More information about the ffmpeg-devel mailing list