Subtitles in txt file

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Subtitles in txt file

Postby knife » 12 Feb 2011 21:08

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Subtitles in txt file

Postby Jean-Baptiste Kempf » 13 Feb 2011 08:20

Force it through the subtitles menu
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Re: Subtitles in txt file

Postby knife » 13 Feb 2011 12:08

Specifically?

Where can I find a subtitle menu?

solazy
Cone that earned his stripes
Cone that earned his stripes
Posts: 128
Joined: 13 Nov 2008 17:45
VLC version: 1.1.11
Operating System: Windows XP SP3

Re: Subtitles in txt file

Postby solazy » 13 Feb 2011 19:43

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.

knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Re: Subtitles in txt file

Postby knife » 14 Feb 2011 07:27

Ok thanks.

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

solazy
Cone that earned his stripes
Cone that earned his stripes
Posts: 128
Joined: 13 Nov 2008 17:45
VLC version: 1.1.11
Operating System: Windows XP SP3

Re: Subtitles in txt file

Postby solazy » 14 Feb 2011 12:59

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
Last edited by solazy on 14 Feb 2011 20:17, edited 1 time in total.

solazy
Cone that earned his stripes
Cone that earned his stripes
Posts: 128
Joined: 13 Nov 2008 17:45
VLC version: 1.1.11
Operating System: Windows XP SP3

Re: Subtitles in txt file

Postby solazy » 14 Feb 2011 20:05

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)

knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Re: Subtitles in txt file

Postby knife » 15 Feb 2011 07:25

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.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Subtitles in txt file

Postby Sébastien Escudier » 15 Feb 2011 08:15

yes, rename in .srt

knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Re: Subtitles in txt file

Postby knife » 15 Feb 2011 09:35

Ok, thanks.
Close.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Subtitles in txt file

Postby Jean-Baptiste Kempf » 15 Feb 2011 09:39

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

solazy
Cone that earned his stripes
Cone that earned his stripes
Posts: 128
Joined: 13 Nov 2008 17:45
VLC version: 1.1.11
Operating System: Windows XP SP3

Re: Subtitles in txt file

Postby solazy » 15 Feb 2011 17:29

Yes I confirm, after downloading it.
Now Vlc 1.1.8 beta opens automatically the .txt subtitle file

Bravo j-b :D

knife
New Cone
New Cone
Posts: 6
Joined: 12 Feb 2011 21:04

Re: Subtitles in txt file

Postby knife » 15 Feb 2011 19:58

Thanks j-b !
thank you very much!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Subtitles in txt file

Postby Jean-Baptiste Kempf » 16 Feb 2011 00:39

Thanks j-b !
thank you very much!
Thanks for testing
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 34 guests