Log in

View Full Version : I intend to rip a lot of anime, so adding subtitles is unavoidable. Currently I rip the DVD using Sm


madoka
8th February 2002, 01:25
I intend to rip a lot of anime, so adding subtitles is unavoidable. Currently I rip the DVD using SmartRipper, with audio demuxed to a separate file. I then pass the processed VOB file through DVD2AVI and AviSynth (using MPEG2DEC.dll). Finally, I open the avs script with VirtualDub, and add the audio, and subtitles with VobSub.

The problem is, very rarely does the audio, video, and subtitles match, which usually means I offset the subtitles and the audio, then playback the result. Playback is usually very choppy,which means the process is more guesswork once the offsets are less than 200 ms. What I usually end up doing is encode a few short sections to see if things match.

What I want to know is, what's causing the slowdown? Usually video / audio processing requires a lot of RAM and processing power. I got 1 GB of RAM and 1.2 GHz PIII, which isn't shabby IMHO.

manono
8th February 2002, 02:02
Hi-
I don't know if you've discovered the many excellent guides on this site, but you should read a few of them.

Nice quote. Sounds more like Groucho Marx.

madoka
8th February 2002, 12:21
Originally posted by manono
Hi-
I don't know if you've discovered the many excellent guides on this site, but you should read a few of them.


Well, I've read most of the guides, but I don't think any mentions how processor intensive the components are.


Nice quote. Sounds more like Groucho Marx.

Thank, but you're mistaken. Actually both of us are: I didn't quite get the complete quote, but Albert Einstein did say it. Here's the reference I found (http://www.bartleby.com/63/63/4563.html). And you see I've updated my quote accordingly. :)

manono
8th February 2002, 14:47
Hi-

Your computer is plenty fast, so your problem lies somewhere else. That's why I suggested the guides, as it sounds as if there's something fundamentally wrong with the ripping method. You mentioned using an .avs. Does that mean you're using Gordian Knot to generate it? If not, I might suggest doing so, as it doesn't make mistakes. It'll do the subs for you as well. It'll also handle the audio, but I prefer to do that myself. GKnot is available as a link from Doom9's downloads page.

One way to generate asynch is not to use Movie Mode in Smart Ripper. Are you using DivX 4? Could it be a player issue? You tried other players?

I meant that the humor sounded more like Groucho's (although the full version sounds less so). I didn't know Einstein's humor was so impish.

madoka
8th February 2002, 18:56
Originally posted by manono
Hi-

You mentioned using an .avs. Does that mean you're using Gordian Knot to generate it? If not, I might suggest doing so, as it doesn't make mistakes.

I've not tried Gordian Knot yet, but I doubt I made a mistake in the avs script, for AviSynth would bark. Here's the setting I usually use:

LoadPlugin("decomb.dll")
LoadPlugin("mpeg2dec.dll")
mpeg2source("blah.d2v")
Telecide()
Decimate(5)

I leave out Telecide and Decimate when I try to align the subtitle with the audio / video, since it makes playback a little bit faster. I also made sure that I used YUV color space in DVD2AVI. But VirtualDub is still only able to blit out about 10 frames a second.

[B}
One way to generate asynch is not to use Movie Mode in Smart Ripper. Are you using DivX 4? Could it be a player issue? You tried other players?
[/B]
I always use movie mode in SmaartRipper, for I usually only rip one episode at a time. And yes I usually use DivX 4, since I'm not quite comfortable using Nandub yet. Finally, I found the culprit for audio not syncing correctly: I used to always offset the audio track by the amount SmartRipper indicated. It turned out that it's not needed. Makes me wonder why it's there...

manono
9th February 2002, 02:30
Hi Again. I've found that ripping the episodes separately (when they're one long stream on the DVD) is more trouble than it's worth, particularly when there are subtitles involved.

I've found it much easier to get the whole thing at once and split afterwards. The only thing you have to watch for is to make sure there's a keyframe in between each episode so you can make a proper split. Gordian Knot is very good for this as it allows you to insert keyframes manually in between the passes. In addition to not having synch problems when doing it this way, you'll also have even quality throughout the episodes. That is, if you split in advance, and then make each episode at 175MB or 233MB, the quality will vary among the different episodes, depending mostly on the amount of action in each episode. Just my opinion, though. Different people do it differently.

madoka
9th February 2002, 03:51
Today I tried the same setup on a friend's Athlon 1400, and playback in VirtualDub is much smoother! If I disable Telecide and Decimate, it's almost playing back in real time, making aligning subtitles a breeze. So I thought processor is the bottleneck, but I also noticed that his computer doesn't encode DivX much faster than mine (around 10 fps). Perhasp the bottleneck is more obscure?

I'll try Gordian Knot once I get back. If it relieves the need of aligning subtitles manually, then playback performance in VirtualDub would be less important.