LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2009, 10:16 PM   #1
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
Subtitles - What Encoding Method to use?


Ok i've had problems adding subtitles in Devede, i get a SPMUX error or something everytime. Im pretty sure its because i have not selected the proper encoding for the subtitle file. By Default the encoding method is "ISO-8859-1". My question is how do i know which encoding method i need? I usually use .sub or .srt files.
 
Old 10-21-2009, 01:10 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
What type of disc are you creating?

One thing you could look at is "file subtitlefile.srt". It may indicate the encoding. If it isn't what you need, look at the "iconv" program to convert the encoding.

If you need the program itself to run with a different locale, you can start it like:

LC_ALL=en_US devede
in the terminal.
 
Old 10-21-2009, 01:22 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
There is a posix regular expression man page: man 7 regex. You may need it for some of the strange details in the syntax.
The info manual for gawk is excellent. I even produced a pdf version of the book from the .texi files in the gawk source code, and printed it out. The sed info manual is a joke IMHO. You may find a small booklet on regular expressions in the book store. On of those really small cheat sheet books that don't cost that much.
 
Old 10-21-2009, 01:27 AM   #4
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Open the file with what program? I have Subtitle Editor but not sure where such info can be found when opened. In properties of the file it does not state the encoding. Im creating an NTSC DVD.
 
Old 10-21-2009, 01:32 AM   #5
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Oh nevermind, ya when i run file at the command-line i get. "ISO-8859 English text, with CRLF, NEL line terminators" That helps, strange that i still get an error using that same encoder though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KMplayer subtitles encoding? oldforce Linux - Software 5 10-13-2011 05:00 PM
LXer: How to make MPlayer use the correct encoding for Romanian and Greek subtitles LXer Syndicated Linux News 0 07-09-2009 06:41 PM
specify encoding method when mounting a local drive benben_shen Linux - Software 3 04-02-2006 04:12 AM
totem subtitles encoding zeky Linux - Software 1 10-19-2005 12:26 PM
mplayer subtitles central european encoding kule Linux - Software 0 10-07-2005 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration