Joined: Sep 2006
Posts: 258
Thanks:
0
I just set this up on my laptop and for the life of me I couldn't get the snapshots to work. Spent twenty minutes playing with codecs before realizing Avisynth was the culprit.
I had grabbed an older build of Avisynth. Make sure you have the latest build. Don't grab the first link on the sourceforge download page! I installed the newer version and snapshots work fine now.
Joined: Jan 2007
Posts: 237
Thanks:
0
@ghinzdra: I managed it: you have to edit the plugin-file and change "actionSuspendCard" to "actionDelete". You can also copy-paste the below text under the comments of the file (after deleting the previous content)
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from ankiqt import mw
def init():
mw.mainWin.toolBar.addSeparator()
mw.mainWin.toolBar.addAction(mw.mainWin.actionSuspendCard)
mw.addHook("init", init)
def init():
mw.mainWin.toolBar.addSeparator()
mw.mainWin.toolBar.addAction(mw.mainWin.actionDelete)
mw.addHook("init", init)
Like this you have a Suspend button AND a DeleteFact button.
Edited: 2009-02-20, 3:23 am
Joined: Feb 2008
Posts: 101
Thanks:
0
i was trying to use this on a .vob file - but then i encoded it to an .avi using mpeg2(i think) and the snapshots worked
if avi synth doesn't work - it will give an error message - its really brief though, so i used a screenshot - thats when i found out the format was "null"
Joined: Jan 2007
Posts: 237
Thanks:
0
I use the KM-Player which like VLC does not need any codecs either. So after installing Xvid (I think) I got subs2srs produce snapshots.
Joined: Feb 2008
Posts: 101
Thanks:
0
im not exactly sure what im doing wrong, but for the 140 card deck im trying to create, it seems that 25,400 snapshots are created. I think thats every single frame. Is there something that I'm screwing up here
-thanks for the correction on the "null" issue -
Joined: Jul 2007
Posts: 236
Thanks:
0
This is a great program! Thanks for all the hard work cb4960! The interface is well designed and easy to understand, and it worked great the very first time (except I forgot to check "Make Snapshots" - but that was my own fault)
Joined: Sep 2007
Posts: 4
Thanks:
0
I have the same snapshot issue. I have a 1500 card deck and it makes like 75,000 snapshots. Any suggestions?
Joined: Sep 2007
Posts: 4
Thanks:
0
This is frustrating. I finally got the snapshots to not make 75,000 by adjusting the shift timings settings (not sure what that has to do with making snapshots but it worked), then when I tried to make a new deck with a new video file and new sub file, it does not make snapshots no matter what setting I have. It's not a codec problem because it was making snapshots before. The avs2avi runs, but only for about 10 seconds and no snapshots are produced. I've tried changing the frame rate and the size of the snapshot to no avail. The new video file that isn't making snapshot is the exact same file type with the same dimensions as the one that did produce snapshots earlier, so I'm at a loss.
Joined: Jul 2007
Posts: 2,313
Thanks:
22
I sent the link to this thread to Khatzumoto (AJATT blog) a few weeks ago. Apparently he's taken quite a shine to this program.
Also, although I don't post there, I wonder if the folks at Antimoon would like to know about this? I know that I'm going to teach my wife how to use it for Sex and the City and Prison Break for English. The idea of a Japanese lady speaking like Samantha Jones just sounds hilarious.
PS: cb4960, I know I suggested it before, but is there a way to have the program only parse selected time segments of the video? Example: First five minutes 0:00:00 to 0:05:00 to kind of "test" if the set-up is correct. Or midway 0:38:15 to 0:49:28 for videos that don't match up with the subs at various spots (video from the tv broadcast but subs from the DVD).
To be able to test out a video for the first 2 to 5 minutes though will save a lot of annoyance.
Joined: Jun 2007
Posts: 1,023
Thanks:
12
@Nukemarine
I'm glad that you're getting some use out of the program.
In response to your question, if the video and subtitles match when you play it using your favorite media player, they should also match with subs2srs. So you can put the video file and subtitle file in the same directory and then just rename the subtitle file to match the filename of the video file (sans the extension). Then just fast-forward to the part that you want to test.
Or is this not what you mean?
Edited: 2009-02-28, 11:45 pm
Joined: Jun 2007
Posts: 1,023
Thanks:
12
@thairob and duder
I have determined the cause of the problem. I will post a fixed version of subs2srs within a day.
Joined: Sep 2007
Posts: 4
Thanks:
0
Thanks cb4960! I didn't mean to sound like a whiner. I should have properly thanked you for such a great app before starting in on the complaints. Any fixes or updates are appreciated!
Joined: Jun 2007
Posts: 1,023
Thanks:
12
I just posted version 7.1 of subs2srs (see first post).
No new features. Just a fix for the annoying bug that caused subs2srs to take a snapshot of EVERY frame in the video. If the problem persists, please do not hesitate to let it be known.
Thanks,
cb4960
Edited: 2009-03-01, 12:46 am
Joined: Jan 2008
Posts: 1
Thanks:
0
hey, i really like the idea of this, however im having a bit of an encoding problem, dont know if anyone will know how to sort it out....
well im trying to use subs2srs to put simplified chinese subtitles into anki, but when i do it, the resulting deck file is just a load of garbbled mess... any idea how i can sort this out?
Joined: Sep 2007
Posts: 4
Thanks:
0
Thanks for the update, but it still won't produce snapshots for me. This is what has happened so far: I downloaded Version 7 and did a test deck by ripping subs from a DVD with VobSub and used a converted .avi of the DVD. It worked except it made like 75,000 snapshots. During the tinkering process of trying to get it to work, I did do several cancels after avs2avi started to run. (this may be part of why it doesn't work now) Then I finally got it to work by adjusting the Shift Timing setting.
I discarded that test deck and then created the folders and files for the real deck I wanted to make, but now it absolutely will not make snapshots. The audio and subtitle files work fine, and I can import them into Anki without a problem, but again no snapshots. Avs2avi runs briefly, (like 9 seconds) and it doesn't give any error or anything. The first line at the top when it starts is: FourCC: None (RGB32). Don't know if that is relevant or not. Any suggestions anyone? I'd really like to have the snapshots to go with the deck.
(Also, I thought it possibly might be the video file, so I went back and tried to use the original test deck video that had previously worked, but it also won't produce snapshots now.)
Joined: Jun 2007
Posts: 1,023
Thanks:
12
@bob2222, thairob
Please check your email.
Joined: Jun 2007
Posts: 1,023
Thanks:
12
@Nukemarine
Okay, I think that I get it now. You just need the ability to enter a start time and an end time. That should be easy enough.
Joined: Jun 2007
Posts: 1,023
Thanks:
12
@bob2222 and anyone with a similar problem,
The problem is that the subtitles [that were sent via email] are encoded in Simplified Chinese (GB2312), but subs2srs expects subtitles to be encoded using UTF-8. (Sorry, I know I didn't mention this anywhere).
So you need to convert the subtitles from GB2312 to UTF-8. If you have Microsoft Word, you can just open the file and select Simplified Chinese (GB2312) from the list. Then save the file as a text file and select Unicode (UTF-8) from the list.
Edited: 2009-03-01, 12:41 pm