Welcome to the iFans Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!

[Tutorial] Adding 'Soft Subtitles' to a Movie/Video - Windows

Discussion in 'iPod touch' started by Moneyboi, Feb 17, 2009.

  1. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    As you may know the iPhone or iPod Touch supports ‘Soft Subtitles’ ([​IMG]), But this feature only works when you buy a Movie with ‘SS’ included from the iTunes store. You may have heard of Muxo for Mac but al windows users may also want to do the same, well here is how :)

    Soft Subtitles, what are they?

    Soft subtitles ([​IMG]) are subtitles which all generations of iPhone and all generations of iPod Touches support. You can turn them on/off and even add Multilingual.

    Advantages of Soft subtitles ([​IMG])

    • You have the ability to turn ‘Soft Subtitles’ ([​IMG]) On or Off.
    • They are not burned onto each individual frame (Like hard subtitles)

    I have recently attempted of adding subtitles to a movie (Space Buddies)
    Here is an example of what the Soft subtitles ([​IMG]) can do:

    [​IMG]

    [​IMG]

    [​IMG]

    Tutorial

    Programs Needed:

    •The program you use to convert your .AVI into a iPod/iPhone compatible .MP4, I use Xilisoft Video Converter (Costs £25) But you can use whatever you prefer e.g. Videora

    MP4Box (Freeware – Click on ‘MP4Box’ to download)

    UltraEdit (Click on ‘UltraEdit’ to download trial)

    iTunes (To sync your subtitle added Movie/Video to your iPod/iPhone)
  2. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    Preparations

    1) Back up your movie/video (just in case you make a mistake)

    2) Create a Folder in a drive (For this example I created the folder in the F:\) (But you can use whatever drive you want as long as you remember to change the drive letter to the drive letter you used whenever I use F:\)
    Name It ‘addsubs

    It should look something similar to this:
    [​IMG]

    Click on the folder and go into the folder (It should be empty)

    3) Extract the 3 files of the .zip downloaded for MP4Box in this folder (Extract ‘MP4Box-0.4.5.zip’ in this folder):

    As you can see there are 3 files extracted from the .ZIP:
    [​IMG]

    4) Move your converted Movie/Video file into the same folder (.MP4) (By converted I mean if it was originally an .AVI and converted to .MP4 to play on iPhone/iPod Touch). Also move the .SRT file (Subtitle File) in the same folder. Make sure the Video/Movie and .SRT have the same name e.g. Bolt.mp4 and Bolt.srt

    IMPORTANT: Make sure the Names of the files (.SRT and .MP4) Have NO Spaces within the name (also no characters apart from 'Letters' and 'Numbers') You may rename to whatever you like after everything has been completed!!!

    e.g. If I had a movie called 'The Incredibles.MP4' and the subtitle 'The Incredibles.SRT' I would re-name (take the space out) so it will result in 'TheIncredibles.MP4' and 'TheIncredibles.SRT'

    Your Final folder should look something similar to this:
    [​IMG]
  3. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    Setting up CMD

    (PLEASE REMEMBER WHATEVER DRIVE LETTER YOU USED CHANGE ‘F:’ TO THE DRIVE LETTER YOU USED (whatever drive the ‘addsubs’ file is situated), I HAVE USED F: THROUGHOUT THIS TUTORIAL)

    MP4Box is a command prompt program it requires codes to be types within cmd.exe to do the conversions of the .SRT, In order for the iPod/iPhone to recognize the subtitles they need to be in a specific format - .TTXT this is where MP4Box comes in!

    1) Run cmd.exe, You can either press the Windows key and R together to run the ‘Run’ feature then type cmd or Vista users can simply find this by using the ‘search’ feature in the Start menu.

    This is how you find cmd on Windows vista:
    [​IMG]

    2) Assuming cmd.exe is open (Do not close it till the end of the tutorial) type: F: and press enter (Just to make sure that we are on drive F: ) Remember if you have placed the folder ‘addsubs’ in another drive use that drive letter instead.

    Type F: (you use the drive you used):
    [​IMG]

    It should look similar to this (apart from drive letters) when you press enter:
    [​IMG]

    3) Type cd\ and press enter. (To move to the root of drive F: )

    Type cd\:
    [​IMG]

    It should look similar to this (apart from drive letters) when you press enter:
    [​IMG]

    4) Type cd addsubs and press enter (to go to the folder where we put all our files). Your command prompt should now look like F:\addsubs> (Remember the drive letter might be different to the one I used – F:)

    Type cd addsubs:
    [​IMG]

    Press enter (to go to the folder where we put all our files):
    [​IMG]

    5) Type dir and press enter. If you see your movie file, subtitle file and mp4box listed then you are on the right drive and folder and you are ready to continue if NOT repeat the ‘Setting up CMD’ guide from step 1 till this point.

    Type dir:
    [​IMG]

    Press enter:
    [​IMG]

    You should see all the files you put into the ‘addsubs’ folder.

    (PLEASE REMEMBER WHATEVER DRIVE LETTER YOU USED CHANGE ‘F:’ TO THE DRIVE LETTER YOU USED (whatever drive the ‘addsubs’ file is situated), I HAVE USED F: THROUGHOUT THIS TUTORIAL)

    DO NOT CLOSE cmd.exe
  4. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    Adding your subtitle

    Using the same cmd.exe continue to add the commands until told to close.

    You may need to copy/paste commands, to do this highlight the command in this tutorial and right-click and click copy then to past into cmd.exe Right-click then click Paste

    WARNING: You can not Copy and paste via ctrl + c/ctrl + v as command script (cmd.exe) does not support this.

    1) Type
    Code:
    [b]MP4Box -ttxt[/b] [i]subtitle filename[/i][b].srt[/b]
    and press enter.(Change the subtitle filename to whatever your subtitle file is called) (this will convert your SRT file to GPAC text track file, a new text file will be created). In my case I would type MP4Box -ttxt bolt.srt:
    [​IMG]

    Press Enter:
    [​IMG]
    The process should start and quickly finish, it will convert the .SRT or .SUB file and convert it to .TTXT, when the process has finished it will say ‘Conversion done’

    2) Type
    Code:
    [b]MP4Box -add new ttxt[/b] [i]subtitle filename[/i][b].ttxt:lang=en[/b] [i]movie filename[/i][b].mp4[/b]
    and press enter. this will add your text track to the movie and should take a while depending on your PC speed. Wait until the process is complete before proceeding. For example: MP4Box -add bolt.ttxt:lang=en bolt.mp4[/b]

    By the way Replace subtitle filename with your subtitle name and replace movie filename to the movie name (Should be the same as the subtitles name)

    By the way, lang=en is a language flag (en for English -> type mp4box –languages for a list of supported languages). If your subtitle is in another language then replace en with another language code.
    for example: mp4box -add transformers.ttxt:lang=es transformers.mp4 if your subtitle is in Spanish.

    Type: mp4box -add new ttxt subtitle filename.ttxt:lang=en movie filename.mp4, So in my case it would be MP4Box -add bolt.ttxt:lang=en bolt.mp4 :
    [​IMG]

    The process should begin and start giving numbers out of 100:
    [​IMG]

    When the process is fully completed it should look similar to this (The directory will come back to type your next command):
    [​IMG]


    3) Type exit and press enter to close the Command console:
    [​IMG]
  5. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    Editing your Movie’s Subtitle Track (So you can play on iPhone/iPod touch):

    1) Assuming you have already installed UltraEdit, Run it

    2) Open the movie (MP4) that you put in the folder ‘addsubs’, In my case I have opened the Bolt.mp4 :
    [​IMG]

    Find the folder created in the early stages ‘addsubs’ open that and browse for the Movie/Video file (MP4) In my case I have selected ‘Bolt.mp4’:
    [​IMG]

    Once you have opened it, it should look something like this:
    [​IMG]

    3) Click on Search-> Find Or click Ctrl + F:
    [​IMG]

    In the Find What box, type text and check both Find ASCII and Match Case boxes (So that they are ticked):

    [​IMG]

    Click Find Next. It might take a while to find it and it should then take you to the part of the file that contains the word text. Click on the ‘T’ of the word ‘Text’ so that the letter ‘T’ is highlighted:
    [​IMG]

    Start typing the word sbtl overwriting the word text:
    [​IMG]

    The word text should now be replaced with sbtl.

    4) Save the changes made, It should save it automatically when closed UltraEdit.

    5) IMPORTANT : IN ORDER FOR THE MOVIE/VIDEO TO WORK ON YOUR iPhone/iPod Touch YOU WILL NEED TO RENAME THE .mp4 file to .m4v.


    In my case I have renamed my ‘Bolt.mp4’ to ‘Bolt.m4v’

    6) Last of all add the video (In my case Bolt.m4v to your iTunes library and sync with your iPod Touch or iPhone or even Apple TV :D

    I hoped this has helped as I have spent a lot of my own time into producing this tutorial and hope it helps all 'Windows users'. The reason this tutorial was created is for all the people asking on how to add subtitles, well now you know, If there are any questions please 'PM' me or just post in this thread :)

    Picture of my Finished output (Bolt.m4v):

    [​IMG]
  6. giannaros

    giannaros New Member

    Joined:
    Sep 1, 2008
    Messages:
    797
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    WOW! That's a great tut! It should be stickied!!
  7. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    Thanks for the great comment :p I have tried adding as many images/printskreens I could but I was limited to 10 Per post :eek:
  8. 1YNQMWQVHZ

    1YNQMWQVHZ New Member

    Joined:
    Dec 17, 2008
    Messages:
    1,353
    Likes Received:
    0
    Yeah, nice tutorial, but I wish it was for Mac!
  9. Moneyboi

    Moneyboi Member

    Joined:
    Dec 28, 2007
    Messages:
    82
    Likes Received:
    1
    Device:
    iPhone 5 (White)
    For mac you use a program called Muxo Click Here If you want to download :) Hope that helps
  10. touchhacker101

    touchhacker101 Member

    Joined:
    Jan 26, 2008
    Messages:
    707
    Likes Received:
    13
    Device:
    4G iPod touch
    wow nice tut. i might try this....

Share This Page