RECENT TOPICS » View all
Hello,
I have just released version 18.3 of subs2srs.
Download subs2srs v18.3 via SourceForge
Enhancements and Bug Fixes:
1) (Windows version) Upgraded ffmpeg to revision 21566.
2) Created a version 18.3 release for Linux/Mac users. However, due to unresolved issues, the preview feature has been disabled.
3) Fixed the null pointer exception that occurred when the "Check Actors" button on the Advanced Subtitle Options dialog was clicked.
cb4960
What about multiple spans??? I want them NOW!
ruiner wrote:
What about multiple spans??? I want them NOW!
v19. If you have a spare flux capacitor and some plutonium, you won't even have to wait!
cb4960 wrote:
ruiner wrote:
What about multiple spans??? I want them NOW!
v19. If you have a spare flux capacitor and some plutonium, you won't even have to wait!
OK, just got back from the future. I am now fluent in Japanese, thanks to the direct download of Japanese featured in version 200 of Subs2SRS created by billionaire cb4960's company Massive Banzainamics.
cb4960 wrote:
2) Created a version 18.3 release for Linux/Mac users. However, due to unresolved issues, the preview feature has been disabled.
cb4960
OMG, subs2srs works on Mac? That's awesome!
Thanks for all the work you put into this. どうもありがとうございます!
I can't say enough about how cool it is. I've been using the pre-made Death-Note deck, learning vocab from these decks is SO much better than boring text-books!
As soon as I get my macbook working again I'm going to try this out!
I've downloaded the Mono version of subs2srs for the Mac, then downloaded and installed Mono from here http://www.mono-project.com/Main_Page. But now I have no idea what to do next. Is mono-winforms included in what I just installed? I found a section for mono-winforms on the above site, but no download link that I could see.
As for ffmpeg I have no idea how to install that for the Mac(will ffmpegX do? It seems to be the Mac version of ffmpeg), and no idea what it means that it must be installed in $PATH.
Any help would be extremely appreciated
Last edited by blackmacros (2010 February 20, 9:55 pm)
I'm also having problems running it on OS X (Snow Leopard). I've tried both the binary image of mono 2.6.1 and the macports build (2.4.3). Back to the VM for me...
Here's a stacktrace from mono 2.6.1 and also a crash report http://pastebin.ca/1804458
Last edited by monkeymachine (2010 February 21, 4:34 am)
OK, So ffmpeg is also for the Mac, but not ffmpegX.
You can find it here: http://www.megaupload.com/?d=ZBU4FM3M
"install in $PATH" means just put the "ffmpeg" file into the same directory as subs2srs.exe
Then, just go to the terminal, type in "mono" (no quotes,) and then a space, and then drag "subs2srs.exe" onto the terminal so then it grabs the full path name of the file.
Hit "Enter" and you should be good to go.
Thanks for the link Asriel.
Should the file I download from that be a .exe? The file I'm getting has no extension, and can't be opened by anything on my Mac. I put it in the same directory as the subs2srs.exe and then ran the terminal command. The subs2srs program opens up properly (hurray) but when I select the Video directory it crashes on me (boo
).
Any ideas?
PS.
System.ComponentModel.Win32Exception: ApplicationName='ffmpeg', CommandLine='-i "/Users/David/Desktop/Temp Playlist/Tokyo DOGS ep01 (704x396 XviD).avi"', CurrentDirectory=''
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
Is the first few lines of the error I got.
Last edited by blackmacros (2010 February 21, 4:26 am)
It shouldn't have an extension. If you run it in the terminal, though, it will tell you ALL about it. Don't bother, unless you want to make sure it /does/ run.
It crashes for me when I select the video directory too....
I got the same errors as you did...but I'm not really sure what to make of them....
Edit: The only thing I can think of that's going wrong is that subs2srs is running through Mono (sort of emulating Windows), and then when it tries to open up ffmpeg, all of a sudden it tries to open up the Mac version...and since its running through Mono, it doesn't know how to handle the Mac version.
And the Windows version doesn't work either, because it's designed for windows (and not written in C#?) so then Mono can't read that one either...
I started making a somewhat platform-independent ghetto version of this, but I encountered a lot of things I didn't know how to handle...
Last edited by Asriel (2010 February 21, 4:58 am)
Asriel wrote:
"install in $PATH" means just put the "ffmpeg" file into the same directory as subs2srs.exe
Not unless "." is in your path. To check, type "echo $PATH". This will show you all of the directories that your system looks through in order to locate an executable. The "." will usually be at the end of the path.
blackmacros wrote:
System.ComponentModel.Win32Exception: ApplicationName='ffmpeg', CommandLine='-i "/Users/David/Desktop/Temp Playlist/Tokyo DOGS ep01 (704x396 XviD).avi"', CurrentDirectory=''
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
That is an unhandled exception meaning that susbs2srs can't find "ffmpeg" in any of the directories shown when you typed "echo $PATH" (I think).
Also, ffmpeg must be named "ffmpeg". No extension and no "X".
All that said, I've never personally tested subs2srs on a Mac platform so I an unable to write more detailed instructions or verify that Mono on the Mac is actually up to snuff.
Last edited by cb4960 (2010 February 21, 10:16 am)
I typed echo $PATH in the terminal, and then put ffmpg in one of those locations (/usr/bin). I still get the same error when selecting the video directory.
Ok, so I managed to find somewhere to download the ffmpg.exe and I put it in /bin (one of the directories listed by "echo $PATH").
Having done that, I opened subs2srs again and this time it didn't crash when I selected the video directory!
...except it did crash when I hit the "go" button to start the process ![]()
This was the error code
System.NotImplementedException: The requested feature is not implemented.
at System.Windows.Forms.XplatUICarbon.AudibleAlert () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.AudibleAlert () [0x00000] in <filename unknown>:0
at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon) [0x00000] in <filename unknown>:0
at subs2srs.UtilsMsg.showErrMsg (System.String msg) [0x00000] in <filename unknown>:0
at subs2srs.FormMain.validateForm () [0x00000] in <filename unknown>:0
at subs2srs.FormMain.buttonGo_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
cb4960 wrote:
All that said, I've never personally tested subs2srs on a Mac platform so I an unable to write more detailed instructions or verify that Mono on the Mac is actually up to snuff.
That's fair enough, I appreciate that you've even gone to the effort of creating a Mac port when you don't have one. Hopefully though the error message I posted above will be helpful, and the problem is a simple fix *fingers crossed*.
Last edited by blackmacros (2010 February 23, 6:34 am)
Thanks for the report, I'll check it out when I get home.
Also, it should be named "ffmpeg" and not "ffmpg" (although it was probably just a typo).
Last edited by cb4960 (2010 February 23, 10:35 am)
@blackmacros: Well there's your problem right there, the filename is unknown. Make the filename known and you're good. /expert
Last edited by nest0r (2010 February 23, 11:30 am)
Oops, no, unfortunately it was just a typo in my post. It's named ffmpeg on my computer (and I made sure to remove the .exe extension like you said)
EDIT: I'm still not sure whether I've followed the readme instructions correctly. I see that the instructions tell you to download Mono and Mono Winforms, but I haven't been able to find anywhere to download Mono Winforms. Is it included in the Mono package that I downloaded? I mention this because the error message seems to mention "Windows Forms" so I thought it might be something to do with Mono Winforms.
Last edited by blackmacros (2010 February 23, 7:02 pm)
blackmacros wrote:
Oops, no, unfortunately it was just a typo in my post. It's named ffmpeg on my computer (and I made sure to remove the .exe extension like you said)
EDIT: I'm still not sure whether I've followed the readme instructions correctly. I see that the instructions tell you to download Mono and Mono Winforms, but I haven't been able to find anywhere to download Mono Winforms. Is it included in the Mono package that I downloaded? I mention this because the error message seems to mention "Windows Forms" so I thought it might be something to do with Mono Winforms.
Winforms comes with Mono, but I think you have to do something to get it working: http://www.mono-project.com/WinForms_Ge … rted_Guide
@blackmacros
Apparently this problem is due to a bug in Mono 2.6.x for Mac.
Luckily there is a workaround as described on this page: http://n4.nabble.com/Workaround-for-thi … l#a1542638.
In short, just set this environment variable: MONO_MWF_MAC_FORCE_X11
Setting this will force Mono to use the uglier but more stable X11 backend instead of the prettier but less stable Carbon backend.
Aha thanks cb! The solution seems so close I can taste it!
...but uh...how exactly do I set an environment variable? Is it a terminal command?
And thanks for that link nest0r, it seems from looking at it that Winforms should already be installed.
Ok, one step closer to success!
I used the command "export MONO_MWF_MAC_FORCE_X11=1" in the terminal
Then I used the terminal to open subs2srs with mono.
Everything is working until I hit "Go" and then I get a popup from subs2srs saying that I need to "Please correct the error on this form". The little error triangle is next to the subs1 directory, but I can't tell what it is because the tooltip is popping up behind the subs2srs program and is partially obscured.
The terminal also gave me this error message when I run subs2srs after using the force X11 command:
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
EDIT: Oh and also, prior to me clicking the Go button, the subs1 directory has an error icon next to it saying that "the directory does not exist". But I think that after I click the Go button, the error changes to one informing me that I need to use an appropriate subtitle type (I'm using .srt which should be fine)
Last edited by blackmacros (2010 February 23, 9:55 pm)
Prior to launching subs2srs, type:
MONO_MWF_MAC_FORCE_X11=1
If you don't want to type that every time, add the following to $HOME/.bash_profile:
MONO_MWF_MAC_FORCE_X11=1
export MONO_MWF_MAC_FORCE_X11
Edit: you beat me to it
Last edited by cb4960 (2010 February 23, 9:52 pm)
blackmacros wrote:
Ok, one step closer to success!
Everything is working until I hit "Go" and then I get a popup from subs2srs saying that I need to "Please correct the error on this form". The little error triangle is next to the subs1 directory, but I can't tell what it is because the tooltip is popping up behind the subs2srs program and is partially obscured.
The tooltip could say one of the following:
1) "Directory does not exist"
2) "Please place some subtitle files in this directory"
3) "Incorrect subtitle format found in this directory. Only .srt, .ass, .ssa, and .idx/.sub are allowed."
4) "The number of .idx and .sub files in this directory must match"
Do any of these apply to your situation?
blackmacros wrote:
The terminal also gave me this error message when I run subs2srs after using the force
X11 command:
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
This is probably a non-issue.
Also make sure that there are ONLY subtitle files in the directory that you entered for Subs1.
Ok so I originally had the subs and the video in the same folder. I put them in different folders and now I'm not getting those error messages anymore.
Now when I click go, it's all working fine until it gets to "Extracting audio from video file 1 of 1"
Then an error message pops up from subs2srs saying "Failed to extract the audio from the video. Make sure that the video does not have DRM restrictions"
I'm fairly sure it has no restrictions since its just a .avi of Tokyo DOGS from d-addicts.
EDIT
cb4960 wrote:
Also make sure that there are ONLY subtitle files in the directory that you entered for Subs1.
Yeah that was the problem before I think. Silly me.
Last edited by blackmacros (2010 February 23, 10:05 pm)
Type this into your shell window:
ffmpeg -ab 96k -vn -y -i input.avi output.mp3
where input.avi is your video file.
Does it produce a file called output.mp3? If not, ffmpeg won't work for your video. In this case, extract the audio (as an mp3) with some other program and enter this mp3 in the "Audio..." field of the "Generate Audio Clips:" section.
Last edited by cb4960 (2010 February 23, 10:12 pm)

