| bin's profileBinnehot spacePhotosBlogLists | Help |
|
February 22 Converting DVD Subtitles & AutoMKV for Xbox 360, Playstation 3http://a8t8.spaces.live.com/blog/cns!2518DD508BB713E8!163.entryConverting DVD Subtitles & AutoMKV for Xbox 360, Playstation 3I decided to cover the topic of subtitles in a separate post from the AutoMKV H.264 movie encoding guide as I didn't want to over complicate it and subtitles do complicate things with both game consoles. First off neither the Xbox 360 or Playstation 3 support external subtitles, you know the type the ones with the same name as the video. Those just wont work and there is nothing you can do about that. (Update: the PS3 now supports multiple srt subs in a .divx container but DivX do not support H.264 yet and external subs are unlikely to be supported with MP4 even if DivX goes H.264 as they will probably stick with their .divx container) However all is not lost as another type of subtitle does work which are burned in subtitles (often referred to as hard coded subs/hard subs/burned subs) this process takes the subtitles and integrates them directly into the container. These subtitles cannot be turned off so this makes them suitable for only certain projects. The one that I'm going to be focusing on is what's called forced subtitling, these are subs in English speaking movies usually from a scene were a foreign language is being spoken & the English translation is displayed on screen for the duration of the conversation. You of course want these in a movie were such occurrences happen & this is what I'll show in the guide below. Before we begin note that this process is not full proof, a lot of DVD's differ in how they handle forced subs & don't make it as easy to locate them (such as the subs not labeled as English) also the subtitles may not show when playing back on the computer (you need the right chain of software/settings installed) so always test on your game console first before writing off a finished movie. Also AutoMKV has a built in section for reading/ripping subtitles which I will come to but before doing that you need to ID the forced subtitles in the first place which incidentally is the hardest part of this process. ***************************************************************************************************************** Step 1: We will be using AutoMKV of course but you will also need Vobsub installed so grab that. Step 2: Open explorer and navigate to \AutoMKV\exe\Subs\ inside this folder you will find a very handy program called VSrip which will rip the subtitles from any movie. So start VSrip and you will be presented with a screen like below.
Step 3: Click on "Load IFO" to begin and point it to the .IFO file or the movie .vob files from the DVD (basically trial and error) if everything goes right VSrip will begin processing the files and say it has found subtitles.
Step 4: Now set a location to save the subs and the next button will activate so click on that.
Step 5: This screen shows us what subtitles were found and what ones are to be extracted so select the desired one just by highlighting it. Now the tricky part here is in discovering the English forced subtitles, some DVD's flag forced subs in which case the button for "Forced subtitles only" would work but a lot of them just don't do this**. The only thing to do here is to rip all the English ones and examine them in another piece of software to locate the forced ones so click next after selecting them all. (**Special case for forced subtitles only, some movies come without a separate subtitle set for forced subs only and instead set a flag within the regular subtitles that marks certain scenes as forced and to display the subtitles accordingly. The only way to splice the forced subs from the regular subs is to use the "Forced subtitles only" feature.)
Step 6: It will now display a status of extracting the subtitles and once it is finished doing it click close to shut down the program.
Step 7: Now go into your start menu program group and find the vobsub entry, inside it look for SubResync and run that program. You will have a screen like below, this software allows us to browse the subtitles and so locate the correct one which is forced.
Step 8: In my test case here there are three English subtitles and when I click open and point it at the saved file extracted from VsRip it will display the number in the left hand side and in the main window the time stamps, if you click on any of the time stamps it will display the text from that time point in the movie.
Step 9: By following the simple process of elimination I was able to determine that the third English subtitle set was the forced set from the movie. I could tell this because A) there were subtitles at very specific time stamps throughout the film not all the way through unlike the first two and B) they actually went to the trouble of coloring the forced subs a different color from the regular subtitles.
Now my example above is only to give you the gist of what to look for in some cases you may find the subtitles incomplete, you know they are the correct ones but dialogue is missing - this is usually because the original file you opened in VSrip was not the correct one and opening up others may reveal the full forced subtitles. ***************************************************************************************************************** This section will deal with encoding the subtitles through AutoMKV now that we have located the forced ones. Step 10: Start AutoMKV and click on advanced settings tab, you will have a screen like below, tick the box for "Burn Subtitle" (note if you are going to be using this a lot then click on save configuration otherwise it will not enable this every time you start AutoMKV though AutoMKV doesn't seem to auto load the saved config so double check every time you plan on doing this).
Step 11: Load the movie .IFO into AutoMKV and it should list the subtitles available under "Subtitle Track 1". All you have to do is pick the correct one from the drop down box recalling the number/slot the correct subs occupied, AutoMKV will take care of everything during the encoding process.
That's it your finished, proceed with the video encoding if all goes well the subtitles should display during playback. ***************************************************************************************************************** My subtitles look crap or are squashed, just don't look right etc. This is a by-product of using the subtitles from a DVD which are called microDVD .sub files. These subtitles are of course intended for the original film and so when used with the re-encoded movie their position may be off or not look quite right on screen if the resolution of the movie has been changed in anyway (that applies if just cropping too). However we can do something about that and make the subtitles look nicer by converting them into another format called subrip .srt files. These look much nicer on screen and you should have no problems with size or placement but the fly in the ointment is that AutoMKV has no automated conversion from .sub to .srt which means we have to do it ourselves. Conversion can be done by many software packages but I will touch on two that do it, SubResync which we used for identifying the correct subtitles can also convert them & is rather easy to use, the other is a program called Subrip which is the better of the two as it better detects the correct time positions of the subtitles. I will demonstrate SubResync first as you should be familiar with it at this stage plus Subrip is a little more involved. All you have to do is load in the desired subtitles and click on "Save As" to begin.
Now select subripper (*.srt) as the file type and save to a location.
It will now flash up a window asking you to identify the letter or character on screen, do this for each one it asks by clicking on Add and it will convert the file into plane text inside an .srt file.
Once it's done simply click on Exit to close the program. If you happen to make a mistake you can correct it by opening up the .srt file in notepad and just make the correction yourself, another way is to start again & to clear the image->letter database so it forgets everything you can see the tick box in the save window above under OCR Settings. ----------------------------------------------------------------------------------------------------------------------------------------------------------- Now onto the same operation but done through Subrip, I recommend using Subrip as it seems more accurate than SubResync plus it supports a lot more features. Subrip is not just a converter though it is a ripper too. Below is the main screen of Subrip most of what you see can be ignored.
A quick mention - in order to rip forced subtitles within a regular subtitle stream click on Options->Global Options then tick the box for "Forced Subtitles Only" like below. If your forced subtitles are in there own separate set then do not tick this box.
Click File->Open VOB's and this will bring us to the subtitle ripping window. Also keep in mind Subrip as far as I know has no means of previewing subtitles from within a DVD so you will still have to go through the process of identifying the correct set. I will take time to explain all the options here as this is where you will be using them.
OpenIFO & OpenDIR are for opening up the video-ts.ifo or .vob files from a movie as I commented on earlier not all DVD's are the same and it will basically come down to trial and error opening up the files to locate the subtitles. The language stream section contains the selection for whatever it finds so select the correct stream from within that.
The Characters matrix file is essentially a data base of identifying the characters though unlike SubResync Subrip does it on a per-DVD basis instead of a global database so that is much easier to work with as if you make any mistakes just delete the matrix file you created for it.
The blue jigsaw puzzle piece icon is for setting the output type and Subrip supports quite a lot of different types, you will want to select subrip (*.srt) from the list (though it can dynamically convert at any time into another format so this isn't set in stone)
Now with all that out of the way load in your movie and click on start, it will display a window asking to identify the character on screen so do that and press OK to confirm your choice.
Once it has finished you will have a screen like below showing the completed job at the bottom in it's own little sub-window.
These here are all the tools you will need, the blue puzzle piece will allow you to select any type of output format and you can do all sorts of other things but for the most part just leave everything as is.
Click on the floppy disk icon in order to save the current job and get our .srt file
The bar will change to this below were you can alter the fonts if you so desire but there is nothing wrong with the defaults so I suggest leaving them as is. Just click on save to finish this task.
That's it your done now all that's left to do is load in our .srt file into AutoMKV which is covered in the next section below as it happens :-) ***************************************************************************************************************** Alternate manual subtitle burning method - this section deals with the scenario in that AutoMKV does not see the subtitle set for whatever reason in it's own user interface or you want to manually rip the subtitles convert into subrip .srt and load them into AutoMKV instead. Proceed with steps 1 - 9 as usual. Step 10: If keeping the subtitles in microDVD .idx/.sub form now that we have located the forced subs it is time to repeat the ripping process of VSrip and this time only select the desired subtitle set, once it is done we can start encoding our movie. or Step 10: Alternatively if you already have your own subtitle set such as a .srt subrip file proceed to the next step. Step 11: Start AutoMKV and click on advanced settings tab, you will have a screen like below, tick the box for "Burn Subtitle" (note if you are going to be using this a lot then click on save configuration otherwise it will not enable this every time you start AutoMKV though AutoMKV doesn't seem to auto load the saved config so double check every time you plan on doing this).
Step 12: Now back on the main screen load in your movie like normal, look down at "Subtitle Track 1" and see the three !!! symbol click on that and point it to the location of the saved subtitles. If all goes well it will flash a prompt saying success of loading external subtitles. Be aware that it is normal for AutoMKV to not display any change in the subtitle field, it will still display NONE.
Step 13: All that's left to do is add your job to the queue and hope everything goes well. ***************************************************************************************************************** AAAAHHHHH help everything's gone wrong AutoMKV bombed at the last step and didn't make the movie. Step 14: Like I said this isn't full proof but there is no need to panic just yet if AutoMKV fails at the muxing stage which is where after the encoding is done it brings all the various pieces together into the final product then you have another option at your disposal. Go download YAMB which is a GUI for MP4box the same program AutoMKV uses but exposes no UI for. Start YAMB and on the creation tab double click on create MP4.
You will have a screen like so below.
Now click on add and look in the target location were the movie was supposed to be, there will be a Temp folder in there containing the bits of the movie AutoMKV worked on. Add movie.mp4 and audio.mp4 into the list and then browse to where the subs were saved and add those to. Now select a save location different to the default one as it will delete your movie.mp4 if left like that and click next. It will take a little while but if all goes well it will spit out a working MP4 with subs.
That's all folks! P.S if someone has a better method I'm all ears, thankfully not too many movies have forced subs so you wont have to do this often. |
|
|