View Single Post
Old 2nd June 2009, 19:27   #2  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
almost outdated now...

Quote:
Now convert the SRT files to the TTXT format.

* Open a command-prompt window and change to the directory that contains MP4Box.exe and the source video file.
* Convert the SRT files to TTXT files: type (no quotes) "mp4box -ttxt filename.srt".
* Repeat for each SRT file.

Next, integrate each TTXT file into the source M4V.

* Type (no quotes) "mp4box -add filename.ttxt:lang=threeDigitLanguageCode targetMovieName.m4v. Here is a list of three-digit language codes.
* Repeat for each TTXT file.

When you have integrated all TTXT files into the movie, you must open the M4V in Dumpster (Windows or Mac) by dragging the M4V onto the Dumpster icon. The instructions below refer to Dumpster for Windows.

* Open the M4V in Dumpster.
* Double-click 'moov'.

The subtitle tracks you added to the movie can be found at the end of the 'trak' list. For example, if you added four subtitle tracks they will be the last four 'trak' entries. With this in mind...

* Double-click the first 'trak' that corresponds to your first subtitle track.
* Double-click 'tkhd'.
* Change Flags to $000001.
* Press the Apply button at the bottom of the window (note: press Apply after you make each change described below or else your changes will not be saved).
* Change Alternate Group to $0002.
* Double-click 'tkhd' to close.
* Double-click 'mdia'.
* Double-click 'hdlr'.
* Change Component subtype to $7362746c (this will change the type to 'sbtl').
Latest dev MP4Box build is able to do that in one step.
Kurtnoise is offline   Reply With Quote