<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>

CC BY-SA 4.0
2023-02-27T08:56:15.187Z
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
mm_test
CC BY-SA 4.0
2023-02-27T12:53:49.530Z
@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.
Alain1A45
CC BY-SA 4.0
2023-02-28T08:28:01.217Z
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?
mm_test
CC BY-SA 4.0
2023-02-28T13:40:53.597Z
@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.
Alain1A45
CC BY-SA 4.0
2023-03-01T02:28:39.970Z
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?
mm_test
CC BY-SA 4.0
2023-03-01T04:18:55.330Z
"ssa" stands for SubStation Alpha version 4.00 and "ass" stands for Advanced SubStation Alpha, the most advanced version 4.00+
Alain1A45
CC BY-SA 4.0
2023-03-01T05:52:47.170Z
I only need "ssa" stands. What can I do for this?
mm_test
CC BY-SA 4.0
2023-02-23T02:37:51.733Z
2023-02-23T02:37:51.733Z
Alain1A45
<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>

<ffmpeg><subtitles>
Why do I use ffmpeg to embed .ssa subtitles and ffprobe recognizes that the subtitle is ass format？
mm_test
# 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 link description here
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?  

---

