Log in

View Full Version : an accurate way of cutting avi's?


shpanks
3rd October 2002, 07:32
I recently ripped an anime dvd consisting of four episodes on the 1 disc (neon genesis collection 0:1). I ripped it using gordionknot and consequently i have the whole thing in one avi; however i wish to split it up into four parts. When i tried to do it myself i got so far as to split the first episode accurately (using nandub markin/markout). But when i tried to do the second and furthermore third and fourth the output became inaccurate. i set the mark in at the start of the intro for the second episode and the markout at the end of the outro; but when it finished processing i played-back the file and it starts about five seconds before the start of the intro or sometimes it has a freeze frame with music going and then it snaps to the picture synced but 5 seconds into the intro.

Is there anyway of accurately doing this. Some guy on irc suggested to change the container formate to .ogm, i tried this but when i playback the output it says to download the franhouffer codec (i presume it's the mp3codec) and then when it's finished downloading it says,"downloaded but still doesn't work try restarting" (i restarted but no luck) so i'm left with video and no sound :(. I also tried reading some of the nandub cutting guides on this website but they refer to cutting in keyframes before so and so megabytes and there's no keyframes at the exact start and exact end of the episodes so basically it's as good as marking in and out.

Can anyone lend a hand to a helping hand to an old buddy or even some assistance with the .ogm stuffs.

shpanks

vorbis
3rd October 2002, 09:01
did you try cutting it with vdub 1.10? Is the file divx 5 with bframes enabled? Nandub can have problems reading those in a proper linear fashion. Try cutting with vdub, by using the home and end keys. Seems to work for me.

shpanks
3rd October 2002, 10:13
i'm using div3.11 and someone told me (either that or i read it here) that u can only cut in keyframes iwth virtualdub and nandub; u said use the home and end keys to cut thats just the same as setting mark in and mark out just with hot keys.

manono
3rd October 2002, 10:47
Hi-

You can cut only at keyframes. Because of those fadeins-fadeouts of NGE, it doesn't set keyframes at the end of each episode. You could start over and rip by chapters. You could reencode between each keyframe where you want to split and set keyframes more often and then splice them into the .avi and then split again (did that make any sense?) You can reencode each episode separately using the Trim command, join them all together when done for the purpose of adding audio and then split again. There are lots of ways to do it. But the fact remains that you can only split at keyframes.

shpanks
3rd October 2002, 16:11
thanx 4 your reply-

so lemme get this straight, even if i was to convert it to .ogm i can still only split at key frames? whats this trim command u refer to? trimming, is that splitting the vobs into episodes or something?? Is there anyway with what i've got to just split it without encoding, can i just add a keyframe or something (oops that would b encoding wouldn't it ;))

dangit why are the most important things so hard... :confused:

JasonFly
3rd October 2002, 17:09
I think you could also cut with a "new tool" named AVImuxGUI.
I haven't used it to cut multiplexed avi but I think it could do it.
But this doesn't change that you should cut on keyframes.

manono
3rd October 2002, 19:23
Hi-

I don't know anything about .ogm-sorry. You might try in the New A/V Forum where they discuss it.

As for Trim, it enables you to split up the .avs for (in your case) encoding each episode separately. Say, as an example, the whole 4 episodes total 100,000 frames after IVTC (assuming it's an NTSC DVD), and each episode is 25,000 frames long. Then to trim the first episode (which you were able to split), you add Trim(0,25000) as a new line near the bottom of the .avs, and Trim(25001,50000) at the bottom when encoding the second episode and Trim(50001,75000) for the third, and Trim(75001,0) to encode the fourth episode. You find the exact frames to split by loading the original .avs into VDub. You adjust the file size to, say, 175MB for each episode. Then when all done, use the Append Command in Nandub to join them all back together, add the Audio, and split again. Good Luck.