Use subs2srs to Create Anki Decks Based on Your Favorite Movie or Show

Index » Learning resources

Reply #776 - 2011 July 10, 6:36 pm
nest0r Member
Registered: 2007-10-19 Posts: 5236 Website

Good to know, thanks.

Reply #777 - 2011 August 15, 10:47 am
perrin4869 Member
From: Osaka University Japan Registered: 2010-05-08 Posts: 14

cb4960: Thank you so much for the amazing software!

I don't know if someone proposed it already, but what this software really needs is the ability to merge subtitles. Most of the time when I add cards from anime into the SRS, I want multiple lines to be included in the same card, and right now to get around it is quite the hassle. I got around it by editing the subtitles themselves, just joining them with an editor, but native support, possibly in the preview screen would be a huge advantage.
Thanks for sharing the software!

Reply #778 - 2011 August 17, 5:24 pm
natassja New member
From: England Registered: 2010-11-02 Posts: 4

this program is awesome! I've only just started trying it out so sorry if this has already been covered, but due to the inexact and unobtainable nature of jpn subs, is there any way to alter this to make the jpn subs not required, i.e just going from audio or video to eng subs? I realise that kinda half defeats the point but would be good listening practice. Thanks!

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Puchatek New member
From: Singapore Registered: 2010-04-12 Posts: 5

Absolutely amazing software!

One thing though - on my not all that ancient PC processing even 5mins/80 cards worth of video with sub2rs with a window size of 352*202 pix takes good half an hour. Now I'm not a great programmer, but I wrote a decent number of image processing applications in the past and don't quite see why would it be THAT time consuming, most of software that only slightly alters video is able to run things quicker than it takes to play the video itself. Should I really expect the process to take that long, or is it perhaps something to do with settings that I can adjust?

My machine has a 2ghz processor, meagre 64mb RAM, and runs Vista. I'm asking sub2srs to create a deck spanning 5 min, some 80 cards, with videos in 352*202 pix resolution. I supply it with a video in avi format, resolution of some 750x540 pix (roughly, I'm at work now, so can't check it exactly) and subtitles in text format.

Any ideas here? I can live with such a long processing time, it's not like I need to be in front of the PC doing nothing else but staring at processing bar the whole time, but it just doesn't seem right to me. Ah, the bit that takes so long is when a console window comes up and writes out messages about frames, I guess that's the ffmpeg part. Also sub2srs runs in a very reasonable time when asked to work just on audio and snapshots.

Last edited by Puchatek (2011 September 09, 2:23 am)

overture2112 Member
From: New York Registered: 2010-05-16 Posts: 400

Puchatek wrote:

My machine has a 2ghz processor, meagre 64mb RAM...

I assume the 64mb of ram is a typo?

Note, if you have multiple cores and the memory to support it, you can run multiple instances of subs2srs now.

Puchatek New member
From: Singapore Registered: 2010-04-12 Posts: 5

Overture - worse, I'm slowly falling into dementia and messing up RAM and video card RAM... uhkm... anyway, the machine has 3GB RAM, 64mb dedicated RAM video card.

In the past I wrote on this laptop an application in OpenCV which resized a video to a quarter of its original size and saved that to disc, so essentially same thing as what I'm asking sub2srs to do. It run real time, taking as input image from a camera, and displaying it on the screen in both original and decreased resolution + saving on the disc, all without any visible lag, so I'm really surprised at the amount of time sub2srs is taking to extract videos. Makes me suspect there's some setting somewhere that makes things so slow - something like copying say 50 frames per second (just an impression I got from looking at the console window in action) rather than 20 or so that would be perfectly fine for srs cards. Any ideas here?

Last edited by Puchatek (2011 September 10, 6:29 am)

ems573 Member
From: 仙台市 Registered: 2010-03-26 Posts: 46

Hey guys,
I used the instructions provided in this post to get s2srs working on my mac, and it works great exept snapshots seem to not be getting generated. Anyone else experienced this problem on the mac?

ta12121 Member
From: Canada Registered: 2009-06-02 Posts: 3190

overture2112 wrote:

Puchatek wrote:

My machine has a 2ghz processor, meagre 64mb RAM...

I assume the 64mb of ram is a typo?

Note, if you have multiple cores and the memory to support it, you can run multiple instances of subs2srs now.

I hope that's a typ, I have 6gb ram, 6mb would be deadly slow

Reply #784 - 2011 October 15, 7:50 pm
cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

Hello,

I have just released version 24.0 of subs2srs.

Download subs2srs v24.0 via SourceForge

What Changed?

● Upgraded FFmpeg to version 0.8.5. Due to this, subs2srs processing is now over 2.5 times faster on my machine than it was in the previous version.

● Removed the FFmpeg window that popped up when audio or video was processed. Instead, the progress dialog is now more detailed. Also, you no longer have to close the FFmpeg window manually when you want to cancel processing.

● Moved the subtitle encoding option from the Advanced Subtitle Dialog to the main interface. Now, either the encoding option or the vobsub stream option will appear depending on subtitle type.

● Removed the Pre-Time Shift.

● Renamed Post-Time Shift to Shift Timings.

● Added the number of minutes processing took to complete in the popup that appears when processing is finished.

● Added colored text to make it slightly easier to see which fields are required and which are optional.

● In settings.txt, replaced force_legacy_ffmpeg with ffmpeg_version.

● The Advanced Subtitle Options... button is now displayed as a link.

● In the documentation, replaced Windows XP screenshots with prettier Windows 7 screenshots.

Note: I didn't have time to add Linux support for this version yet. I'll try to add it soon.

cb4960

Reply #785 - 2011 October 16, 1:22 pm
keikei Member
Registered: 2010-12-08 Posts: 63

great update. I'd love to use the video feature now that the processing is 2.5 faster. it's just... videos & anki dont work well together for several reasons.

any chance you could include the subtitles into the videos (optional hardsubs/embedded)? first sub in white and the second in yellow beneath, for example.
you could just watch the hardsubbed videos on your tv/pc/ipod without anki and still have exposure to Kanji, not just video/audio. that would be pretty awesome, especially when you're semi- busy doing something else. I hope the hardsubing process is not too complicated.

I also just tried the shift timings feature. its pretty cool but it shifts both Start AND End times. Most subtitles tend to start with some delay so subs2srs cuts out the beginning of the sentence quite often. I used to ignore most vocab that comes at the beginning because it usually doesn't have audio. Being able to shift start times only (-500 default for example) like in aegissub would be very helpful.

thanks again for 24.0!

Reply #786 - 2011 October 16, 4:15 pm
cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

keikei wrote:

any chance you could include the subtitles into the videos (optional hardsubs/embedded)? first sub in white and the second in yellow beneath, for example.
you could just watch the hardsubbed videos on your tv/pc/ipod without anki and still have exposure to Kanji, not just video/audio. that would be pretty awesome, especially when you're semi- busy doing something else. I hope the hardsubing process is not too complicated.

You can use the Dueling Subtitles feature to create the subtitles and then read this guide to learn how to create hardsubs.

keikei wrote:

I also just tried the shift timings feature. its pretty cool but it shifts both Start AND End times. Most subtitles tend to start with some delay so subs2srs cuts out the beginning of the sentence quite often. I used to ignore most vocab that comes at the beginning because it usually doesn't have audio. Being able to shift start times only (-500 default for example) like in aegissub would be very helpful.

You can use the Pad Timings feature. To shift the start times only, enter a positive value into the Start field and enter 0 into the End field.

keikei wrote:

thanks again for 24.0!

You're welcome.

Reply #787 - 2011 October 18, 4:14 am
Mesqueeb Member
From: Japan Registered: 2008-10-14 Posts: 253 Website

Any chance we'll get a Mac version in the future or not? ^^

There are 3 programs left I still need to use windows for, subs to srs being one of them. ^^

Great program by the way, until now you have made my life so much easier!

Reply #788 - 2011 October 18, 4:22 am
Mesqueeb Member
From: Japan Registered: 2008-10-14 Posts: 253 Website

Ok I should have checked the previous page.
^^


cb4960 wrote:

Here are some posts from members who got it working on mac:

http://forum.koohii.com/viewtopic.php?pid=94670#p94670
http://forum.koohii.com/viewtopic.php?pid=96090#p96090
http://forum.koohii.com/viewtopic.php?p … 81#p100581

Good Luck!

If it works, you can make it official right? ^^

Reply #789 - 2011 October 19, 5:16 pm
keikei Member
Registered: 2010-12-08 Posts: 63

cb4960 wrote:

You can use the Dueling Subtitles feature to create the subtitles and then read this guide to learn how to create hardsubs

I was hoping subs2srs could do that since it processes all the needed video/subtitle info. But I have no idea about programming smile I just thought it might be easy to include the subs into the videos.
hardsubbing so many videos seperately would take a lot of time.

You can use the Pad Timings feature. To shift the start times only, enter a positive value into the Start field and enter 0 into the End field.

oh, i entered a negative number, thats why it didnt work. ty!

can I save my own default numbers in settings.txt? I opened the file and changed the default audio bitrate successfully but couldn't find [Pad Timings, Snapshot width/height, Output Directory & Name of the deck].

File>Save works but doesn't autoload my save file like settings.txt

Reply #790 - 2011 October 19, 10:31 pm
cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

@Mesqueeb,

Since I don't have a Mac for test and support purposes I am unable to create a Mac version. If you're feeling adventurous, you can experiment with version 23.3 (the last version to support Linux). If successful, maybe you can start a new Mac subs2srs thread or put something in the wiki. Might be easier to use a VM though (hopefully Mac has some sort of free VM software). Good Luck!

Reply #791 - 2011 October 19, 10:35 pm
cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

keikei wrote:

can I save my own default numbers in settings.txt? I opened the file and changed the default audio bitrate successfully but couldn't find [Pad Timings, Snapshot width/height, Output Directory & Name of the deck].

File>Save works but doesn't autoload my save file like settings.txt

Solution:

1) Create a shortcut to subs2srs.exe.

2) Right-Click the shortcut, select properties, edit the Target field and put the name of the .s2s file to load on startup as the first argument. Example Target field:

"G:\Temp\subs2srs\subs2srs.exe G:\Temp\subs2srs\s2s\startup.s2s"

Last edited by cb4960 (2011 October 20, 1:43 pm)

Reply #792 - 2011 October 23, 6:28 am
keikei Member
Registered: 2010-12-08 Posts: 63

yay it works! thanks for your help. this will save me some time and eliminate mistakes in the number fields. sorry for all the nooby questions big_smile

Reply #793 - 2011 November 08, 6:15 pm
kisuke1 New member
From: Toronto Registered: 2011-11-08 Posts: 2

Wow! I just found your program and I must say it is genius.  It is about to make my life way easier big_smile

I was wondering if there is an easy way to merge 2 cards together?  For example when the speaker says a long sentence and the subtitle is cut in half and shown over 2 screens. It would be awesome to splice those 2 audio files back together.  It would also be good because the translation is usually the in the opposite order when it covers 2 screens.

Thanks!

(Sorry if this has been addressed already in the thread... I haven't waded through all of it yet...)

Reply #794 - 2011 November 08, 8:15 pm
cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

kisuke1 wrote:

I was wondering if there is an easy way to merge 2 cards together?  For example when the speaker says a long sentence and the subtitle is cut in half and shown over 2 screens. It would be awesome to splice those 2 audio files back together.  It would also be good because the translation is usually the in the opposite order when it covers 2 screens.

subs2srs will combine lines automatically to some extent for cases where Subs1 and Subs2 don't both have the same number of lines. But if that isn't working well enough for you, you might try manually combining the lines in the subtitle files with aegisub before processing with subs2srs.

Reply #795 - 2011 December 13, 3:45 pm
Betelgeuzah Member
From: finland Registered: 2011-03-26 Posts: 464

I'm a bit skeptical on the utility of this program. From what I've heard the language used in TV and games is very unnatural and odd-sounding compared to real spoken & written Japanese. Is there much point in learning the language in such environment, at least in the long term?

Reply #796 - 2011 December 13, 4:04 pm
axcutul New member
From: Italy Registered: 2009-06-17 Posts: 2

so... how do you learn japanese?

Reply #797 - 2011 December 13, 4:16 pm
Splatted Member
From: England Registered: 2010-10-02 Posts: 776

Betelgeuzah wrote:

I'm a bit skeptical on the utility of this program. From what I've heard the language used in TV and games is very unnatural and odd-sounding compared to real spoken & written Japanese. Is there much point in learning the language in such environment, at least in the long term?

Yes

Reply #798 - 2011 December 13, 4:40 pm
SomeCallMeChris Member
From: Massachusetts USA Registered: 2011-08-01 Posts: 787

Betelgeuzah wrote:

I'm a bit skeptical on the utility of this program. From what I've heard the language used in TV and games is very unnatural and odd-sounding compared to real spoken & written Japanese. Is there much point in learning the language in such environment, at least in the long term?

Well, if one of your goals is to enjoy Japanese media, then however odd it may be, it's what you need to learn!

Also, the 'oddity' isn't that odd - everyone in Japan can understand Japanese television, after all. It should be obvious that if you speak to someone you're romantically interested in with lines from a romance drama, you're going to sound like the Japanese version of a Harlequin Romance character. If you speak like someone from a fighting anime, you're... uh... well, going to make people think you're trying to start a fight. If you speak like someone from a period drama or fantasy RPG, well, some people do and that's how we got the word 'otaku' to mean a type of person.

It is, however, the overuse of setting-suitable terms that makes it odd, not the grammar or the majority of the vocabulary.

If you choose extremely realistic programming, you will get something much closer to natural speech. If you're really dedicated to only natural speech, then get ahold of subtitle files for interviews and documentaries.

(But don't create any flashcards based on the narrator of a documentary, he talks with unnaturally deep intonations and bookish language! Also be careful that you only choose interviews with college-educated people from Tokyo - people from outside Tokyo speak with odd dialects and people who aren't college educated are apt to use slang! :>)

Reply #799 - 2011 December 13, 5:21 pm
astendra Member
From: Sweden Registered: 2009-07-27 Posts: 350

It's not so much that the language is completely unnatural, as that it is sometimes a bit over-dramatized for effect. It's just like how in English, everyday language is not the same as what is used in something like the Lord of the Rings. As long as you keep this in mind, there should be no problems.

This doesn't mean that you cannot learn from it, either. Language in fiction is still syntactically correct, and written for natives. If they can understand and enjoy it, why shouldn't you? wink

Reply #800 - 2011 December 13, 9:18 pm
Betelgeuzah Member
From: finland Registered: 2011-03-26 Posts: 464

Thank you for the replies. I have had certain texts of interest in mind for learning purposes (mainly Japanese people talking on a forum and trying to understand them) but I will have to try out this as well. Now I don't know about any dialogue heavy Japanese TV show though. The stuff I used to watch is made for kids basically with furigana and weird settings & vocabulary...

If you guys happen to have any recommendations from an educational standpoint, it would be great to hear!