From f62e9435b7b496eed060d3b622649955a64e9ed5 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sat, 16 Oct 2004 16:47:42 +0000 Subject: [PATCH] FAQ entry for manually changing fourcc Originally committed as revision 3599 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/faq.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index 1b8f38bba2..ab0d466ce8 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -132,6 +132,16 @@ Choose a different codec with the -vcodec command line option. Try a 'make distclean' in the ffmpeg source directory. If this does not help see (@url{ffmpeg-bugreport.html}). +@section How do I encode XviD or DIVX video with ffmpeg? + +Both XviD and DIVX (version 4+) are implementations of the ISO MPEG-4 +standard (note that there are many other coding formats that use this +same standard). Thus, use '-vcodec mpeg4' to encode these formats. The +default fourcc stored in a MPEG-4-coded file will be 'DIVX'. If you want +a different fourcc, use the '-vtag' option. E.g., '-vtag xvid' will +force the fourcc 'xvid' to be stored as the video fourcc rather than the +default. + @chapter Development @section Are there examples illustrating how to use the FFmpeg libraries, particularly libavcodec and libavformat ?