Opened 6 years ago
Last modified 9 months ago
#596 new enhancement
Exporting to DVD Studio Pro format
| Reported by: | shamael | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | |
| Cc: | Platform: | All | |
| Sub Component: |
Description (last modified by verm)
Since there are efforts to create a mac version of aegisub, I believe that it would make sense to be able to export towards a very common subtitle format in the mac world as dsp3/4.
This format has txt extension, it is frame-based and hasthe following scheme:
DVD Studio Pro 3:
time_in{TAB}time_out{TAB}text
DVD Studio Pro 4:
time_in , time_out , text
NOTE: the spaces are important.
Additionally, the dsp4 format require an empty line between all subtitles.
Attachments (3)
Change History (14)
comment:1 Changed 6 years ago by nielsm
- Keywords acknowledged added
comment:2 Changed 6 years ago by ArchMageZeratuL
comment:3 Changed 6 years ago by ArchMageZeratuL
Actually, if you can provide a sample file for both formats, that'd be great.
Changed 6 years ago by shamael
Changed 6 years ago by shamael
Changed 6 years ago by shamael
comment:4 Changed 6 years ago by shamael
Time format is HH:MM:SS:FF
Supported character sets are only the MAC ones, no UTF or MS stuff (unfortunately...).
I am not too sure about the line breaks...but you can judge by the examples I have uploaded. They have been created with different methods and have different line breaks but both load into DVD Studio Pro 4 perfectly. The first one was done this way: aegisub, export to srt --> subtitleworkshop, export to dsp3 --> sed & iconv script on a linux machine to fix charset and encoding style.
The second one was done this way: aegisub, export to srt --> subtitleworkshop, export to dsp3 --> openoffice, save as encoded text (MAC-ROMAN) --> sed script on linux machine.
Regarding the dsp3 sample, it has been created with SubtitleWorkshop (windows) and uses the MS-ANSI encoding. Unfortunately I don't have a copy of DVD Studio Pro 3 at hand so I cannot double check if the encoding is correct, but it could be imported in two mac subtitle apps (titlelab and subtitler) which read the dsp3 format. The charset should obviously be MAC-ROMAN or something similar (I can't use my linux box to convert it right now).
comment:5 Changed 4 years ago by nielsm
- Keywords acknowledged removed
- Milestone set to 2.2.1
- Platform set to All
With everything documented here I think it shouldn't be a major problem to lump this in with some of our other "simple format" handlers.
I'm not sure what we can do about the text encoding stuff though...
comment:6 Changed 4 years ago by verm
These should be moved to the wiki to properly document the format.
comment:7 Changed 4 years ago by verm
I added both of these to SubtitleFormats
comment:8 Changed 4 years ago by verm
- Milestone changed from 2.2.1 to 2.2.0
Move to milestone:2.2.0 since what was previously going to be 2.2.0 became milestone:2.1.7.
comment:9 Changed 3 years ago by verm
- Milestone changed from 2.2.0 to 3.0.0
Bump 2.2.0 tickets to milestone:3.0.0 (2.2.0 is becoming 3.0.0)
comment:10 Changed 2 years ago by verm
- Description modified (diff)
- Milestone changed from 3.0.0 to 3.2.0
Bump to milestone:3.2.0
comment:11 Changed 9 months ago by Plorkyeran
- Milestone 3.2.0 deleted

You forgot to mention how exactly the times are formatted ;)
We'd also need other information regarding supported character sets, and how to make line breaks.