Mercurial > mplayer.hg
changeset 32528:488660501547
fix punctuation and wording in ffmpeg codec howto
author | compn |
---|---|
date | Wed, 10 Nov 2010 15:18:03 +0000 |
parents | babddccb9312 |
children | 0624fa95a2aa |
files | DOCS/tech/codecs.conf.txt |
diffstat | 1 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/codecs.conf.txt Wed Nov 10 08:32:54 2010 +0000 +++ b/DOCS/tech/codecs.conf.txt Wed Nov 10 15:18:03 2010 +0000 @@ -180,30 +180,31 @@ dll mdec out YV12 -the "videocodec" name should start with ff to differentiate it from other +The "videocodec" name should start with ff to differentiate it from other libraries or binary codecs. -the "dll" name comes from the codec source file or the libavcodec/allcodecs.c +The "dll" name comes from the codec source file or the libavcodec/allcodecs.c file. -the "out" colorspace can be found in the codec source file in the PIX_FMT +The "out" colorspace can be found in the codec source file in the PIX_FMT struct. Note that some codecs may have several pix_fmt structs. -the pix_fmt can be converted to the mplayer "out" format by reading +The pix_fmt can be converted to the codecs.conf "out" format by reading the fmt_conversion.c file. libmpdemux/mp_taglists.c -------------- -if the lavf demuxer does not pass on a fourcc (mostly video game formats -or other containers that do not support isom/fourcc tags). you will have to -make one based on the ffmpeg codec id. Note that it is a good idea to mark -any fourcc you create as ' ; internal MPlayer FourCC'. just in case another -codec uses that fourcc, you can easily change the internal one. also this -will stop other projects from thinking your made up tag is a real fourcc -found in the wild. +Sometimes the lavf demuxer will not pass on a fourcc (mostly video game +formats or other containers that do not support isom/riff tags). You will have +to make one based on the codec_id listed in the codec source file. + +Note that it is a good idea to mark any fourcc you create as +' ; internal MPlayer FourCC'. In case another codec uses that fourcc, +you can easily change the internal one. Also this will stop other projects +from thinking of the internal tag as a real fourcc found in the wild. libmpdemux/demuxer.c -------------- -some audio codecs require a parser, you can see which ones do -by reading the parsers section in libavcodec/allcodecs.c +Some audio codecs require a parser, you can see which ones do +by reading the parsers section in libavcodec/allcodecs.c. EOF