Page 1 of 1

Subtitles in txt file

Posted: 12 Feb 2011 21:08
by knife
Hi,

My question is, why in the new version (1.1.7), the program does not read strings from a file. txt?
I apologize in advance for my English, I am a Pole:)
Yours

Re: Subtitles in txt file

Posted: 13 Feb 2011 08:20
by Jean-Baptiste Kempf
Force it through the subtitles menu

Re: Subtitles in txt file

Posted: 13 Feb 2011 12:08
by knife
Specifically?

Where can I find a subtitle menu?

Re: Subtitles in txt file

Posted: 13 Feb 2011 19:43
by solazy
Hello knife,
* Open Vlc (double clic on its icon)
* Menu Media => Advanced Open File => File (tab)

Then you open separately the movie and the .txt subtitle, that's it.
I tested it and it worked fine :)

j-b is thinking about an easier solution, as he explained at the end of the following topic :
viewtopic.php?f=14&t=87093

And in case your .txt file is a real .srt file, you can rename it, as explained in the same topic, just before j-b last answer.

Re: Subtitles in txt file

Posted: 14 Feb 2011 07:27
by knife
Ok thanks.

So, to automatically use the words (in the same folder with the same name), expansion of strings must have. srt so?

Re: Subtitles in txt file

Posted: 14 Feb 2011 12:59
by solazy
So, to automatically use the words (in the same folder with the same name), expansion of strings must have. srt so?
Not necessarily, because there are different kind of subtitles that open automatically with VLC (automatically = when you double clic on a movie file in Windows Explorer) :

* The .srt file (which is plain text as you know) which contains only one language.
* The couple .idx /.sub (which can contain several subtitles in different languages) , I use them too but they're graphical subtitles (not plain text).
* Probably other subtitles extensions (.ssa etc...) but I never tested them.

As soon as they're in the same folder than the movie, with same name, they'll open automatically, for example :
my_movie.avi
my_movie.sub
my_movie.idx

or
my_movie.avi
my_movie.srt

Re: Subtitles in txt file

Posted: 14 Feb 2011 20:05
by solazy
Just for fun, I just made this test, having 2 different kind of subtitles in the same folder !
For example, with these 4 files in same folder :

my_movie.avi
my_movie.sub
my_movie.idx
my_movie.srt

What will VLC do if you double clic on the movie file in Windows Explorer ?
What subtitle file will automatically be opened (or not) ?
Is there a priority ?

The answer is : Vlc opens automatically ALL subtitles files (having same name as the movie) found in the same folder.

In this example the idx/sub were composed of 2 different languages and the srt with a 3rd language
Then Vlc propose you automatically 3 different languages in its subtitle menu (yes !)

And Vlc selected by default the 1st language in the idx/sub file
(2nd subtitle = 2nd language in idx/sub file)
(3rd subtitle = 3rd language = the srt file...at the end)

Re: Subtitles in txt file

Posted: 15 Feb 2011 07:25
by knife
I do not ..
After the update, it automatically does not read the subtitles in. txt files must be in. srt?
Subtitles are in Polish, with the same name as the movie, and in the same folder.

Re: Subtitles in txt file

Posted: 15 Feb 2011 08:15
by Sébastien Escudier
yes, rename in .srt

Re: Subtitles in txt file

Posted: 15 Feb 2011 09:35
by knife
Ok, thanks.
Close.

Re: Subtitles in txt file

Posted: 15 Feb 2011 09:39
by Jean-Baptiste Kempf

Re: Subtitles in txt file

Posted: 15 Feb 2011 17:29
by solazy
Yes I confirm, after downloading it.
Now Vlc 1.1.8 beta opens automatically the .txt subtitle file

Bravo j-b :D

Re: Subtitles in txt file

Posted: 15 Feb 2011 19:58
by knife
Thanks j-b !
thank you very much!

Re: Subtitles in txt file

Posted: 16 Feb 2011 00:39
by Jean-Baptiste Kempf
Thanks j-b !
thank you very much!
Thanks for testing