How do I add a subtitle to a video file so it shows up in mediainfo?
#1
I see that some subtitles are contained within the video file itself and you can see the text info in mediainfo.

How do I add a subtitle to a video file so that it shows up in mediainfo?
Reply
#2
You'll have to encode/re-encode the video, i.e. softcode or hardcode (burn-in) the subs.

bob5695 will explain it better if he sees this thread.
Reply
#3
(Nov 19, 2015, 17:23 pm)LowOrbit Wrote: You'll have to encode/re-encode the video, i.e. softcode or hardcode (burn-in) the subs.

bob5695 will explain it better if he sees this thread.

does that make the quality worse? even a little bit?
Reply
#4
It would make it worse.

But that is irrelevant because it's the wrong answer. Hardcoded subs don't show up in mediainfo, only softcoded subs can do that.

What container is your source video in? eg. .mkv, .mp4, .avi, ...

What container is your source subtitle in? eg. .srt, .sub, ...
Reply
#5
my video is .mkv and the subtitle is .srt

but if it makes it worse, then i'll just rename the subtitle to the name of the video and call it a day
Reply
#6
Doing what LowOrbit told you to do would make it worse.

Doing it properly won't affect the quality at all.

Download and extract ffmpeg, then from the command line enter:

ffmpeg -i movie.mkv -i subtitles.srt -map 0 -map 1 -codec copy output.mkv

It will take a minute or so and you're done.
Reply
#7
Use ffmpeg.
Reply
#8
Use tools that "muxes" the files. You dont need to re-encode a movie just to add subtitles, unless you want to hardcode them, but then they wouldn't show in mediainfo anyways...

I dont know muich about ffmpeg but there should be other tools that can mux/demux video files with easy (and with a GUI).
Reply
#9
(Nov 20, 2015, 04:47 am) pid=\124079' Wrote:Doing what LowOrbit told you to do would make it worse.

Doing it properly won't affect the quality at all.

Download and extract ffmpeg, then from the command line enter:

ffmpeg -i movie.mkv -i subtitles.srt -map 0 -map 1 -codec copy output.mkv

It will take a minute or so and you're done.

cool, thanks
Reply
#10
if you prefer clicking to typing, drop both the mkv file and the srt file onto mkvmerge and remux. easy as pie.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reducing mp4 file sizes Mach234 2 1,863 Mar 05, 2024, 10:18 am
Last Post: Mach234
  How to play a SSIF file ? WW3hasstarted 4 3,244 Dec 28, 2023, 11:19 am
Last Post: WW3hasstarted
  Modify date for .dat file zillah 0 9,007 Mar 29, 2022, 05:28 am
Last Post: zillah
  Power Director and HOSTS file sixeyeco 6 16,844 Dec 10, 2021, 01:06 am
Last Post: steelfox
  Best Pirated Software to help me file Business taxes in the US 2021? kjohn13 6 28,669 Nov 14, 2021, 14:51 pm
Last Post: waregim



Users browsing this thread: 1 Guest(s)