Answers.Body: <p>You can use ffmpeg to perform this conversion. Grab the 32-bit static build from <a href="http://ffmpeg.zeranoe.com/builds/" rel="nofollow">here</a>.</p>
  
  <p>And run the following command from the command prompt:</p>
  
  <pre><code>ffmpeg -i "c:\path\to\input.avi" -c:v libxvid -vtag xvid -qscale:v 3 -c:a libmp3lame -qscale:a 4 output.avi
  </code></pre>
  
  <p>You can experiment with the value of qscale:v to get the quality or file size that you need. Values from 1 to 31 are accepted, with 1 being best quality (and largest file size) and 31 being worst quality and smallest file size. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-28T09:27:04.573Z
Answers.LastActivityDate: 2015-10-28T09:27:04.573Z
Answers.UserDisplayName: Gyan
Body: <p>I am trying to convert mp4 videos to match the codec requirement of </p>
  
  <p>Codec: XVID as per the attached picture. 
  Can anyone advise how or what tool can be used?
  <a href="http://xomf.com/wkvgv" rel="nofollow noreferrer">screenshot http://xomf.com/wkvgv</a></p>
  
  <p><a href="http://xomf.com/wkvgv" rel="nofollow noreferrer">http://xomf.com/wkvgv</a></p>
  
  <p>Thanks</p>
  
Tags: <video><codec>
Title: How to convert video to required codec?
UserDisplayName: Darren
ThreadText: # How to convert video to required codec?
  
  (Asked by: username_0 on 2015-10-28)
  
  I am trying to convert mp4 videos to match the codec requirement of
  
  Codec: XVID as per the attached picture.
  Can anyone advise how or what tool can be used?
  [screenshot http://xomf.com/wkvgv](http://xomf.com/wkvgv)
  
  <http://xomf.com/wkvgv>
  
  Thanks
  
  **Tags:** video, codec
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-10-28. Score: 2 | Accepted answer
  
  You can use ffmpeg to perform this conversion. Grab the 32-bit static build from [here](http://ffmpeg.zeranoe.com/builds/).
  
  And run the following command from the command prompt:
  
  ```
  ffmpeg -i "c:\path\to\input.avi" -c:v libxvid -vtag xvid -qscale:v 3 -c:a libmp3lame -qscale:a 4 output.avi
  
  ```
  
  You can experiment with the value of qscale:v to get the quality or file size that you need. Values from 1 to 31 are accepted, with 1 being best quality (and largest file size) and 31 being worst quality and smallest file size.
  
  
  ---
  
  