


When I try to use either of the two commands below using "-map 0" just like I did when I remuxed the original MKV into an MP4, the commands fail and both result in the following output.įfmpeg.exe -i input.mp4 -map 0 -c copy -c:s srt output.mkvįfmpeg.exe -i input.mp4 -map 0 -c:v copy -c:a copy -c:s srt output.mkv These two commands work, however, the output MKV only contains ONE of the TWO audio streams.įfmpeg.exe -i input.mp4 -c copy -c:s srt output.mkvįfmpeg.exe -i input.mp4 -c:v copy -c:a copy -c:s srt output.mkv However, if I omit "-map 0" from the command, it works but only ONE of the audio streams get copied to the output MKV file. The resulting output MP4 contains all the streams from the original MKV.īut if I try to remux the output MP4 into an MKV using the same command, but with a different codec for the subtitles and different file extension, I get an error. I was able to remux the MKV into an MP4 using this command.įfmpeg.exe -i input.mp4 -c copy -c:s mov_text output.mkv

If so that's fine - but I do want to be able to "remux" all the audio tracks if possible.I have an MKV file that contains 5 streams. I have read that some subtitle formats may be incompatible with ffmpeg.

I've tried googling for solutions already but nothing has worked out thus far. Is there a specific "select all audio/subtitle tracks" command I can use to tell ffmpeg to just "remux" everything? If so, can somebody please write it out for me? I'm good with computers but I am a NEWBIE in the area of ffmpeg and video editing/creating/etc. The only small downside was the mp4 file would only have one audio track and one or no subtitle tracks. That was "perfect", and fast, and no "re-encoding" was required. The code that I used to "remux" (is that the term?) these mkv files to mp4 files was:įfmpeg -i movie-name.mkv -vcodec copy movie-name.mp4 commentary tracks) and subtitles that were on the original. The mkv files are excellent - and they include all the audio tracks (e.g. I recently used MakeMKV to burn several blu ray dvds to my computer (at full quality).
