View Single Post
Old 1st March 2002, 03:51   #13  |  Link
philippas
∏→+∞
 
philippas's Avatar
 
Join Date: Oct 2001
Posts: 240
Here is a little faster and precise method for creating 2cd rip's with vorbis audio.

After encoding the video to Xvid, divx3 or divx4 and the audio to vorbis use nandub to multiplex the avi and the ogg file (you must replace the old dll’s with the new dll’s from the vorbis rc3 sdk, so that Nandub will work). Then open the new avi file with Nandub and do Edit> goto last keyframe, and enter the size that you want to split your cd's (a good value is 704mb for a 700mb).
After you jump to the cutting point note down the time that nandub gives you and save the parts without including the audio.

Now you've got a precise number to split your audio ogg file. Download the vorbis sdk and get the Vcut tool.
Before you use Vcut you must convert the time that nandub gave you into frames (for a 48khz output you have 1sec=48000 frames).
EDIT: Here is a formula that converts the time into the number of audio frames: 48(3600000*h + 60000*min +1000*sec +msec)
If you got downsampled the audio to 44.1khz or 32khz just replace the 48 to 44.1 or 32 respectively.
After that, in the commandline or from a batch file, type: C:\vcut C:\audio.ogg c:\part1.ogg c:\part2.ogg cuttPoint (change the paths accordingly to your case)

When the cutting is finished, you end up with 2 ogg and two audioless avi files. Now as described above and in Doom9's guides you can use GraphEdit to multiplex the above files.

Feel free for any suggestions/corrections

Last edited by philippas; 1st March 2002 at 09:01.
philippas is offline   Reply With Quote