Subtitle Edit (open source subtitle editor)

402 posts in this topic

Posted

Yes, it's fixed. :D

Good work !

Well, take your breath now, I'll check out IF I 'll find something else. :P

All the best,

doc.

Share this post


Link to post
Share on other sites

Posted

Nikse, Nikse, where are you? :D

Please, take a look at this:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Culture name 'openofficedictionaries' is not supported.
Parameter name: name
at System.Globalization.CultureInfo.CreateSpecificCulture(String name)
at Nikse.SubtitleEdit.Forms.ChooseLanguage..ctor()
at Nikse.SubtitleEdit.Forms.Main.ChangeLanguageToolStripMenuItemClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SubtitleEdit
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///K:/Sub%20Edit/SubtitleEdit.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
cx9euupg
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NHunspell
Assembly Version: 0.6.3.0
Win32 Version: 0.6.3.0
CodeBase: file:///K:/Sub%20Edit/NHunspell.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




I received all that crapp after an attempt to change the language (which currently is set to Romanian, of course). It is my fault, or it is something else?
In addition, when I tried a spell checker I noticed that spell checker takes some words from Romanian language (some word with some special characters), it gives me the solution, which solution is the same word to what is checked.
Could may be a result of the above?

Thank you,

doc.

Share this post


Link to post
Share on other sites

Posted

I'm here :)


I received all that crapp after an attempt to change the language (which currently is set to Romanian, of course). It is my fault, or it is something else?

Thx, something else... (was trying to cast "OpenOfficeDictionaries" as language)
Fixed in latest beta: http://www.nikse.dk/se/SEBeta.rar


In addition, when I tried a spell checker I noticed that spell checker takes some words from Romanian language (some word with some special characters), it gives me the solution, which solution is the same word to what is checked.
Could may be a result of the above?

Hm, sounds like an error in the Romanian dictionary or in nhunspell. Could you re-download it - there are a few Romanian dictionaries available...

Share this post


Link to post
Share on other sites

Posted

Thank you,

doc.

Share this post


Link to post
Share on other sites

Posted



Ok, this is fastest way to show what it is about.
It is a word that appears in the dictionary, but that appears not to be recognized (and that is happened with ALL words - well, all words with special characters according to language).
It could be a problem caused by the character encoding (I mean, UTF instead of ANSI or something like that)?

Friday night, what it is in my mind? :D

doc.

Share this post


Link to post
Share on other sites

Posted


It could be a problem caused by the character encoding (I mean, UTF instead of ANSI or something like that)?

Probably. There seems to be several Romanian dictionaries, and I think the "Romanian Dictionary Pack (spell checker, hyphenation, thesaurus) - Cedilla Version" works better...

Also, in order for SE to auto-detect Romanian I need 6-7 words that can be identified as Romanian (and not too common in other languages). These words seems common...

s?
mai
c?
a?a
acolo
unde
aici
r?u
Haide
bine
sunt
Trebuie
fost
asta
pentru

Could you help with choosing 6-7 words?

EDIT: Well, seems to have problems with encodings in this forum too ;)

Share this post


Link to post
Share on other sites

Posted

Ok, there it is:

încep?tor

asem?n?toare

?ez?toare

?int?

cândva

gâng?vit

?arin?

însp?imânt?tor

?igl?

?tiin?ific?

Well, I write these words using romanian keyboard settings ( I guess you are doing in some way when you use danish, you set your keyboard for danish, oh god, :D shoot me, what plight of expression I was able to make! :D ).

Later edit: OOPS !!
I will send you by mail if it is OK !
Even later edit :D :
I found that option !:)

Share this post


Link to post
Share on other sites

Posted


Even later edit :D :
I found that option !:)


He, yes. That worked :)

The Romanian characters seems a bit complicated... different versions of Romanian "s" and "t" with either comma or cedilla below, or what???
I've added some auto-detect code, so that spell check should choose Romanian (if available) when spell checking a Romanian subtitle: http://www.nikse.dk/se/SEBeta.rar


EDIT: Now it's possible to change the Icons in the toolbar (see the "Icons" folder)

Share this post


Link to post
Share on other sites

Posted

The Romanian characters seems a bit complicated... different versions of Romanian "s" and "t" with either comma or cedilla below, or what???


Looks like, but are different letters (s - like sink, s with cedilla below - like show).

Anyway, thanks for your work.

doc.

Share this post


Link to post
Share on other sites

Posted

New feature (in it's early stages) in latest test version: http://www.nikse.dk/se/SETest.rar

Can anybody find the new feature ? :)

Share this post


Link to post
Share on other sites

Posted


New feature (in it's early stages) in latest test version: [...]



Translate (powered by Microsoft) ???

doc.

Later edit:

Could be that one?

2d6r1x.jpg

If that it is, I'm sorry for this "answer" ! Really !

Even (little) later edit: :)
Maybe that can help you:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Nikse.SubtitleEdit.Controls.WaveForm.WaveForm_MouseMove(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Share this post


Link to post
Share on other sites

Posted



************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Nikse.SubtitleEdit.Controls.WaveForm.WaveForm_MouseMove(Object sender, MouseEventArgs e)


Ah, the exception msg unveil your new feature :P

Share this post


Link to post
Share on other sites

Posted


Ah, the exception msg unveil your new feature :P



Is still testing on it, but, I guess his ideea is a good one.
I mean, I think he want to combine SE with some features from VSS.
But that is my guess.:)

doc.

Share this post


Link to post
Share on other sites

Posted


Ah, the exception msg unveil your new feature :P


Yep, found it :)

Share this post


Link to post
Share on other sites

Posted


Is still testing on it, but, I guess his ideea is a good one.
I mean, I think he want to combine SE with some features from VSS.
But that is my guess.:)

doc.


I've wanted a waveform in SE for a long time... but it's a rather large/advanced feature!

I (might) have fixed the bug with the waveform mouse-over crash: http://www.nikse.dk/se/SETest.rar

I think it looks pretty cool - when working... ;)

Share this post


Link to post
Share on other sites

Posted


I've wanted a waveform in SE for a long time... but it's a rather large/advanced feature!

I (might) have fixed the bug with the waveform mouse-over crash: http://www.nikse.dk/se/SETest.rar

I think it looks pretty cool - when working... ;)


I'm very glad you found the time to implement the waveform (as I requested a couple of times :P )

************** Texto de la excepción **************
System.IO.FileNotFoundException: No se pudo encontrar el archivo 'C:\Users\Kerensky\AppData\Local\Temp\tmp221.tmp.wav'.
Nombre de archivo: 'C:\Users\Kerensky\AppData\Local\Temp\tmp221.tmp.wav'
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
en Nikse.SubtitleEdit.Logic.WavePeakGenerator..ctor(String fileName)
en Nikse.SubtitleEdit.Forms.AddWareForm.ReadWaveFile(String targetFile)
en Nikse.SubtitleEdit.Forms.AddWareForm.buttonRipWave_Click(Object sender, EventArgs e)
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

After clicking in "Generate wave-form data" (the peak file modification, I guess)

Share this post


Link to post
Share on other sites

Posted


I've wanted a waveform in SE for a long time... but it's a rather large/advanced feature!

I (might) have fixed the bug with the waveform mouse-over crash: http://www.nikse.dk/se/SETest.rar

I think it looks pretty cool - when working... ;)



I think it is a good ideea.
I worked with VSS just a little bit and I was impresed about.
But there, you can adjust lines timing just draging one by one, working just on start / finish times.
Maybe, just maybe, if someone could handle lines so you can select a line as a whole, so you can make changes not only to start or end position.

Keep going, you are doing a good job!

doc.

Share this post


Link to post
Share on other sites

Posted


I'm very glad you found the time to implement the waveform (as I requested a couple of times :P )

************** Texto de la excepción **************
System.IO.FileNotFoundException: No se pudo encontrar el archivo 'C:\Users\Kerensky\AppData\Local\Temp\tmp221.tmp.wav'.
Nombre de archivo: 'C:\Users\Kerensky\AppData\Local\Temp\tmp221.tmp.wav'
After clicking in "Generate wave-form data" (the peak file modification, I guess)


Hi Kerensky!

Do you have VLC media player 1.1.x installed?

This is the command line used to extract the audio wave file: vlc.exe -I dummy -vvv " + SourceVideoFileName + " --sout=#transcode{vcodec=none,acodec=s16l}:file{dst=" + targetFile + "} vlc://quit"

New version up: http://www.nikse.dk/se/SETest.rar

Share this post


Link to post
Share on other sites

Posted

Hi doc!


Maybe, just maybe, if someone could handle lines so you can select a line as a whole, so you can make changes not only to start or end position.

What do you mean? Move line, move all lines to the left/right or what?


Keep going, you are doing a good job!

Thx, I'm trying :)

Do try latest test version: http://www.nikse.dk/se/SETest.rar

Waveform anybody?

Share this post


Link to post
Share on other sites

Posted


What do you mean? Move line, move all lines to the left/right or what?


No, no.
You worked with VSS? If it is yes, I hope you understand what I mean.
That program generates an wave form that is asociated with sub lines, sub lines that you can adjust acording to coresponding wave form (I don't have enough english words to explain that better :D )



Do try latest test version: http://www.nikse.dk/se/SETest.rar
Waveform anybody?


No, not yet.
But I'll do that.

doc.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Member Statistics

    20,611
    Total Members
    6,268
    Most Online
    Newest Member
    Mor Tuadh
    Joined 08/22/2019 6:23 PM