Hello! New here!
I've become somewhat proficient with FFMPEG and typing up batch scripts for converting recently. My issue is... I refined my batch conversion options to produce intended results (going from mkv to mp4). I'm about 48 hours into converting and... I realized my subtitles option was incorrect and am missing subtitles on all of the mp4 output files.
Is there any (relatively) painless way to simply import/repack subtitle streams directly from MKV files to already existing MP4 files?
I've stumbled on MP4Box and started working out an FFMPEG script to (re-mux?) the already transcoded MP4 files, but I don't quite know if what I have in mind will work without having to re-encode everything all over again from the start... And I would rather not spend several days doing that again.
Using FFMPEG, Handbrake, or MP4Box via command line (with broad scope target syntax? Eg: %%F) would probably be prefered, as there are many files that need subs transferred. If I have to repack from MP4 to MKV, transfer sub streams, then repack back to MP4 again that would be fine too. As I'm imagining that might be necessary?
I've tried searching for solutions to this issue, but almost everything deals with transcoding or conversion rather than simply importing a stream to an existing file.
Using Win10. And, it might be worth mentioning that I did re-encode the MP4s. So there is a difference in video bitrates and total filesize between the two formats. In case subs might be controlled by that factor.
Looking at MediaInfo comparisons between one MKV and MP4, the subs look like they did actually get transferred.
I usedby mistake while transcoding / re-muxing?Code:ffmpeg -c:s copy
The MKV subs are in VobSub format, with Codec_ID: S_VOBSUB
The encoded MP4 subs are in VobSub format, with Codec_ID: mp4s-E0
But, I am unable to toggle them on/off while the MP4 is being played.
To reiterate,
I'm wanting to import/repack/merge subs from multiple MKV files (all of which have only one subtitle stream), into existing re-encoded MP4 files in softsub format. It looks like the subs are already present in the MP4 files, but aren't able to be toggled on. Maybe there's a simple edit command that can flip them to the proper format within the MP4 files?
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by funkyfolkrocker; 3rd Jan 2026 at 15:45.
Similar Threads
-
MKV to MP4 movies have subtitles?
By visionman in forum LinuxReplies: 3Last Post: 1st May 2024, 16:43 -
MKV to MP4 or Avi with subtitles
By videonerd86 in forum Video ConversionReplies: 2Last Post: 27th Nov 2023, 04:32 -
MeGUI thinks source is MKV so after encoding to MP4, it won't play back
By VideoFanatic in forum RestorationReplies: 3Last Post: 22nd Nov 2022, 12:31 -
How to convert mkv (with subtitles) -> mp4 (with subtitles)
By covo in forum Video ConversionReplies: 4Last Post: 18th Oct 2021, 12:42 -
Convert Blu-ray .mkv to mp4/m4v with subtitles
By Dandy1 in forum Video ConversionReplies: 3Last Post: 26th Mar 2021, 21:28


Quote