Back

SE now available in Basque and Czech

Subtitle Edit is now available in Basque (thx Xabier Aramendi) and Czech (thx Trottel).

Also, a Linux version for testing is out (thx Hawke for Linux info/testing).


by ikrshnan at 11-21-05 3:57 PM
Great Nik. SE for GNU/Linux is a superb idea. :)
Can u tell me which version of VS u r using for SE
And how u made SE possible for GNU/Linux?

by Kimbo at 11-22-05 3:00 PM
Kommer SE i Mac version också snart? Skulle underlätta för de som faktiskt bara använder Mac ;)

by nikse.dk at 11-22-05 4:57 PM
@ikrshnan: Thx, I'm using VS2010 for SE.
As SE is written in C#, it can run via the Mono project (an open source .net framework implementation).
It's pretty easy to make C# programs run on Linux unless native libs are used (just avoid hardcoding path separator + newline + a few other details + testing).
SE on Linux had problems with Hunspell, Tesseract3, and VLC. Hunspell + tesseract work now, but I was unable to make VLC work as video player, so I added mplayer2 instead.

@Kimbo: I don't have a mac - but if any C# programmers with a mac are willing to help, let me know. SE actually might work on Mac via Mono, but I'm pretty sure that the video player and spellcheck will not work.

by ikrshnan at 11-23-05 8:04 AM
Hello Nik,
I'm a student in software developing and currently my studies are going on C#. My point is the above information you provided are really helpful to me.

Thank you so much.

May be in future I can involve for the development of SE. What do you think about that? :)

by nikse.dk at 11-26-05 11:02 PM
@ikrshnan: Help to improve SE is always welcome :)

by Hossein at 11-05-06 9:44 PM
Hi,
Can I help you to translate your program to Persian(Farsi)?

by nikse.dk at 11-06-06 10:07 AM
@Hossein: That would be nice :)
You can use XmlContentTranslator to translate - let Google do a rough translation if you want.
See http://www.nikse.dk/SubtitleEdit/Help#translate

SE 3.2 will only require minor changes to language files.

by teguh at 11-05-10 5:49 AM
Hi, I just download the Linux version.
I just want to ask, how to run it with Mono?
I Have installed Mono-2.6.4-4.1mdv2010.1.rpm
I only see SubtitleEdit.exe
I Have try to run it with this command "mono SubtitleEdit.exe"
But I got this problem:
[teguh@Mandriva_2010_Spring Subtitleedit]$ mono SubtitleEdit.exe

** (SubtitleEdit.exe:15340): WARNING **: The following assembly referenced from /home/teguh/Downloads/Subtitleedit/SubtitleEdit.exe could not be loaded:
Assembly: System.Windows.Forms (assemblyref_index=1)
Version: 2.0.0.0
Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/teguh/Downloads/Subtitleedit/).
** (SubtitleEdit.exe:15340): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

** (SubtitleEdit.exe:15340): WARNING **: Missing method EnableVisualStyles in assembly /home/teguh/Downloads/Subtitleedit/SubtitleEdit.exe, type System.Windows.Forms.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'



I have try using it with wine and mono for windows, i can run it, but it have font problem, sometime i could not see the text file.

Thanks before.
Sory for my Bad English.

by teguh at 11-05-10 7:42 AM
Hi, i just googling, and found the solution in here http://ubuntuforums.org/showthread.php?t=851578
After installing mono-winforms, i could run it.

Now i got new problem, i try to convert vobsub to srt,
But SE cannot detect Tesseract 3.
I have install it, here the info:

[root@Mandriva_2010_Spring Main]# rpm -qa | grep tesseract
libtesseract_full2-2.04-5mdv2010.1
tesseract-3.00-1
libtesseract3-3.00-1
tesseract-devel-3.00-1
tesseract-eng-2.04-5mdv2010.1
[root@Mandriva_2010_Spring Main]#

I Could Covert Vob using Vobsub2srt ( https://github.com/ruediger/VobSub2SRT )
fyi, it user tessarect too

here the log of Vobsub2srt http://pastebin.com/PHiz94eF

How to get Tesseract to work with SE?

Thanks before.
Sory for my bad english.

by nikse.dk at 11-05-10 9:45 AM
The ocr process saves images in the temp folder as .png and generates text by running "tesseract" (I've only tested on Ubuntu).

You could try to compile your own version and debug in MonoDevelop...

by teguh at 11-05-10 8:40 PM
thanks for the reply.
Hmmm, so where i should put tesseract binary?
i put mine in /usr/bin/tesseract , but SE cannot detect it. ( i cannot choose English, it just blank in pulldown menu )
Here the screenshot http://imageshack.us/photo/my-images/546/cannotdetecttesseract3.jpg/

Or Should i put tesseract binary in root directory of SE?

btw, if i run SE for Windows with Mono in Wine, i could use tesseract. ( I can choose English )
Here the screenshot http://imageshack.us/photo/my-images/838/subleeditwithwine.jpg/


About compile and debug, i don't know about Mono.
But if you could assit me, i will try it.

Thanks.

by nikse.dk at 11-06-10 7:11 AM
Hi, I asume that tesseract dictionaries are here: /usr/share/tesseract-ocr/tessdata

I've tried to check a few more paths here: http://www.nikse.dk/SE32Linux.7z
Better?

by teguh at 11-06-10 12:44 PM
No, in Mandriva it's in /usr/share/tessdata
I just do :

[root@Mandriva_2010_Spring Main]# mkdir /usr/share/tesseract-ocr
[root@Mandriva_2010_Spring Main]# ln -s /usr/share/tessdata /usr/share/tesseract-ocr/tessdata

Now I it's Work, Thanks a lot.

I Hope you add more path in SE for Linux, add /usr/share/tessdata too.
And More info in README , perhaps like this: http://pastebin.com/MBwxK4Hb
Because not every one familiar with Mono

Btw, why in SE for Linux, when i convert Vob to Srt, and detect Unknown Word, The Tool for edit the Unknown Word not Showing ?

hmmm, that link not work:
[teguh@Mandriva_2010_Spring Downloads]$ wget -c http://www.nikse.dk/SE32Linux.7z
--2011-10-06 17:31:08-- http://www.nikse.dk/SE32Linux.7z
Resolving www.nikse.dk (www.nikse.dk)... 195.128.175.57
Connecting to www.nikse.dk (www.nikse.dk)|195.128.175.57|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-10-06 17:31:20 ERROR 404: Not Found.
[teguh@Mandriva_2010_Spring Downloads]$


Thanks.
Teguh Asmara.

by nikse.dk at 11-06-10 4:04 PM
Hi teguh!

My host does apparently not allow .7z to be downloaded, so I've upped a zip archive instead.

Readme should be improved + much newer exe file.

Better?

by teguh at 11-06-10 6:00 PM
Oke, i have download it, now it can detect tesseract dictionary in /usr/share/tessdata

What about, option "Prompt for unknown words", it's not working in linux.
i have some unknown word, but SE for Linux not prompt to let me edit the words like in Windows version.
It's just minor problem, but if that can working too, it's will better.

and could you add info about "mono-winforms version 2.0" in Readme file, because it not installed when i install Mono in Mandriva Linux.
And after read this http://ubuntuforums.org/showthread.php?t=851578
I thinks in Ubuntu Linux, it's not installed when installing Mono.

It will make Readme file much better.


Thanks again.
Teguh Asmara.

by teguh at 11-06-10 6:21 PM
i found another "bug",
I try to to use "Replace (Ctrl+H)" , after i search and replace, i cannot close the window.
Click "X" not make it Closed.

Here the Screenshot http://imageshack.us/photo/my-images/32/subleeditlinuxbug1.jpg/

by nikse.dk at 11-07-10 5:43 PM
New Linux version upped - replace dialog bug should be fixed.


by teguh at 11-08-10 1:15 AM
Thanks for the new linux version.
Spellcheck still not working in linux, in windows version i can get Spellcheck like this http://imageshack.us/photo/my-images/35/ocrtosrt02.jpg/
But, I cannot get that Spellcheck to working in Linux.

Replace ( Ctrl+H ) can make Subtitle Edit Hang and eat 50% of my CPU Resource.
I cannot kill it too.
[teguh@Mandriva_2010_Spring ~]$ ps ax | grep mono
13711 ? R 10:32 mono SubtitleEdit.exe
14917 pts/1 S+ 0:00 grep --color mono
[teguh@Mandriva_2010_Spring ~]$ kill -s 6 13711
[teguh@Mandriva_2010_Spring ~]$ ps ax | grep mono
13711 ? R 12:40 mono SubtitleEdit.exe
15060 pts/1 S+ 0:00 grep --color mono
[teguh@Mandriva_2010_Spring ~]$

PS, thanks for putting my name in Readme file, but my name not "tegu", but "teguh asmara" ( missing "h" )



Thanks.
Teguh Asmara.

by teguh at 11-08-10 1:34 AM
btw, what the version of mono you use?
mine is version 2.10.2
[teguh@Mandriva_2010_Spring ~]$ rpm -qa | grep mono
mono-4.0-2.10.2-4
mono-winforms-2.0-2.10.2-4
mono-2.10.2-4
libmono0-2.10.2-4
libmono2.0_1-2.10.2-4
mono-2.0-2.10.2-4


and What about Hunspell?
I have install version 1.2.8
[teguh@Mandriva_2010_Spring SubtitleEdit]$ rpm -qa | grep hunspell
libhunspell1.2_0-1.2.8-4mdv2010.1
hunspell-1.2.8-4mdv2010.1


btw. when Mono Apps crash, i cannot kill it.
try logout my KDE and restart X.org server, then mono is still in there.
the only way out is to reboot my computer. T_T

Thanks.
Teguh Asmara.

by nikse.dk at 11-08-10 10:13 AM
I'm using hunspell 1.2.11 (libhunspell)
You can see the source code for SE hunspell here: http://subtitleedit.googlecode.com/svn/trunk/src/Logic/Spellcheck/LinuxHunspell.cs
Do you have any ideas why it's not working?

Replace uses a lot of cpu on windows version too... I might look at it later (low priority).

I'll update the help file with correct name.


You can get latest source code here: http://code.google.com/p/subtitleedit/source/checkout
Mono develop here: http://monodevelop.com/Download
(test project must be removed)

by teguh at 11-10-10 4:53 AM
hmm, i will try to compile it.
but now i'am gonna kompile the latest Mono ( 2.10.5 ) and try SE again.
if it's still not working, i will try compile SE from Source.

Best regards,
Teguh Asmara.

by teguh at 11-10-10 12:09 PM
I just finished Compile Mono-2.10.5, Monodevelop 2.8 and Hunspell 1.3.2.
I can build SE with Monodevelop with 40 warning, Run SE with Mono.
I cannot Choose Dictionary for Spellcheck.
Screenshot http://imageshack.us/photo/my-images/525/subleeditlinuxbug3.jpg/

And About Replace (Ctrl+H) it's not use alot cpu, but in Linux it make "eternal looping", and i cannot kill it.
I have to reboot my Linux because of this.

That Replace (Ctrl+H) Bug not happening in previsious SE you posted at 11-06-10 4:04 PM (posted by nikse.dk at 11-06-10 4:04 PM)

by teguh at 11-13-10 5:58 AM
Hi, I just wann to say, I'am Sory.
I can not help you to find out Bug in Replace and Spellcheck, i don't know about Mono (C#/.Net).

And I Only Need OCR to Convert VOB to Srt with GUI, and so far, you previous SE work without problem.
I Will use yours Preveiously Build, because New Build from your latest reply, have serious Bug in Replace (Ctrl+H).

Thanks, and I hope the SE Linux will much better.

Best Regards,
Teguh Asmara.

Name *
E-mail (Optional)
Comment *
Do you want to delete the comment?

Comment



Back   |   Login   |   New user