View Full Version : Any program that can write formated ttxt (or tx3g)
patrick_
3rd August 2009, 16:18
Is there any program that can write (convert) a formated (styled) .ttxt subtitle file? It's to be used with mp4box. I hardly use any styles, but would like to have some basic support (italic, monospace).
BTW Is ttxt the only common format that displays the sub at the right position? (because of "textbox", it will always display where you expect it to do).
Thanks in advance.
b66pak
3rd August 2009, 18:54
use mp4box...
-ttxt : converts input subtitle (SRT, SUB) to GPAC TTXT format.
-ttxt TrackID : dumps text track to TTXT XML format.
-srt : converts input subtitle (TTXT, SUB) to SRT format.
-srt TrackID : dumps text track to SRT format.
example:
mp4box -ttxt mysubtitle.srt
this will convert mysubtitle.srt to mysubtitle.ttxt
_
patrick_
4th August 2009, 16:05
Thanks. I knew that mp4box could do that, it's just that I thought that neither SRT nor SUB had style support, but I've just found out that SRT has at least some basic support.
Is there anything more advanced than SRT? I didn't look that much into in yet, but it seems that it only supports very, very basic tags (Bold, Italic) and not positioning.
I've tried Aegisub exporting, and although it should be able to export to ttxt, it always fails with an "unexpected line type in TTXT file".
thewebchat
4th August 2009, 17:16
Formats more advanced than SRT (though I don't think any of these will convert to TTXT easily):
Substation Alpha
Advanced Substation Alpha
Universal Subtitle Format (lol)
MPEG-4 TTXT (but strangely it doesn't support outlines)
BluRay Presentation Graphics
Also, you can specify a subtitle position in Substation with \pos, \an, and the margins so I don't know what you're referring to. The only caveat I can think of is that Substation doesn't allow you to specify both alignment and justification (bottom aligned, left-justified for example).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.