---
title: "Comment by Vidlify on \"How to Tell Hardcoded Subtitles from Soft Captions with ffprobe\" | Hashnode"
description: "Useful decision tree. One trap in the mux back step: ffmpeg -i video.mp4 -i newsubs.srt -c copy -c:s mov_text output.mp4 has no -map , so automatic stream selec"
url: "https://hashnode.com/posts/how-to-tell-hardcoded-subtitles-from-soft-captions-with-ffprobe/6b0a947287c5dbda643e4ceb/comment/6b0aa69236f09bb76009d220"
---

[Discussion](https://hashnode.com/posts/how-to-tell-hardcoded-subtitles-from-soft-captions-with-ffprobe/6b0a947287c5dbda643e4ceb)

Comment [How to Tell Hardcoded Subtitles from Soft Captions with ffprobe](https://hashnode.com/posts/how-to-tell-hardcoded-subtitles-from-soft-captions-with-ffprobe/6b0a947287c5dbda643e4ceb)

[Vidlify](https://hashnode.com/@vidlify)

[36m ago](https://hashnode.com/posts/how-to-tell-hardcoded-subtitles-from-soft-captions-with-ffprobe/6b0a947287c5dbda643e4ceb/comment/6b0aa69236f09bb76009d220)

Useful decision tree. One trap in the mux back step: `ffmpeg -i video.mp4 -i newsubs.srt -c copy -c:s mov_text output.mp4` has no `-map`, so automatic stream selection picks one stream per type. I tried it on FFmpeg 6.1.1 with an MP4 that already had a subtitle track and two audio tracks: the output kept the old subtitle track, ignored the new SRT completely, and dropped the second audio track. That is the same selection behaviour you describe for `-sn` further down, so the same fix applies:

```
ffmpeg -i video.mp4 -i newsubs.srt -map 0 -map -0:s -map 1:0 -c copy -c:s mov_text -metadata:s:s:0 language=eng output.mp4
```

That kept both audio tracks, replaced the subtitle with the edited one, and tagged it `eng` instead of `und`.

[jerry lee](https://hashnode.com/@jerryleemaker)

[26m ago](https://hashnode.com/posts/how-to-tell-hardcoded-subtitles-from-soft-captions-with-ffprobe/6b0a947287c5dbda643e4ceb/comment/6b0aa69236f09bb76009d220#reply-6b0aa8fe6212949bcce62403)

Thanks, that's a fair catch — and it is the same default stream selection I already warn about later for `-sn`. I'll update the mux-back example so it maps both inputs, drops the old subtitle track, and sets the language tag. Appreciate you testing it on 6.1.1.
