The English-Polish Computer Aided Translation System

Introduction  |  Documentation  |  Software  |  Humor  |  Artwork  




Suse Linux version: version 1.6. If this does not work in your Unix system, please let me know -- I will recompile it to suit your needs.

Microsoft Windows version: if anyone is interested in it, please let me know, I will be happy to recompile Pinio for you.

Requirements: standards (like glibc) plus Boost library.

 What is it?

For now, Pinio is just a command-line subtitle tool. My intention is to enhance it to be full editor.

Key features:

Other features:

Supported headers:

Pinio checks the first line in the subtitle file to get information about fps. It is more useful to provide such info instead of passing the fps as argument each time Pinio is run.

SubEdit, example for mdvd format:
{1}{72}movie info: any text here 23.976fps any text here
The fps is found in the first part of the line as numeric value followed with text "fps".

Pinio, example for mdvd format:
{1}{72}any text here|runtime: any text here (NTSC)
The fps is found in the last part of the line as a text enclosed with brackets -- PAL or NTSC.

 How to use it?

Probably the most complex task is to resynchronize the subtitle file. What differences between files can be? Well:

How to deal with those differences? You just need to find two easy dialogue lines to spot -- opening one and ending one. They could be the first and the last dialogue (but they can be just close to the first and the last as well). You know the source values for them (from the subtitle file you want to resychronize), now you have to watch a movie for a little while to get the new timings. Once you get all the values...

pinio --overwrite --in=Scary.Movie.3.txt --pal --start-point=45f 130t --end-point=89766f 12130t
which means: the movie is in PAL framerate, the original points are given as frame units (45 and 89766 respectively) and for your version of the movie file, the first dialogue is at 1 minute and 30 seconds, and the last at 1 hour 21 minutes 30 seconds.

 Features step by step

Optimizing mdvd tags:

Mdvd format supports two kind of tags -- per line and per paragraph. Consider such example:
{1}{72}{y:i}- Hello?|{y:i}- Jake, it's me.

Those tags are not efficient, since the same tag is used twice. In such case it possible to use one global tag:
{1}{72}{Y:i}- Hello?|- Jake, it's me.

Pinio automatically optimizes every tag for you -- you don't have to set any option for it.