RECENT TOPICS » View all
hi cb4960!
It all sounds like a police investigation, I'm curious when you'll find the killer!
In the meantime, thanks very much for the workaround, I'll try that.
This seems like a great program but Japanese subtitles are so hard to come by. I've only seen them once. It would be too difficult to subtitle an entire show on my own. Is there a place I could find them?
Why doesn't the crop feature work at all? It just seems to blow the image up to unusable proportions no matter what setting i put the crop at.
Oh I don't have time to check now, but thanks for replying back cb4960. Later this week I'll get back on it.
@Cyborg Ninja
Go here http://d-addicts.com/forum/torrents.php
and here http://www.d-addicts.com/forum/subtitles.php#Japanese for the Japanese subs. Scroll up and there are the English ones. Of course get RAW dorama's.
I'm not 100% sure but I think the ones extracted with ""Caption2Ass_mod1" may be exact J subs.
Last edited by TaylorSan (2010 July 18, 7:17 pm)
Thank you, TaylorSan. I always go to that site, even that page, but I never paid attention to the Japanese subs. I think that section must have grown a lot this past year. Do you think Caption2Ass_mod1 gives accurate subs? How does it work?
The subs from caption2ass are created from the closed captioning for the episode. The few that I have used were exact. However, in the US I've noticed that the CC don't always match up to what is being said, the dialogue is sometimes summarized. Haven't noticed this with Japanese subs though.
Glad to help. Yeah - that's a gold mine of stuff. I'm not too experienced using it, so I don't know for sure, but so far they seem exact (My girl - Jin - Real Clothes - Suano ni Narenakute).
I'm having problems getting subs2srs to go so I'm just mining vocabulary words "by hand" from Suano ni Narenakute. Later, when I get the program to work (crossing fingers) I might use it to make a listening deck that covers the stuff I've mined and studied.
Hello,
I have just released version 20.0 of subs2srs.
Download subs2srs v20.0 via SourceForge
Simplified File Inputs
In previous versions of subs2srs the user had to create a separate directory for each set of subtitles, video files, and audio files and then provide these to subs2srs. This was good for batch processing, but it turned out to be a bit of a pain and was not entirely obvious.
The current version acts a bit more as one would expect and is designed to accept a single file for each category. See screenshot below:
Batch processing is still possible (and very easy) through the use of wildcard characters. There are two wildcard characters that you may use: “*” and “?”.
* means match zero or more characters
? means match exactly zero or one character
Here is an example screenshot showing wildcards:
The Extract Audio from Video dialog is now renamed the Extract Audio from Media dialog.
Added a Lyrics option to the Extract Audio from Media dialog (as per NukeMarine's suggestion).
The Lyrics are added to each generated .mp3's ID3 Lyrics tag. The lyrics are based off of subtitle files. The timestamps in the lyrics are relative to the start of the clip.
Here is screenshot showing the new option: 
Added a Snapshot/Video Clip Dimensions Chooser.
When you click the “>” button, the following dialog will appear to help you choose the snapshot dimensions to use based on a percentage of the actual video size:
Added a settings file named settings.txt.
The settings file contains a variety of settings related to program defaults, output formats, and also contains a few hidden options whose use wasn’t quite widespread enough to put into the graphical user interface. Each setting is fairly well documented in the settings file itself. Also be sure to read the note about tokens at the top of the settings file. Many of the settings use these tokens. To get a better idea, here are the names of the current 34 settings:
default_enable_audio_clip_generation
default_enable_snapshots_generation
default_enable_video_clips_generation
default_audio_clip_bitrate
default_video_clip_video_bitrate
default_video_clip_audio_bitrate
default_context_num_leading
default_context_num_trailing
srs_tag_format
srs_sequence_marker_format
srs_audio_filename_prefix
audio_filename_format
audio_id3_artist
audio_id3_album
audio_id3_title
audio_id3_genre
srs_audio_filename_suffix
srs_snapshot_filename_prefix
snapshot_filename_format
srs_snapshot_filename_suffix
srs_video_filename_prefix
video_filename_format
srs_video_filename_suffix
extract_media_audio_filename_format
extract_media_lyrics_subs1_format
extract_media_lyrics_subs2_format
dueling_subtitle_filename_format
dueling_quick_ref_filename_format
dueling_quick_ref_subs1_format
dueling_quick_ref_subs2_format
video_player
video_player_args
fix_mismatched_lines
reencode_before_splitting_audio
Removed the Fix Mismatched Lines option from the Main Interface to reduce clutter. It is on by default.
To turn in off, edit the settings.txt file.
The video_player.txt file has been replaced by the settings.txt file.
The top, left, and right crop options were removed due to lack of use and to reduce clutter.
Changed many of the formats when generating filenames.
You may create your own formats with the settings.txt file.
Changed a few bitrate defaults and interface text and tooltips
Please let me know of any bugs that you may come across.
cb4960
Last edited by cb4960 (2010 July 19, 10:17 pm)
HerrPetersen and XiaoJu,
To solve your audio timing issues, please set reencode_before_splitting_audio = true in the new settings.txt file.
Nukemarine,
We discussed a while back about changing the audio filename and ID3 tag formats. I didn't change them to your suggestions by default, but I did the next best thing by allowing you to edit the formats yourself in the settings.txt file. Edit the following settings to suit your tastes:
extract_media_audio_filename_format
audio_id3_artist
audio_id3_album
audio_id3_title
Last edited by cb4960 (2010 July 19, 10:18 pm)
Great work as always.
Hello,
I have just released version 20.1 of subs2srs.
Download subs2srs v20.1 via SourceForge
-- New stuff (mostly related to settings): --------------------------------------------
* Added the following settings to the settings.txt file:
main_window_width Width of the main window, XiaoJu can modify this to fix his scrollbar issue.
main_window_height Height of the main window, XiaoJu can modify this to fix his scrollbar issue.
default_file_browser_start_dir The default directory to start in with the file browser.
srs_subs1_format The format of Subs1 in the SRS import file.
srs_subs2_format The format of Subs2 in the SRS import file.
srs_vobsub_filename_prefix Prefix for the vobsub filename in the SRS import file.
srs_vobsub_filename _suffix Suffix for the vobsub filename in the SRS import file.
srs_filename_format The filename format of the SRS import file.
srs_delimiter The delimiter to use for the SRS import file.
* Added a new settings tag that represents a horizontal tab character: ${tab}
* For settings that accept a string, you may specify "none" to set that setting to a blank value.
* Tag and sequence marker will not be added to import file when “none” is specified in the settings file.
* The last directory used with the file browser is passed across the dialogs.
* In the Dueling Subtitles dialog, moved the “name” section to the bottom to be more consistent with the other dialog.
-- Bug Fixes: ------------------------------------------------------------------------
* The "check actors" feature didn't work in certain cases.
* All of the trailing snapshots were the same.
* Typo in the default srs_sequence_marker_format setting.
cb4960
So, let's see... I followed the detailed installation instructions that blackmacros and avparker so kindly wrote. And it starts nicely and all but when choosing the Video source the mono subs2srs crashes... here is the terminal log
$ subs2srs
System.ComponentModel.Win32Exception: ApplicationName='ffmpeg', CommandLine='-i "/Users/..../Dorama/My Girl/My Girl ep01 (704x396 DivX6).avi"', CurrentDirectory=''
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at subs2srs.UtilsVideo.getVideoInfoStr (System.String file) [0x00000] in <filename unknown>:0
at subs2srs.UtilsVideo.getAvailableAudioStreams (System.String file) [0x00000] in <filename unknown>:0
at subs2srs.DialogAudioRipper.textBoxMediaDir_TextChanged (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.OnTextChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.TextBoxBase.OnTextChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.TextBoxBase.set_Text (System.String value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.TextBox.set_Text (System.String value) [0x00000] in <filename unknown>:0
at subs2srs.DialogAudioRipper.buttonMediaDir_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
...mono[1944] <Error>: kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
...mono[1944] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
...mono[1944] <Error>: kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid ....
Not sure if this is important but I placed the subs2srs folder with the executable inside the Progs folder. Also the Output folder is there. So, basically it's ffmpeg, Output and subs2srs inside the Progs folder which in turn is inside my Home folder...
I also kept X11 open the whole time...
By the way... Thank you for the great App! Well I did test it on Windows first but was too much hassle booting into it just for that...
And Preview is not really a must so...
Snow Leopard 10.6.4
subs2srs v20.0
shamanana wrote:
So, let's see... I followed the detailed installation instructions that blackmacros and avparker so kindly wrote. And it starts nicely and all but when choosing the Video source the mono subs2srs crashes... here is the terminal log
...
Thanks for the report.
The bad news is that is seems to work okay on Linux so I can't easily reproduce the problem.
The good news is that I have a test build for you to try that might help fix the problem, or at least narrow down the search.
Please download the test build here:
http://www.mediafire.com/?52y56ic09i9xfky
Then open up settings.txt, find the new path_to_ffmpeg_mono setting (it's at the bottom) and set it to the FULL path of the ffmpeg executable.
Example:
path_to_ffmpeg_mono = /usr/bin/ffmpeg
After that, start subs2srs and see if it still crashes.
Thanks.
Just wanted to ask about the effectiveness for people using it. Obviously it's really hard for people at first maybe because there are so many words they don't know. By the end of finishing an entire episode do you feel more confident? What I'm trying to ask is do you feel it's a big hurdle at first but as your vocabulary and knowledge increases it goes faster and becomes more efficient? Obviously it's a great tool. I want to use this and slow down on Kore for a bit so I can focus on more conversational language. It's going slow though because I have to look almost everything up.
cb4960 wrote:
Then open up settings.txt, find the new path_to_ffmpeg_mono setting (it's at the bottom) and set it to the FULL path of the ffmpeg executable.
Example:
path_to_ffmpeg_mono = /usr/bin/ffmpeg
Hmmm...
Thanks for the prompt reply but... this is what I get after entering that command...
$ path_to_ffmpeg_mono = /Users/shamanana/Progs/ffmpeg
-bash: path_to_ffmpeg_mono: command not found
O.o?
shamanana wrote:
cb4960 wrote:
Then open up settings.txt, find the new path_to_ffmpeg_mono setting (it's at the bottom) and set it to the FULL path of the ffmpeg executable.
Thanks for the prompt reply but... this is what I get after entering that command...
$ path_to_ffmpeg_mono = /Users/shamanana/Progs/ffmpeg
-bash: path_to_ffmpeg_mono: command not found
O.o?
He said you should change that setting in the settings.txt file, not try to run it as a command line...
Ooops.... I am obviously clueless ^^;;; So, I did that and then I ran subs2srs...
Here is what I get... it does open up in X11 but...
$ mono /Users/shamanana/Progs/subs2srs/subs2srs.exe
X does not support your locale
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
So, where did I s...w up now... ![]()
shamanana wrote:
Ooops.... I am obviously clueless ^^;;; So, I did that and then I ran subs2srs...
Here is what I get... it does open up in X11 but...
$ mono /Users/shamanana/Progs/subs2srs/subs2srs.exe
X does not support your locale
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
So, where did I s...w up now...
Hmm. There shouldn't be anything in the test build to cause that (I just added the new setting, honest).
Maybe try again?
Last edited by cb4960 (2010 July 24, 12:34 pm)
CB,
I haven't used it yet, but I was going to alter the setting to "audio_filename_format" based off the line number (I assume this is "simulated" when splitting audio into time segments). My question is why is says not to use the line segment number? Again, I haven't attempted it yet by going against the warning so apologies ahead of time if it works but is recommended not to do it.
Again, this is just to create a sequential filename format. Ex: Magerarenai_Onna_01_08.mp3 and the best setting to create that effect.
PS: Outstanding update. Allowing users an easy way to do one file is the best way to go for the common user. More advanced users can use the bulk format, and shouldn't have to much issue with it.
Hello,
I have just released version 20.2 of subs2srs.
Download subs2srs v20.2 via SourceForge
Just bug fixes, nothing new.
* Fixed a bug in the Extract Audio from Media dialog that produced empty .mp3 files.
* ${sequence_num} and ${total_line_num} can now be used in the Extract Audio from Media dialog format settings. (thanks Nukemarine - I think you meant ${extract_media_audio_filename_format} not ${audio_filename_format}).
cb4960
Here I go again... this time with the Windows related error since there is greater chance of fixing it ![]()
Just downloaded the newest version and dropped it into Program Files (x86) just like the first version that worked. So beside the version I haven't changed anything. I keep Windows on one partition... system and all the files.
I am really interested in this lyrics thing for iphone so first thing I do is use Extract Audio from Media Tool. I select all the choices necessary then hit the Extract Audio and the error that comes up is:
"The System cannot find the drive specified."
So I go to the regular subs2srs extraction, choose all the options and hit Go!
Error this time is...
Something went wrong while generating the audio clips.
System.ComponentModel.Win32Exception: The system cannot find the drive specified at
System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startinfo)
at subs2srs.UtilsAudio.ripAudioFromVideo(String inFile, String stream, DateTime startTime, DateTime endTime, Int32 bitrate, String outFile, Boolean showConsole)
at subs2srs.WorkerAudio.genAudioClip(WorkerVars workerVars, DialogProgress dialogProgress)
at subs2srs.SubsProcessor.bw_DoWork(Object sender, DoWorkEventArgs e)
This starts right at the beginning of the extraction...
So, what am I doing wrong this time.
Btw, I am using Windows7 64bit but that didn't seem to be the problem in the past...
Thank you again and sorry for all the errors ![]()
shamanana,
I created a new test version for Windows that will attempt to call ffmpeg in several different ways before returning an error.
You can download it here:
http://www.mediafire.com/?y2a1318ys1vnn92
Please let me know if it works for you.
Thanks.
Is it not possible to use this with .net framework 4? I had to downgrade it to 2.0
cb4960 wrote:
http://www.mediafire.com/?y2a1318ys1vnn92
Please let me know if it works for you.
m(__)m \(^o^)/
And if that wasn't explicit enough...
It works beautifully!!!
Thank you again!!!
And again!
airiholic wrote:
Is it not possible to use this with .net framework 4? I had to downgrade it to 2.0
Use 3.5 instead, it's still the widely used standard, though it should be moving over to 4.

