[MPlayer-dev-eng] NUT cleanup

Ivan Kalvachev ikalvachev at gmail.com
Sat Sep 3 15:14:53 CEST 2005


2005/9/3, Rich Felker <dalias at aerifal.cx>:
[...]
> 4. Index. There's no pointer at the end of the file pointing back to
>    the beginning of the index, so you have to keep seeking back and
>    searching (without bound) for the index startcode. I'd propose
>    either an end-of-index startcode followed by a vlc-coded
>    backpointer to the index, or a reverse-vlc-coded backpointer at the
>    end of the index.

Hack over hack.
Having to find index by using recovery search is u(m)ber broken.
(Not to say the unreasonable requirement index to be at (somewhere)the end.)
Having header pointing to it, would be much more simple. (yaya, vlc ...)


> 6. Field name "fourcc", usage of word "codec". To windows kids, codec
>    usually means the implementation, not the compression standard. IMO
>    we should call it the "compression format" or the "encoding" rather
>    than codec to make it clear. Also might be good to drop the name
>    "fourcc" in favor of a more general name for the identifier.

Matroska tried such solution. And I think it just made things worse.
If you want huge tables for various mappings other than codecs.conf ,
you are free to go...
I would recomend additional field `stream_mime_type`, and fourcc as
fallback. I saw something like mime types (in rtsp I think) looking
like  "video/mpeg4-avc")




More information about the MPlayer-dev-eng mailing list