Answers.Body: <p>Mp4 container needs you specify the subtitle codec to use.<br />
  Add : <code>-c:s mov_text</code><br />
  Like that :<br />
  <code>ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1 -c copy -c:s mov_text demo.mp4</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-27T08:56:15.187Z
Answers.Text: Thank you for your help！It's worked. There is identified "subtitle: mov_text" by FFprobe,  but I need ssa subtitle.
  If I use the code like that:
      ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1 -c copy -c:s ssa demo.mkv
  An error reported that:
  Subtitle codec 94212 is not supoorted
Answers.UserDisplayName: mm_test
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-27T12:53:49.530Z
Answers.Text: @mm_test As you asked to convert to mp4 and ssa subtitles are not supported by the mp4 container, I proposed a conversion to mov_text. If you want to keep the matroska (mkv) container, ssa subtitles are supported. Normally your last command is correct. Codec 94212 matches ssa well. Check your version of ffmpeg.
Answers.UserDisplayName: Alain1A45
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-28T08:28:01.217Z
Answers.Text: Should I change the version of ffmpeg for keeping the matroska (mkv) container, ssa subtitles are supported. When I enter ‘ffmpeg -version'，it's shown that:
  ffmpeg version N-68994-g4df01d5 Copyright (c) 2000-2015 the FFmpeg developers. Is it too old for Codec 94212?
Answers.UserDisplayName: mm_test
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-28T13:40:53.597Z
Answers.Text: @mm_test Your version is really very old. You would do well to update to benefit from bug fixes and improvements. There are releases for all platforms.
Answers.UserDisplayName: Alain1A45
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T02:28:39.970Z
Answers.Text: It's worked! There is another question. There is identified "subtitle: ass   metadata: encoder  Lavc60.4.110 ssa" by FFprobe. Why the format of subtitle is not ssa?
Answers.UserDisplayName: mm_test
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T04:18:55.330Z
Answers.Text: "ssa" stands for SubStation Alpha version 4.00 and "ass" stands for Advanced SubStation Alpha, the most advanced version 4.00+
Answers.UserDisplayName: Alain1A45
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T05:52:47.170Z
Answers.Text: I only need "ssa" stands. What can I do for this?
Answers.UserDisplayName: mm_test
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-23T02:37:51.733Z
Answers.LastActivityDate: 2023-02-23T02:37:51.733Z
Answers.UserDisplayName: Alain1A45
Body: <p>I use ffmpeg to embed .ssa subtitles into mkv, but ffprobe recognizes that the subtitle is ass format.</p>
  <pre><code>ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1:0 -c copy demo.mkv
  </code></pre>
  <p>Also, I learned that ssa subtitles also support MP4, but when I use the command to convert to MP4 that ffmpeg report error：could not find tag for codec ass in stream #2, codec not currently supported in container
  <a href="https://i.sstatic.net/LEoZg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LEoZg.png" alt="enter image description here" /></a>
  <a href="http://www.mezzmo.com/wiki/doku.php?id=supported_subtitle_formats" rel="nofollow noreferrer">enter link description here</a></p>
  <p>How can I solve this problem？</p>
  
Tags: <ffmpeg><subtitles>
Title: Why do I use ffmpeg to embed .ssa subtitles and ffprobe recognizes that the subtitle is ass format？
UserDisplayName: mm_test
ThreadText: # Why do I use ffmpeg to embed .ssa subtitles and ffprobe recognizes that the subtitle is ass format？
  
  (Asked by: username_0 on 2023-02-22)
  
  I use ffmpeg to embed .ssa subtitles into mkv, but ffprobe recognizes that the subtitle is ass format.
  
  ```
  ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1:0 -c copy demo.mkv
  
  ```
  
  Also, I learned that ssa subtitles also support MP4, but when I use the command to convert to MP4 that ffmpeg report error：could not find tag for codec ass in stream #2, codec not currently supported in container
  [![enter image description here](https://i.sstatic.net/LEoZg.png)](https://i.sstatic.net/LEoZg.png)
  [enter link description here](http://www.mezzmo.com/wiki/doku.php?id=supported_subtitle_formats)
  
  How can I solve this problem？
  
  **Tags:** ffmpeg, subtitles
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-02-23. Score: 1
  
  Mp4 container needs you specify the subtitle codec to use.  
  Add : `-c:s mov_text`  
  Like that :  
  `ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1 -c copy -c:s mov_text demo.mp4`
  
  > **Comments:**
  > **username_0**: Thank you for your help！It's worked. There is identified "subtitle: mov_text" by FFprobe,  but I need ssa subtitle. If I use the code like that:     ffmpeg -i input.avi -i input.ssa -map 0:0 -map 0:1 -map 1 -c copy -c:s ssa demo.mkv An error reported that: Subtitle codec 94212 is not supoorted  
  > **username_1**: @username_0 As you asked to convert to mp4 and ssa subtitles are not supported by the mp4 container, I proposed a conversion to mov_text. If you want to keep the matroska (mkv) container, ssa subtitles are supported. Normally your last command is correct. Codec 94212 matches ssa well. Check your version of ffmpeg.  
  > **username_0**: Should I change the version of ffmpeg for keeping the matroska (mkv) container, ssa subtitles are supported. When I enter ‘ffmpeg -version'，it's shown that: ffmpeg version N-68994-g4df01d5 Copyright (c) 2000-2015 the FFmpeg developers. Is it too old for Codec 94212?  
  > **username_1**: @username_0 Your version is really very old. You would do well to update to benefit from bug fixes and improvements. There are releases for all platforms.  
  > **username_0**: It's worked! There is another question. There is identified "subtitle: ass   metadata: encoder  Lavc60.4.110 ssa" by FFprobe. Why the format of subtitle is not ssa?  
  > **username_1**: "ssa" stands for SubStation Alpha version 4.00 and "ass" stands for Advanced SubStation Alpha, the most advanced version 4.00+  
  > **username_0**: I only need "ssa" stands. What can I do for this?  
  
  ---
  
  