[Ffmpeg-devel] 4XM audio codec_tag

Michael Niedermayer michaelni
Mon Nov 6 14:47:27 CET 2006


Hi

On Mon, Nov 06, 2006 at 12:17:20PM +0100, Baptiste Coudurier wrote:
> Hi
> 
> Michael Niedermayer wrote:
> >>> [...]
> >>> if you wish to prevent the user from doing things (s)he wants to do
> >>> then you shouldnt write open source software
> >> That doesn't mean we should make it easier for users to do stupid
> >> things, like creating files in violation of the standards.  Of course
> >> we can't completely stop them from doing it, but they should at least
> >> have to put some effort into it.
> > 
> > could you point me to the spec which disallows a new codec to be stored in
> > it? iam not even sure if mpeg-ps/ts do that and if they do, are really all
> > the things various _different_ standard comittees put in it valid?
> > 
> 
> Depends on container, but I know for sure that ISO Media and derivates
> does not support it by defining really constrained specs. (mp4 only
> allows 'mp4v' and 'avc1' as fourcc and defines codec type in object type
> id, all values are defined or reserved, same for 3gp, I don't really
> know for mov, I did not check deeply). I think that overriding a
> reserved value is non standard and therefore forbidden.

so to summarize, iso mp4 supports mpeg4video and h264, 3gp which is
not mp4 is copy and pasted from mp4 with the table of alowed codec
ids edited to support another set of codecs? (no iam not sure, the
mp4 systems spec is so fragmented over various documents that i simply
cant make sense of it,i dont even know which documents i should look
at)
and mpeg-ps ... there is no mpeg-ps spec which lists
all allowed codecs and how they should be stored or? its rather that every
standard comitee hacks mpeg-ps as they see fit to squeeze their codec
into it (again iam not sure, the draft i have definitly has no hint
about aac ac3 mpeg4 or anything like that)

and last, you can store anything in mpeg-ps by using a private stream
that is not violating the standard, and you can do the same with mp4
and some codecs like ac3 are stored as private stream (a mess worse
then avi)

[...]
-- 
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