-Program discription.

The program is as much as possibe self explaining, here you find some more extensive explination.

-Updates
See website below.
http://www.gratissoftwaresite.nl/testlab/content/verbeteren-srt-files-ondertiteling

-Name .srt file
To run movies with titles for most players it is necessary that both names are the same and is placed in the same folder. ( eg. Blood Diamond.avi    and    Blood Diamond.srt  Or  Blood Diamond.mkv    and    Blood Diamond.srt )

Movie files witch work with .srt files and be recognized through the program are:

.avi       .mpeg       .ogm          .m4v         .swf
.mkv     .m2ts         .mpv          .3gpp        .vob
.mp4    .wmv          .rmvb         .3g2          .ifo
.divx    .3gp           .rm             .3gg2
.asf       .vro           .mov          .pmp
.mpg    .flv             .qt              .f4v

You must find out whether the player is supported above file. 






-Save special
There are drivers that the title text stay until a new title appears, this is very annoying.
This way of writing a new title text inserted with a blank line immediately after the title. In this way the problem is solved. Whene reading in again, these inserted titles will be removed.

















-What happens when you read an file
When one .srt file is reading in the program first look if there is an coppy of that file. If not, one coppy is made and has the extention .org. It is always possible to get the original file back. When reading in, to much gaps  and empty lines are removed. If title numbers are wrong or not pressent, there wil be corrected. When  Setting line witdh is on, lines will be cut off between two words if nessesary. Olso is looking if there is overlapping in title times, if so the program wil inform you.  When you used read in with improvement, text wil be checked and correct faults if possible. Every change in file you make ( time or text ) wil be write directly. If you choose the mpcStar player it wil be direct visible. If you have ticked ' Adjust when reading in a file ' reading times wil be recalculated.

Every change you make in the file is directly write away by the program.

Only when you want to give the file annother name you have to use the 'Write...' part of the progame.













-Adjust line width
When you look the movie on your desktop it is not nessesary to use it. If you want to look on TV it is possible that the driver of CD / DVD have a limmeted amount off characters. In that case it mybe possible that in the middle of an word is cut off. In this case you must set the line witdh on in the menu edit. This has only effect when you read in the file again.
















-Misunderstood characters
Misunderstood characters raised by using wrong code tables. When  the program recognized this it will be corrected. De character code which must be used is ANSI


















-Corrupted files
There are files whitch can't be read in normally but worked well. The reason is the format of the file is not right. Think of the characters  between the lines. If the program meet such a file it ask to read the file again to make a normal file off it.

















-Start movie
If you read in one .srt file and one .avi file which the same  name in the same folder exist. Then a button became visible to start the movie. The player which start the movie is the default  player of your system.

This kind of movies are supported by the program.

.avi       .mpeg       .ogm          .m4v         .swf
.mkv     .m2ts         .mpv          .3gpp        .vob
.mp4    .wmv          .rmvb         .3g2          .ifo
.divx    .3gp           .rm             .3gg2
.asf       .vro           .mov          .pmp
.mpg    .flv             .qt              .f4v














-Used player
Use one player which displayed every changes in text or time, olso when movie is running.
Such a player is MpcStar player. ( FreeWare )
http://mpcstar.nl.malavida.com/d3825-gratis-downloaden-windows  ( Save site )
When you connect this player to .avi files this player is called "Tigerplayer".
















-Shift times ( Zerro adjustment )
This is most commonly. It speaks for itself.

Enter button
When you press enter after you fill in something, the correct program will be start. It is not necessary to press the button with the mouse.

Arrow upward and arrow downward
When the cursur is in the box to show title numbers you can olso use the arrow keys to go up and downward. This is olso possible when the cursor is in the boxes where you adjust time. In this way it is easily working without mouse.

It is olso possible to shift the title of times in the Edit menu "Shift title times" This option is useful when new titles are created. The reading times of the titles remain the same here. You only need to set the right begin time.










-Stretch and shrink. ( Range adjustment )
This part of program can only be used when the button "Title good at begin movie" is pressed. When changes are made between selected range the first title time  is not change and the last title is change you have filled in.  Think off rubber.

If the cursor is in one off the boxes where you shift stretch or  shrink time it possible to use the arrows en enter buttons of the  keyboard. In this way you can work without the mouse.





















-Tips for using
When times are wrong most commonly you only have to shift the time. I call this Zero adjustment.
This happens when the first seconds of an movie is cut off. The amount of images per second is in America different than in Europe. For this reason you have to stretch or shrink titles. This i call Range adjustment. When this happens you can use the following description.

1 Do Zero adjustment at begin of the movie.
2 Use buttons 1, 2, 3 (This works only with the same number of frames in a film)
3 Go to spoken text at end of the movie what you understand and set player on pause. Search that text in the file. Look to the time of title and make this the same by stretching or shrinking.
4 If spoken word is not the same as writting, look for the writting in the text search field. (Note! Case sensitive) and look at the time of this text.
5 Look at the player. Here you can see the time when this title is shown. Compare this with the time the program shows with this text.
6 Stretch or shrink the times so that these two are equal. (Range correction)
7 Adjuist a little if nessesary.

Now, the buttons 1,2 and 3 are not always good.
The buttons 1,2 and 3 only works if amount of frames is not changed. You can olso fill in your own frame rate. E.g. put behind "Search" fps = 23.928 and follow instructions.

Is the cursor in one of the parts to time shifting or stretching, you can moved the cursor with the arrow keys up. This is a little easier because now no mouse needed. 





















-Time lapping
If there are times which are lapping, you will be informed when reading in the file. Here you can repair this.

Period keypad
The period ( . ) of the keypad active the search of lapping times when the cursor is in that part of program. This way work faster without the mouse.

In that part of program you can also use the Enter button. After you use Enter, the next lapping time is shown. ( If exist )

















-Automaticlly correct lapping times.
When you used reading time, lapping times will be repaired. In the part title time of the program also is looking if the begin time is earlier than end time. If not you will be informed.


















-Adjust reading time
By means of how match characters there are in an title it is  possible to calculate the time an title get. Two parameters can  be used. Play with it to get trusted  with it.

Button 'Recorver'
When you have change something and the file is good then it is  better to push the button
'srt file good. Remove original file' When reading the file again  an new original file is made. Doing this way you are always able  to go back.

Minimum time   time / text line
When total reading time becomes smaller than minimum time, minimum time is used.

Reading time
This is the time you gave one character in line. Together with  minimum time reading, time of one character is calculate. If there is not enough room then the most sufficient way is set.

Search for times that are smaller than the setting reading time
When cursor is in this box you can also use the enter button.  Every time you press this button the next title will be  displayed.



-Searching on
When title time are adjust well and you discover one text fault when the movie is running, there are three possible ways to find the text in the file.

1 Searching with text parts.
   Disadvantage is the text parts can occur more than one time. Every time you press searching the                program look further in the file.
2 Searching with time
Most players give you time. When searching with time you must used the next format ( e.g. 01:38:59   or   03:45 or 01.38.59   or   03.45 ) Only whole seconds may be filled in.
3 Searging with image number
There are players witch give you the amound of images that have be past. It is olso possible to search with this image number. If you want to use this it is nessesary the program knows the images / second. Type i/s and press search. Folow the instruction of the program.







-Cutting and sticking
There two way's off cutting.

1. Cutting begin of file.
Begin off file is cutting off, nothing is done with the file that is cut off. It is useful to delete publicity in the begin off file.

2. Cutting end off file.
From the file that is cut off one new file with new times is made with the extra letters in the name ( XXXX CD2.srt ). This new file can be used for one second part off the movie. ( If exist )
When you have an movie in two parts, and the two parts .srt file doesn't fit exactly, it is better to made one .srt file with sticking. When the times are adjust well, than you can cut off the file on the right place for the second part off the movie. You can probable imaging more examples.

Write .srt files
Normaly you don't use that. Only if you want to write the file with annother name. It can be useful with cutting and sticking.




-Exercise cut and paste
Point of cut and paste. If you cut a file in two pieces (lower blue button) and you paste this back together, yuo must get back the original file.

1 Create a folder on your desktop with the name test
2 Place in this folder an .srt file with the name film.srt
3 Put this file film.srt olso on your desktop. (Control file)
4 Read the file in the folder with the program.
5 Cut this file in two by title number 100 (lower blue button).
   The information part shows you how the cut file is named. (film CD2.srt)
6 View in the folder how these files look like with the notebook (film.srt    and    film CD2.srt)
7 We will now merge this part back.
8 Merge    film CD2.srt.
9 Look now with the notebook to   file film.srt   in the folder  and olso the same file on the desktop.

If you have two srt files have downloaded, and these files are not cut right.
The last title text file 1 is the first tileltekst of file 2. Before you merge these two parts together, you must first cut the first title of file 2 Use the top blue button. 



-The buttons 1, 2, 3
When titles are good at begin and not at the end of the movie, the program can calculate the right time. Push the button    Title good at begin movie. For this the program must know the amount of images in one second that the movie is shown. By MpcStar player you can find this under    File info...    under menu     File. E.g.  25fps  Tick this under the menu  Edit  of this program. Try out the buttons 1, 2, 3 and look if time calculation is right.















-Remember parameters
Parameters below wil be write away and read in when the program starts. If there is no file with parameters, an new file is made with default parameters.

The parameters are:
1  Path of the last reading file
2  Line witdh on or off
3  Amound off characters the line witdh is set
4  Focus time
5  Reading time
6  Selections 'Time to long schrink' and  'Adjust when reading in a file'
7  Language
8  Free adjusteble fps
9  Colour settings
10 Removing <i> and </i> Yes or No
11 The selection options of the option menu 
12 The selected frame rate
13 "Time Correction" Needed by scrolling
14 Scrolling speeds
















-Working with translation programs
For work with translation programs use the menu item 'Edit whole text " make this visible in the "Option..."menu. 

-Edit whole text
Make this menu item visible in the "Option..."menu. 
The use of translation programs is now possible.
There is a possibility of editing the entire text file. (See menu "Edit")
If will open the text with only the title numbers.
Do you want a translation program, do the following:

1 Put the cursor in the text are.
2 Select the whole text (<Control> A)
3 Copy the whole text (<Control> C)
4 Set the text in the translation program (<Control> V)
You can do this with Google
http://translate.google.com/?hl=nl&sl=en&tl=nl#
5 Translation with the program.
6 Make a copy of the translation by (<Control> A and <Control> C)
7 Place the copy still selected part of this program (<Control> V)
8 Improve the mistakes and turn this .txt file into an .srt file.

Improving is a daunting task and will not go at ones. Therefore there is a possibility to save this file as an .txt file. The line width you can set in the Edit menu. Then again to read in the .srt file and automatically the line width is set. If you later read the .txt file again, the file opens with the same tittle number when you saved it.

It is also possible to cut or add titles. If you cutting titles it is recommend to leave the title numbers. Scrolling happens between title numbers.

There are some rules you need to consider.

1 The first line of a new title may not be an existing title number.
E.g. not     10       but      -10 -
2 An  non existing title number with or without title text is seen as a whole tekst.
3 Existing title numbers without text are considered as non existent. 

When converting to an .srt file, the new titles times is added, based on the information provided in the "Adjuist reading times"  and put that it just makes an overlap. These titles only have to shift to put in place. (If there is enough space) You can also change  the title times with the mouse wheel. If you ENTER or use the "Write" button then the times are written directly and the next overlapping is displayed if pressent. 

Automatic scrolling
The automatic scrolling is to correct text errors while the movie is running. If you  correct text, automatically the scrolling stops. 





















-Removing / adding titles
Removing and add titles is possible in the "Edit menu" , "Edit whole text".
If you want to delete a title, remove only the text. Because there is scrolling between the title numbers. Would you create a title, put only the text between the title tracks. Times of new titles make just a overlap. In this way titles are easily detected. The duration of the title is based on the section "Adjust reading time". The new title must put in place. In the selection input section is an option where you easily can do it. 

-Make your own .srt file
1
Select the menu option "New ..." on.

2
Close the Options menu.

3
Under the menu "File" is now a menu item "New ..."
Enable this.
Gave your future .srt file it's name.

4
Copy the text from your text to the clipboard (Ctr and Ctr <A> <C>)
Or write own text here.

5
If a text is typed by yourself (Section 5) does not apply.
Put this text in the open part of the program. (Ctr <V>)

Now you can add or remove rules.
It should therefore stand alone text, no title numbers or time strings.
Each title shall be separated from the other text title text by one or more blank lines.

6
Save this file as a text by appropriate button.

7
Create an .srt file by clicking the right button.
 
The time of each title has been calculated based on the "Title times change" menu.
Titles will therefore only be put in place.
This can be the easiest by the selecting program window with is now open.





















-Subtitle languages
All languages which characters are in the ANSI code they can be used.

The Turkish language has three letters that do not occur in the ANSI code. For upper and lower case together 6 characters. These characters are not written in ANSI code.
This is the Uni-code. There is a possibility this srt file in Uni-code to write. For showing a movie with subtitles in Turkish you need an player who support Uni-code. The program automatically recognizes an Turkish srt subtitles with Uni-code. The program then asks if you want to write in Uni-code. Would you not, then the Uni-code characters replaced by the most appropriate ANSI character.

Ğ  to G
ğ  to g
Ş  to S
ş  to s
İ   to I
ı   to i

If you wat Uni-code see below.

Ğ  to GGG
ğ  to ggg
Ş  to SSS
ş  to sss
İ   to III
ı   to iii

You make the srt file just right with the MpcStar player. If the srt file is good, you write this to an Uni-code file. See menu "File". The three consecutive characters are again put back to their original character. Words which one of the 6 extra characters will be repaired if possible. If the srt file once is in Uni-code shut down this program and you have to look the movie with a player that Uni-code support.

For players in the Uni-code to write see:
http://www.dimensions-math.org/Dim_winspelers.htm

Do you have a QWERTY keyboard and you want e.g. Ğ type, type GGG. The program does the rest. 

Want to make your keyboard convertible Turkish AZERTY keyboard and back, see:
http://users.telenet.be/orientaal/turksbel.html























-For the freaks
For the programmer a number of commands are built  in. The freaks might be interesting. These commands should be in the search area be completed. ( Only in Dutch language )

The commands are: 
ANSI
This command works only when the .srt file is big enough. All the possible characters are displayed. Would you will turn back, then you should read in the original file again.

bina
File reading normal on.
Now you can read a file without correcting characters or words that are mistaken.
By converting to a. .txt file to a srt file olso there is no correcting.

binu
File reading normal off.
Now remove the above option.

Maak een test file
First be sure you have one. srt file of 1000 titles or more. Paste maybe some files together. Now set in the search area  "Maak een test file" This means "Create a test file" . More than 1000 titles cut off. Write this file away as "Test file". If you  stretch this file 10 sec. ,you see that the file is stretch proportional.

	
*replace
This command is a last resort to a corrupt file repairing. If an .srt file is read in every time the time strings are checked whether they are correct. In some cases the time string repaired because it is more common.
00:03:30,232 -> 00:03:33,802 is transformed into 00:03:30,232 --> 00:03:33,802
Also spaces before and after are removed.
If the time string is not correct, this is regarded as nonexistent.
The following case I encountered.
00:03: 30.232 --> 00:03: 33.802
And that was the whole file out of 1000 titles. This file is not read in because there is no valid time string. You can determine the file with the Notepad. With the Notepad you can repair this, but it is an lot of work. The program now offers an opportunity to repair it.
	
How you can do this: (The above as an example)
1 Read in an valid .srt file.
2 Put in the search area *replace
3 Enter a colon followed by a space, then ENTER.
4 Enter now just a colon, then ENTER.
5 Now read in the corrupt file.

Before the program is checking the file, first changes are made and the file will be read in properly. A disadvantage is that it affects the whole file. But better something than nothing. 

TC=
Time Corection
You need by scrolling and depend on computer speed.
It is automatic calculated by the program.

FT=
or
ft=
Works only when fps=25
Forcing a number of mSec. between the title text (Title starts and stops when frame starts)
This was done because according to some it is beter for the eyes. (160 mSec. At 25 fps)

Afterword
If something goes wrong i like to know this so i can improve the program. Changes in this file can be made, it is written away when you close this window.

Much pleasure with this program.

Frans Goosens




