PDA

View Full Version : M4pbox Subtitles in 3gp with Quicktime 7 preview


cast42
19th August 2005, 12:14
Hi,
i'm testing subtitle in Quicktime 7.0.2b20 generated with MP4box.
With Mp4box version 0.2.4 I use the following commandline:
mp4box.exe -3gp -add test.mp4#1 -add test.mp4#2 -add test.ttxt dest.3gp
IsoMedia import - track ID 1 - Video size 384 x 224
Importing sample 2470 / 2470 (100.00)
IsoMedia import - track ID 2 - Audio sample rate 32000 - 1 channels
Importing sample 3090 / 3090 (100.00)
3GPP Timed Text import
Importing sample 624 / 624 (100.00)
Converting to 3GP file...
Saving file into out_dest.3gp: Interleaving on (0.500 seconds)... done

With MP4box version 0.4.0 I use this commandline:
mp4box.exe -3gp -add test.mp4#trackID=1 -add test.mp4#trackID=2 -add test.ttxt:lang=eng -lang 3=eng dest.3gp
IsoMedia import - track ID 1 - Video (size 384 x 224)
IsoMedia import - track ID 2 - Audio (SR 32000 - 1 channels)
Timed Text (GPAC TTXT) Import
Converting to 3GP file...
Setting major brand to 3GPP Generic file
Saving dest.3gp: 0.500 secs Interleaving

For both generated files, QT7 Preview 3 does not render the subtitles.

Anybody any idea ?
Thx

bond
19th August 2005, 14:24
i think you maybe have to enable the text track explicitely in qt as its maybe not shown by default!?

cast42
22nd August 2005, 10:46
I enabled the subtitle/caption track both when playing with the standalone QT player with the View/Choose Language menu and embedded in a webpage via : "<a href="javascript:document.MediaPlayer.SetTrackEnabled(3, true);">Enable text</a>" but to no realm. It worked with Quicktime 7 preview 2 so I really think a bug in Preview 3 is involved. Or maybe I have to set the 3gp version to something else then the default Base version 5 ???

Cu