Answers.Body: <p>Instead of <em>srt</em> try to use <em>text</em>:</p>
  <pre><code>$ ffmpeg -i a.mkv -c:s text b.srt
  </code></pre>
  <p><a href="https://ffmpeg.org/pipermail/ffmpeg-user/2015-December/029668.html" rel="nofollow noreferrer">(source)</a></p>
  <p>For a list of all codecs use:</p>
  <pre><code>ffmpeg -encoders
  </code></pre>
  <p>You can check the <a href="https://ffmpeg.org/ffmpeg.html" rel="nofollow noreferrer">documentation</a> for more options.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-13T17:50:34.840Z
Answers.Text: Well, the documentation is apparently rather incomplete. Some things can only be learned from the [code](https://github.com/FFmpeg/FFmpeg/blob/n4.3.1/libavcodec/srtenc.c#L306-L344). Like, what's the difference between the srt encoders.
Answers.UserDisplayName: x-yuri
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-13T15:11:07.117Z
Answers.LastActivityDate: 2021-02-13T15:11:07.117Z
Answers.UserDisplayName: Matt
Body: <p>What I do:</p>
  <pre><code>$ ffmpeg -i a.mkv -c:s srt b.srt
  </code></pre>
  <p>The resulting file contains HTML tags, is there a way to avoid that?</p>
  <p>On a side note, where can I find the list of... what do they call it... encoders? I simply tried <code>srt</code> for the name and it worked.</p>
  
Tags: <ffmpeg>
Title: HTML tags in SRT files produced by ffmpeg
UserDisplayName: x-yuri
ThreadText: # HTML tags in SRT files produced by ffmpeg
  
  (Asked by: username_0 on 2021-02-13)
  
  What I do:
  
  ```
  $ ffmpeg -i a.mkv -c:s srt b.srt
  
  ```
  
  The resulting file contains HTML tags, is there a way to avoid that?
  
  On a side note, where can I find the list of... what do they call it... encoders? I simply tried `srt` for the name and it worked.
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-02-13. Score: 1 | Accepted answer
  
  Instead of *srt* try to use *text*:
  
  ```
  $ ffmpeg -i a.mkv -c:s text b.srt
  
  ```
  
  [(source)](https://ffmpeg.org/pipermail/ffmpeg-user/2015-December/029668.html)
  
  For a list of all codecs use:
  
  ```
  ffmpeg -encoders
  
  ```
  
  You can check the [documentation](https://ffmpeg.org/ffmpeg.html) for more options.
  
  > **Comments:**
  > **username_0**: Well, the documentation is apparently rather incomplete. Some things can only be learned from the [code](https://github.com/FFmpeg/FFmpeg/blob/n4.3.1/libavcodec/srtenc.c#L306-L344). Like, what's the difference between the srt encoders.  
  
  ---
  
  