Changes between Initial Version and Version 1 of How to encode Xvid / DivX video with ffmpeg


Ignore:
Timestamp:
07/04/2012 03:35:10 AM (11 months ago)
Author:
burek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • How to encode Xvid / DivX video with ffmpeg

    v1 v1  
     1Although, it might be logical to use a command like this, to encode an XVID video: 
     2{{{ 
     3ffmpeg -i input.avi -vcodec libxvid output.avi 
     4}}} 
     5 
     6but, there is another (better?) way of doing the same thing, with an internal ffmpeg's encoder, without the need for the external library, such as libxvid: 
     7{{{ 
     8ffmpeg -i input.avi -vcodec mpeg4 -vtag xvid output.avi 
     9}}} 
     10 
     11Source: [http://ffmpeg.org/faq.html#How-do-I-encode-Xvid-or-DivX-video-with-ffmpeg_003f] 
     12 
     13"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 ’-c:v mpeg4’ to encode in these formats. The default fourcc stored in an MPEG-4-coded file will be ’FMP4’. 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."