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
post-it
Joined: Wed Jul 17, 2002 5:21 am
Status: Hunting Tanks
Location: Chilliwack - Fishing
Org Profile

^_^

Post by post-it » Thu Apr 16, 2009 1:23 pm

8-)

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 » Fri Apr 24, 2009 12:50 am

Sinshenron wrote: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.

Simpler way now. Use mkv mergeGUI to demux the video and audio so you have two files. Then use the mkv extract for the subtitle file. Now open the avs script creator in meGUI and load those three for the avi synth creation, the subtitles get loaded in the filters tab part. Now you are ready to encode your video witch will be a hard sub.
Keep An Open Mind

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

another How-To solved.

Post by post-it » Fri Apr 24, 2009 11:26 am

:book: Sticky :book: :twisted:

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 » Fri Apr 24, 2009 12:08 pm

Sinshenron wrote:Simpler way now. Use mkv mergeGUI to demux the video and audio so you have two files. Then use the mkv extract for the subtitle file. Now open the avs script creator in meGUI and load those three for the avi synth creation, the subtitles get loaded in the filters tab part. Now you are ready to encode your video witch will be a hard sub.
Still more steps than necessary.

All that's really needed is to make sure that you can playback the original file in Windows Media Player, including subtitles. If the subs are rendered with ffdshow, then no tweaking is needed at all. If you use VSFilter (which will show up in your system tray as a green arrow - that arrow can also be clicked to bring up the options dialog), make sure to uncheck the 'Pre-buffer subpictures' option on the 'Misc' tab. After that, the only thing needed is a script that loads the file:

Code: Select all

DirectShowSource("video.mkv",fps=29.97,convertfps=true)
That's it. No demuxing and remuxing, none of it. If you prefer to use FFmpegSource you'd need to demux the subtitles from the original file with mkvextract and then load them using the TextSub filter (which is just VSFilter.dll placed in C:\Program Files\AviSynth 2.5\plugins), but there's still no need to use additional (de)muxing steps.

In the end, the only step needed is the script. Once the other stuff has been set up correctly, it works without needing to be checked every single time.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”