Changes between Version 1 and Version 2 of Hot to encode Xvid / DivX video with ffmpeg


Ignore:
Timestamp:
07/04/2012 03:34:53 AM (12 months ago)
Author:
burek
Comment:

--

Legend:

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

    v1 v2  
    1 Although, it might be logical to use a command like this, to encode an XVID video: 
    2 {{{ 
    3 ffmpeg -i input.avi -vcodec libxvid output.avi 
    4 }}} 
    5  
    6 but, 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 {{{ 
    8 ffmpeg -i input.avi -vcodec mpeg4 -vtag xvid output.avi 
    9 }}} 
    10  
    11 Source: [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."