[Ffmpeg-devel] 4XM audio codec_tag

Michael Niedermayer michaelni
Sun Nov 5 23:07:03 CET 2006


Hi

On Sun, Nov 05, 2006 at 09:47:47PM +0000, M?ns Rullg?rd wrote:
[...]
> 
> > you seem to suggest that the application should simply say "no" in
> > that case, but this concept doesnt make sense for generic containers
> > like avi or mov the application might warn the user or require a
> > command line paramter like -strict -1 but beyond that,
> 
> At the very least.  The user should be made aware that what he is
> doing is non-standard, and he should be required to explicitly
> override the standard if that is really what he wants.  Likewise if
> the user is a "she".

fully agree


> 
> > if the user say that he wants 4xm in avi why not mux it?
> 
> Because it's not standardized.  We refuse to encode MPEG video with
> non-standard frame rates (and rightly so).  Why should we be strict at
> the codec level, but ignore every standard at the container level?

a user can override almost everything with 
AVCodecContext.strict_std_compliance
yes framerates in mpeg too, valid or not, some people want and use that
(mostly mpeg in containers with timestamps)


> 
> > this is like microsofts msmpeg4v3 in avi prevention
> 
> Not at all.  What you are suggesting is like the Chinese AVS in MPEG
> thing though.  You end up with files that nobody knows how to play,
> except yourself.

wait, microsoft released the msmpeg4v3 spec? if so that is new to me


> 
> > if OTOH you have no problem with muxing any codec in avi, then why do
> > you complain about them having an entry in riff.c?
> 
> I'm complaining about adding entries to the riff.c tables in order for
> non-RIFF based formats to abuse those tables.  If there is a genuine
> RIFF file that uses some non-standard tag, by all means add to the
> table so we can play the file.  That said, we really should have a
> flag for each entry to tell whether it is standard or not.  The
> AVI/WAV muxers should be modified to not use non-standard entries
> (unless explicitly requested).  If we're really lucky, perhaps that
> would teach a few people to use other formats than AVI.

agree


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list