FAQ entry for manually changing fourcc
authorMike Melanson <mike@multimedia.cx>
Sat, 16 Oct 2004 16:47:42 +0000 (16:47 +0000)
committerMike Melanson <mike@multimedia.cx>
Sat, 16 Oct 2004 16:47:42 +0000 (16:47 +0000)
Originally committed as revision 3599 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/faq.texi

index 1b8f38b..ab0d466 100644 (file)
@@ -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 ?