Log in

View Full Version : DVD to mp4 with subtitles using AVISynth


mshemons
21st November 2007, 00:18
Ok, so here's the deal. I'm trying to go from several DVDs to my ipod. The rub is that several of these are foreign DVDs and I of course would need the subtitles. I know that the iPod does not have a subtitle filter so I will have to burn these in. The trick seems to be doing this in the fewest amount of steps possible.

What I have been doing up to now is using DVD Decrypter to go to a solid VOB file, then using Videora to convert to .mp4. This has worked great. What I want to do now is take these solid VOB files I'm creating and, using AVISynth, add a subtitle filter. Videora would the read the AVS file and then I could batch all of these DVDs tonight.

The thing is when I try and use a VOB file in an AVS file I keep getting the wrong length. For instance: I just tried playing one of these AVS files in Media Player Classic and I get a time of 53:24. Audio stays synced throughout the file, file is playing back at 29.97, file ends where it should. Very strange. I then load the AVS file in VDub and get a length of 1:22:13. I load the original VOB in VDubMpeg2 and get a length of 2:03:43 (which is correct).

What is going on here? I haven't tried processing on of these AVS files all the way through to see what kind of .mp4 is spits out, but am I going about this the right way? I don't want to go to an intermediary format - I want to go straight from VOB to .mp4 and burn the subtitles in along the way. Is there an easy (and free!) way to do this?

Leak
21st November 2007, 12:37
The thing is when I try and use a VOB file in an AVS file I keep getting the wrong length. For instance: I just tried playing one of these AVS files in Media Player Classic and I get a time of 53:24. Audio stays synced throughout the file, file is playing back at 29.97, file ends where it should. Very strange. I then load the AVS file in VDub and get a length of 1:22:13. I load the original VOB in VDubMpeg2 and get a length of 2:03:43 (which is correct).
Exactly how do you "use" these VOB files in your AVS script? The correct way would be to use DGMpgDec or (probably) ffmpegsource, then using VSFilter to burn in the subtitles...