[MPlayer-dev-eng] [PATCH] formats.html (again)

Diego Biurrun diego at biurrun.de
Fri Mar 29 02:17:17 CET 2002


Arpi, thanks for taking the time to point this stuff out to me.

Arpi writes:
 > 
 > > Arpi beat me with his checkin of my patch..
 > I've waited for Gabucino but it seems you're still procmail'ed to /dev/null

Unfortunately you appear to be right.  I regret this very much.

 > -<P>You see, a <B>codec</B> is not the same as a <B>file format</B>.<BR>
 > +<P>You see, a <B>video codec</B> is not the same as a <B>video
 > format</B>.<BR>
 > 
 > hey, i've dropped this change BY REASON at first time.
 > facts:
 > - video format is not the same as file format
 > - video codec is the code to en/decode a given video format
 > - audio codec is the code to en/decode a given audio format
 > - demuxer is the code to handle a given _file_ format

corrected

 > the difference between audio and video is very different form that you and
 > Gabu wrote!
 >
 > in the reality, no video-only file format, which can be played by codec
 > without using some kind of demuxer. but most (not all) audio-only file
 > format is the same as teh raw audio steram of a mxued stream, so they
 > can be played without using any demuxer. in this case we may say: audio
 > format is the same as audio-only file format. btw it's misleading and i
 > doubt we should keep such sentence in the docs.

OK, I have dropped the sentence about audio codecs and formats being
the same from my version and speak of file formats instead of video
formats now.

 > the term 'video format' is also bad... people usually call muxed audio-video
 > and muxed video-only file formats 'video format' and raw audio-only files
 > 'audio format'. it is not too clean and shouldn't be used in mplayer dox
 > or must be explained before using these.
 >
 > from the docs:
 > +Examples of video <B>codecs</B> are: MPEG1, MPEG2, DivX, Indeo5, 3ivx.<BR>
 > +Examples of video <B>formats</B> are: MPG, AVI, ASF.<BR>
 > 
 > mpg, avi and asf are really video _file_ formats
 > mpeg 1/2, divx etc are video formats and can be decoded using video codecs
 > mp3, aac, ac3 are audio formats and audio file formats
 > wma, wav are audio _file_ formats but not audio format (.wma/.wav can contain
 > mp3, aac, pcm etc audio formats muxed)
 > note that wma file format (a.k.a. asf file format) mostly have audio in wma
 > audio format, a.k.a divx audio format, but the file format allows to use mp3
 > pcm or any other win32/acm supported audio format.


OK, I speak of "Video file formats" and "Audio file formats" instead
of "Video formats" and "Audio Formats" in the section titles now.


I also made a change to the CSS style that allows getting rid of the
<FONT> tag.  I set the font for the whole document.  This also works
in tables removing the need for a <FONT> tag in every <TD> element.
It pays off in codecs.html, which I am currently working on and even
more so in faq.html with its more than 300 <FONT>s, the code becomes
smaller and more readable.

Here comes the updated patch.
Have fun

Diego



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer_formats.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020329/8bce9d5d/attachment.txt>


More information about the MPlayer-dev-eng mailing list