[FFmpeg-devel] [PATCH] Detect DNET/byte-swapped AC-3 and support decoding it directly.

Reimar Döffinger Reimar.Doeffinger
Sat Mar 5 16:06:50 CET 2011


On Sat, Mar 05, 2011 at 02:46:38PM +0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> > Do they have any name for it?
> > Can you point me to some samples?
> > It's not that I am really opposed to a different name in principle,
> > however the only case I have _ever_ seen it with a name is DNET
> > (and I think it's fair to point out that I really called it
> > "byte-swapped (dnet) format", not just "DNET").
> > Not to mention that I have already once before asked for a better
> > suggestion, and if people continue with this bikeshed naming complaint
> > without proposing anything usable I'll probably send my next patches calling
> > it "eghrehe" and "sgee4rh" format.
> 
> What's wrong with calling it AC3?  Or AC3LE if you must differentiate it.
> Or "byteswapped AC3".  Should we start naming all codecs after the
> identifier used in whatever file format you happen to first see them in?

Well, is it used anywhere else (note that I do not count the SPDIF thingy
discussed below, since there the swapping is really completely independent
of the encapsulated data)?
I do consider it rather useful to mention DNET, since that's the name people
familiar with Real stuff know it as.
AC3LE is confusing, but I wouldn't mind it in indentifiers or so if others
prefer it.
"byteswapped AC-3" is what I did name it (well, I left out the AC-3), I just
added DNET in () since DNET is a popular name for it.
Anyway I changed the comment locally to "seems to be byte-swapped AC-3 (aka DNET)",
reasonable?

> > There's also the question of convenience we also have a muxer
> > called "spdif" even though that's the name of the physical protocol.
> 
> Is there a separate spec for the data format?

Ok, that explains why you complained about my term "IEC container"
back then. I assumed you were aware because someone mentioned
it just two mails before. Thing is SPDIF is wrong and the IEC
number I won't even try to remember.



More information about the ffmpeg-devel mailing list