How do I convert soft subs to Hard subs

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Sinshenron
Joined: Thu Apr 26, 2007 9:39 pm
Location: Vancouver, B.C.
Org Profile

How do I convert soft subs to Hard subs

Post by Sinshenron » Thu Apr 09, 2009 3:47 am

The files I am using are mkv, with mp4 H264 video, acc audio, and saa( sub station alpha) subtitles. I want to end up with a single mp4 file containing a hard sub that is not in a mkv container.
Converting mkv to mp4 is not the problem, converting with subtitles is, as the subtitles are a separate file within the mkv container. I used to know how to do this..create something on my note pad and save as a .avs file for loading into virtualdubmod or something like that..lost my guide when comp crashed.
The tools I have are:
Avi synth
Vob sub
MeGUI Modern Video Encoder
mkv mergeGUI
VirtualDubMod
Procoder 3
Keep An Open Mind

User avatar
Sinshenron
Joined: Thu Apr 26, 2007 9:39 pm
Location: Vancouver, B.C.
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Sinshenron » Thu Apr 09, 2009 6:03 am

I figured out how to do it..use mkv mergeGui to extract the subtitle file and the video file, so you have two separate files. Then use the mkv extractGUi to remove them from mkv container, then use subtitle work shop to convert subtitle file to srt with subRip option on batch convert..then use MeGUI as you normal would, creating avi synth script and encoding to mp4 H264. Then for the audio use a converter that will convert the mkv audio file to a straight acc file (I used ultra mp4 converter) Once the MeGUi is done encoding the video I used the mp4 muxer in the MeGUi tools to mux the works and tah tad...one mp4 H264 file with hard subs.
Keep An Open Mind

User avatar
Sinshenron
Joined: Thu Apr 26, 2007 9:39 pm
Location: Vancouver, B.C.
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Sinshenron » Thu Apr 09, 2009 6:22 am

Oh and don't forget to add the chapters in th MeGUI muxer
Keep An Open Mind

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Qyot27 » Thu Apr 09, 2009 7:39 am

All of that could have been averted by simply using DirectShowSource (making sure, of course, that VSFilter was correctly set to not Pre-buffer subtitles). Not to mention that doing it that way will preserve any of the fancy typesetting present in the SSA/ASS script. And if you have the Nero AAC encoder, then megui will encode the audio for you as well.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Re: How do I convert soft subs to Hard subs

Post by post-it » Thu Apr 09, 2009 3:12 pm

yeah, I mean; its not like any of FAQ's ever covered "How Its Done" instead of
"How to do it!" T_T

1) here's the software.
2) this is how you prep-it.
3) this is how the settings should look -- given the prep you just did.
4) and these are the results ^____^ -- -- Yeah!
8-)

:book: looking to see how many FAQ's even state "Preping" .... :book:

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Re: How do I convert soft subs to Hard subs

Post by post-it » Wed Apr 15, 2009 11:32 am

:book: still no correct answer from our cast of big mouths ... :book:
Sinshenron wrote:The files I am using are mkv's with saa's ( sub station alpha) subtitles.
.. well, your in luck 8-) .. I'll try everything in the FAQ's for ya! yea, I'm bored :P

1) we goto Search, at the top of the page, and type, "mkv sub removal" .. :shock: :?: :?:

2) we goto FAQ, at the top of the page, and .. erm .. :?

:book: this is not very helpful :!: ... why are there no direct links to my ( your ) question???
.. .. either this site is set-up wrong or not very well thought-out :book: I know its not the later one.
. when this site was first put together, its only competition was anime request board.
its sole purpose was for requesting subbed anime series available at that time. ( now closed. )
most of those programmers from that board are now here and the board is working fine. 8-)
.. therefor, I believe that a "top of the page" icon is needed to link the Video "How To's" into one location.

How To's like http://www.animemusicvideos.org/guides/zarxfag/ for proper ripping of DVD's.

How To's being http://www.doom9.org/index.html?/DigiTV ... lguide.htm for extracting.

:book: OK its sounds cheesy but, most board members know where to find things while newbe's suffer. :book:
it didn't used to be this way; it shouldn't be that way now! -- we have the technology, lets use it :up:

- just my opinion

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Scintilla » Wed Apr 15, 2009 2:13 pm

post-it wrote::book: still no correct answer from our cast of big mouths ... :book:
Did you miss the part where the OP said "I figured out how to do it"?
post-it wrote:I believe that a "top of the page" icon is needed to link the Video "How To's" into one location.
What's wrong with the "GUIDES" link off the main page?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

Re: How do I convert soft subs to Hard subs

Post by post-it » Wed Apr 15, 2009 4:01 pm

Scintilla
. wouldn't it make sense to put an Icon to the Guides at the top of the page?
its been one of my main gripes for a long long time!

.. actually, I'm having a little trouble trying to pull a sub-file from an MKv right now
and I'm not having much luck; 1meg files are not SSA or any other subbed standard.

... I guess that I'm getting upset today because this process should be available to
everybody and even I can't find it ( and I've used that guide before!?! )

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Qyot27 » Wed Apr 15, 2009 5:25 pm

post-it wrote:.. actually, I'm having a little trouble trying to pull a sub-file from an MKv right now and I'm not having much luck; 1meg files are not SSA or any other subbed standard.
VobSub / SUP files can be several megs in size because they're bitmapped. If SSA or ASS subtitles have embedded fonts or ASSDRAW attachments, the filesize can also be large.

And besides, this is precisely the reason MKVExtract exists, and is a part of the MKVToolNix package (has been for as long as I can remember as well).

Even in that circumstance, the OP wasn't asking about pulling subs out or rendering without them - they want them there, but they want them hardcoded onto the video (my guess is that it's to play on a standalone player or something that doesn't support softsubs). And sure enough, I did simply say that using DirectShowSource would resolve that in one go rather than jumping through hoops trying to get the files themselves reconfigured, as long as VSFilter was set up correctly.

The information for using this stuff is secondary because the OP specifically made reference to already using AviSynth, so going into explicit detail on how to use DSS is practically wholly unnecessary. I did mention the only relevant option for VSFilter, though.

Quite frankly, these kinds of questions are shuffled under the rug for a reason - the Org forums from 2001 and maybe early 2002 didn't mind or at least overlooked the questions concerning digisubs and other such topics (as attested to by archives that survive from that period), but that has not been true for several years. It's a liability, and the only reason such questions still get answered now are because the posters aren't stupid enough to come right out and say that's what they're using (and if they are, the posts get edited and/or the thread locked). So it falls under something of a banner of plausible deniability.

Even though I use MKV extensively for my own purposes and can maintain something of a benefit of a doubt concerning it, the plethora of questions that arise on the topic are grating, because it's gotten blatant and illustrate clearly just how little reading, testing, and observing people do (seriously, one MKV or MP4 conversion question doesn't even have to be three posts down for another one to pop up in the same section - are you kidding me?). This forum has a Search function, as most do. If they can't use it effectively, then tough shit. The same is true of places like Doom9, which are much more centered around video processing and treatment than we are, and they have the same sort of zero tolerance policies in place, and are harsher about it than this site is.

There's a certain amount of tradeoff here - if they can't be expected to do at least some of the proper research, then we can't (and really, should never have in the first place) be expected to hand them everything they want on a silver platter. Answering honest questions from beginners is one thing, but catering to the lowest common denominator is another.

I think there does need to be relevant READ FIRST stickies in the new forums like there are in General AMV and AMV Announcements - I don't have a clue why they weren't created when the Video Software Help section was split into three a couple years ago. Not that I think it would help considering the number of already-answered questions we get in the various sections anyway, but at least it would provide something to point to (and a better justification for closing redundant threads). Links to the Tech Guides can be included inside those stickies, along with other resource links.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Sinshenron
Joined: Thu Apr 26, 2007 9:39 pm
Location: Vancouver, B.C.
Org Profile

Re: How do I convert soft subs to Hard subs

Post by Sinshenron » Thu Apr 16, 2009 12:23 pm

Qyot27 wrote:All of that could have been averted by simply using DirectShowSource (making sure, of course, that VSFilter was correctly set to not Pre-buffer subtitles). Not to mention that doing it that way will preserve any of the fancy typesetting present in the SSA/ASS script. And if you have the Nero AAC encoder, then megui will encode the audio for you as well.
Thanks for tip, yes I have the nero aac encoder.
Keep An Open Mind

Locked

Return to “AviSynth Help”