Log in

View Full Version : Working on a PSP .vob to avc project.


Agent86
17th August 2006, 05:46
Here's what I want to do. How impossible is this?

I have a DVD that is composed of 3 segments. The first is in Japanese with subtitles, but the rest are in English.

I want to rip the first segment with subtitles, and the next two without, and merge them into one avc file for my PSP.

Is this possible? There any tutorials on this stuff? Am I about to have to spend a few more hours trying to figure out avisynth scripts? I need to rip just the first third of the movie with the subtitles, and the rest without, then take the two resultant vob files and merge/encode them into one avc file.

ilovejedd
17th August 2006, 20:15
Run the .vob files on DGIndex, decode AC3 audio track to wav (couldn't find an AC3 filter plugin for AviSynth 2.5, if you guys know of any, feel free to send me a link).


LoadPlugin("<path>\DGDecode.dll") # in DGMPGDec archive
LoadPlugin("<path>\VSFilter.dll") # search for TextSub on AviSynth plugins page

#clip 1
v1 = mpeg2source("file1.d2v")
v1 = v1.textsub("subtitle.ssa") # can be SSA (Substation Alpha), SRT (SubRip), SUB (MicroDVD), PSB (PowerDivx), SMI (SAMI), ASS (Advanced Substation Alpha), I think for .sub/idx, you use vobsub instead of textsub
a1 = wavsource("file1.wav")

#clip2
v2 = mpeg2source("file2.d2v")
a2 = wavsource("file2.wav")

#clip3
v3 = mpeg2source("file3.d2v")
a3 = wavsource("file3.wav")

last = audiodub(v1,a1) + audiodub(v2,a2) + audiodub(v3,a3)
return last


That should work... Hopefully... Then just run the script on PSPVideo9 or whatever application you use to encode which can use AviSynth scripts.