Answers.Body: <p>ffmpeg, a command-line tool, can do this:</p>
  
  <pre><code>ffmpeg -i input.mkv -c:v libx264 -crf 23 -c:a copy -c:s copy -fflags +genpts output.mkv
  </code></pre>
  
  <p>Adjust the CRF for larger or smaller size (lower number produces better quality but larger size)</p>
  
  <p>Download ffmpeg (32-bit static version) from <a href="http://ffmpeg.zeranoe.com/builds/" rel="nofollow">here</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T03:26:44.907Z
Answers.Text: thank you, i was also wondering if there is a command like this that allows me to keep dual audio streams?
Answers.UserDisplayName: user12302
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T04:16:40.027Z
Answers.Text: If the source has dual audio streams, then the above command will keep them both.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-16T10:02:34.827Z
Answers.LastActivityDate: 2015-12-16T10:02:34.827Z
Answers.UserDisplayName: Gyan
Body: <p>I have some mkv files with a hevc encoding which is not allowing me to burn to disc in covertxtodvd as it shows no video track as the encoding isn't supported, i was wondering if it was possible to convert the files encoding into avc encoding whilst keeping embedded subtitles and the same mkv format.
  Thank you for reading,
  Nick W</p>
  
Tags: <encoding><file-formats><dvd><mkv>
Title: How to convert an mkv file with hevc encoding to mkv with avc
UserDisplayName: user12302
ThreadText: # How to convert an mkv file with hevc encoding to mkv with avc
  
  (Asked by: username_0 on 2015-12-16)
  
  I have some mkv files with a hevc encoding which is not allowing me to burn to disc in covertxtodvd as it shows no video track as the encoding isn't supported, i was wondering if it was possible to convert the files encoding into avc encoding whilst keeping embedded subtitles and the same mkv format.
  Thank you for reading,
  Nick W
  
  **Tags:** encoding, file-formats, dvd, mkv
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-12-16. Score: 0 | Accepted answer
  
  ffmpeg, a command-line tool, can do this:
  
  ```
  ffmpeg -i input.mkv -c:v libx264 -crf 23 -c:a copy -c:s copy -fflags +genpts output.mkv
  
  ```
  
  Adjust the CRF for larger or smaller size (lower number produces better quality but larger size)
  
  Download ffmpeg (32-bit static version) from [here](http://ffmpeg.zeranoe.com/builds/).
  
  > **Comments:**
  > **username_0**: thank you, i was also wondering if there is a command like this that allows me to keep dual audio streams?  
  > **username_1**: If the source has dual audio streams, then the above command will keep them both.  
  
  ---
  
  