User(s) browsing this thread: 1 Guest(s)
|
txt2srt - convert subtitles from common .txt formats
|
|
11-22-2010, 09:10 PM
|
|||
|
|||
|
txt2srt - convert subtitles from common .txt formats
I've just found the utility called txt2srt. It's written in java (=runs on MacOS, windows and linux with jvm, does not run directly on popcorn a100). It automatically converts txt subtitles (supports various formats of them) to .srt files, which are displayed by Popcorn Hour.
Download it and run it in a few easy steps. |
|||
|
11-22-2010, 11:14 PM
|
|||
|
|||
|
RE: txt2srt - convert subtitles from common .txt formats
There's mika and possibly jikes jvm available for the A100 somewhere (not sure of jikes, at least it's in vaidyasr's C200 ipkg feed), as well as mediainfo. If someone has mika or jikes installed on their 100-series nmt they might be able to try if this thing works from telnet command line?
Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
11-23-2010, 11:47 AM
|
|||
|
|||
RE: txt2srt - convert subtitles from common .txt formats
(11-22-2010 11:14 PM)dc11ab Wrote: There's mika and possibly jikes jvm available... I tried with mika: $ ./go java.lang.ExceptionInInitializerError at net.sf.txt2srt.reader.SubtitlesReader.<clinit>(SubtitlesReader.java:35) at net.sf.txt2srt.reader.SubtitlesReader.<clinit>(SubtitlesReader.java:35) at net.sf.txt2srt.Txt2Srt.convert(Txt2Srt.java:60) at net.sf.txt2srt.Txt2Srt.convert(Txt2Srt.java:39) at net.sf.txt2srt.Txt2Srt.main(Txt2Srt.java:85) at net.sf.txt2srt.Txt2Srt.main(Txt2Srt.java:85) at java.lang.reflect.Method.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:112) at wonka.vm.Init.main(Init.java:407) Caused by: java.lang.ClassNotFoundException: SystemClassLoader couldn't find java.util.regex.Pattern at wonka.vm.SystemClassLoader.findClass(SystemClassLoader.java:220) at wonka.vm.SystemClassLoader.loadClass(SystemClassLoader.java:373) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at net.sf.txt2srt.reader.TxtMpl2Reader.<clinit>(TxtMpl2Reader.java:9) at net.sf.txt2srt.reader.TxtMpl2Reader.<clinit>(TxtMpl2Reader.java:9) at net.sf.txt2srt.reader.SubtitlesReader.<clinit>(SubtitlesReader.java:35) at net.sf.txt2srt.reader.SubtitlesReader.<clinit>(SubtitlesReader.java:35) at net.sf.txt2srt.Txt2Srt.convert(Txt2Srt.java:60) at net.sf.txt2srt.Txt2Srt.convert(Txt2Srt.java:39) at net.sf.txt2srt.Txt2Srt.main(Txt2Srt.java:85) at net.sf.txt2srt.Txt2Srt.main(Txt2Srt.java:85) at java.lang.reflect.Method.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:112) at wonka.vm.Init.main(Init.java:407) Looks like regex classes are not supported by mika. Was unable to get jikes running, anyone? |
|||
|
11-24-2010, 06:02 AM
|
|||
|
|||
|
RE: txt2srt - convert subtitles from common .txt formats
any idea converting .ass files to .srt?
.ass subtitles have formats inside them, maybe a little more complicated. |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)

