A subtitle editor for GTK+ writen in Python.
Copyright © 2003 PORTALIER Julien
$Data: 2003/08/02 $
Revision History | |
---|---|
Revision 0.0.9.5 | 10 August 2003 |
Some corrections and updates. | |
Revision 0.0.9.4 | 02 August 2003 |
First edition |
Table of Contents
- Abstract
- 1. About
- 2. Installation
- 3. Bugs, Features and ToDo
- 4. Authors
Introductory information for the Orange Slice software.
Table of Contents
Orange Slice is a subtitle editor, writen in Python/GTK+. It aims at manipulate different file formats like SSA, ASS, SUB, SRT, etc. Runs under GNU/Linux, and should run under any *nix and should even run under WIN32. The application is developped under a Debian GNU/Linux (Sarge), but i'd like to have it working on any platform available (even proprietary ones like win32's).
The main goal is to have an easy application to create scripts for subtitling videos. For the moment it only manages the Sub Station Alpha file format, and can export to the Advanced Sub Station Alpha format. But it should be extended to any format available in import/export (help wanted).
And the real extend i'm thinking about right now is to have an easy file format for easily working with translations. Because most of the subtitles are for translating a video from a language to another, so it would be easier to have the possibility to have many languages in a single file. Next, having the possibility to have many languages and many comments for just one subtitle. I'm thinkig about an XML file that could do the job.
Orange Slice permits to manipulates « scripts » files that contains informations about when and what to print on a video : the subtitles. You can use those scripts with MPlayer (mplayerhq.hu) or Xine (xine.sf.net) for example. If you're using a WIN32 system, you can use the generated script to encode your videos with Virtual-Dub (virtualdub.org).
Why not ? , so...
Well, I'm an enjoyed GTK+/GNOME 2 user, and at first : GTK2 is using the unicode charset (utf-8) as the main text encoding, so it gives many easy prossibilities for internationalisation. And second, i really like Glade (glade.gnome.org).
I didn't do any C programming for years, and for me python is light, fast enough, and have bindings (at least under *nix) for a lot of libraries, like Gstreamer (gstreamer.sf.net) i think i'll use someday.
Orange Slice is somehow a Sub Station Alpha (SSA) clone. SSA is a closed source program only running under a WIN32 system. SSA is left unmainted since a very long time, and like any other closed-source program, nobody can make it evolve. In other words : the application is dead. That's one of the reason why Orange Slice is distributed under the Gnu Public License (GPL). This way, it takes all the advantages of a free software application. See gnu.org/philosophy for more information on free software.
Well, at least the SSA's file format is a text file, easy to read, understand and even extend. That was the good point.
Table of Contents
- Python 2.3 (python.org)
- PyGTK 1.99.16 (www.daa.com.au/~james/pygtk)
- GTK+ 2.2 (gtk.org)
If you're using Debian, you should use those packages.
- python2.3
- python2.3-gtk2
- python2.3-glade2
And if you want to use CJK you'll need that.
- python2.3-cjkcodecs
Win32 is untested for the moment and will not be tested until someone does it ! I only provide those links for if anybody wants to try it or to port it to. Bu well i'd like it to work under a win32 system, because it could replace the closed source SubStationAlpha...
- PythonWare 2.3 (python.org/download/)
- Gtk+ 2.2 (dropline.net/gtk)
- PyGTK on Win32 (www.pcpm.ucl.ac.be/~gustin/win32_ports)
There's no need to build the application (python powered). Of course, you need to have the requirements installed.
Just uncompress the tarball to anywhere you want and symlink orange-slice.py to a common place (eg: /usr/bin/orange-slice). The application should start without any problem. If not, file a bug with a description of your problem.
Well, once you've started or loaded a script, you just have to click on a subtitle to have it loaded in the editable fields on top of Orange Slice. You can use Enter to save the current in the list, and Ctrl+Enter to update the field, and if you're in the subtitle field it will automatically go to the next line.
Table of Contents
Please submit any orange-slice bugs to < portalier_j AT yahoo DOT fr>. I expect the application not to crash, but features might be broken or working badly or as unexpected.
- Uses the SSA file format as internal file format.
- Takes advantages of the unicode charset as internal encoding.
- Can create load SSA and ASS scripts.
- Loads saves the SSA and ASS scripts to the current locale. Supports mixed encoding SSA files (buggy on shift-jis save).
- Can select the line break (endline) for saved file: LF (*nix) or CR+LF (dos/win).
-
Exports to :
- Advanced Sub Station Alpha
-
Internationalisation (using gettext) :
- English
- French
- Make use of GtkTreeView instead of deprecated CList.
- Having a more powerful internal format. Specially designed for translation, with notes, comments and even multiple languages (unicode).
- Change the current way to use the program (as described in the usage section.
- Develop our proper file format: XML based and oriented for translations with multiple languages comments.
- More internationalisation.
- Add something to manipulate the script header (authors, translators, timers, video informations, etc.)
- Add something to manipulate subtitle Styles (like font, color, etc.) : started.
- Importations and exportations from and to many file formats, like : SRT, MicroDVD, MPlayer, etc.
Table of Contents
Please feel free to contact the developers if you have any problem with the Orange Slice !
- Julien PORTALIER < portalier_j AT yahoo DOT fr>