I was wondering if there was a way to trim a dvd using meguIVit. For example, removing the ads at the end or encoding the extras in a different file.
Yes, the
latest meguIVit allows you to set the Start and End frame of the section to rip. I intend to allow multiple trims and a built in visual preview later, for now it's a little manual but still very easy:
- In the main meguIVit window (before you press One-Click), go to the menus, "Tools>>File Indexer".
- Drop in the first VOB of the DVD section you're ripping (the one ending in '1', usually 'VTS_01_1.VOB')
- Press "Queue". When the process finishes, scan through the vid and note down the start and end frames you want (the "Current position" number in the preview window title or press "Go to frame")
- Quit these windows and go to One-Click as normal. Enter your start and end frames into the "Custom Processing" tab. The rest is as usual.
You can of course do trimming after the encode instead. For example if you encode MKVs then MKVMerge can do it.
Also, the chapters on some of my dvd's don't get extracted right. Is there a manual way of doing this or some way to fix it?
This is a bit trickier. A typical problem is that the chapter points don't include ads at the start. So it says the first chapter starts at 0:00, but it actually starts at say 14:25, after the ads.
You can get round this manually in meguIVit, but it's not so tidy:
- In the main window (before One-Click), go to the menus "Tools>>Chapter Creator"
I added a "Menu Chapter" text box, which I use to offset the chapters so I can show the cover/DVD menus at the start. Can use this to correct offsets too.
- Browse to the IFO file of your DVD section (e.g. VTS_01_0.IFO, no drag and drop here)
- The chapter points will appear. Look to see how offset they are, for example if Chapter 1 is shown to start at 0:00:000, but you know it actually starts at 5:44:000, then it is 5 minutes 44 seconds too early.
- Need to convert that to milliseconds (timecode support is on my list of things to do). 5 minutes 44 seconds is 5x60 + 44 seconds = 344 seconds. x 1000 = 344000 milliseconds.
- Type that number (344000 in this case) into the menu chapter box.
- Browse and load the chapters again, they will now all be offset correctly.
- Save the chapters, make sure you type a '.txt' extension so they are saved in the correct format. Note that you can manually edit this file if you wish
During the One-Click process, there is a "Chapter file" box on the "Advanced Config" tab. Import your chapter file there.
The opposite problem occurs if you trim off the ads, but the chapters took account of them. Then you need the same offset, but negative. meguIVit will throw an error at you when you enter a negative number, but ignore it, it will work. Delete any chapters that have been trimmed (they will have negative offsets).
Sometimes the chapter editor just doesn't pick up the chapters correctly [it's not my code!]. Need to use a better chapter editor in that case. The most robust is ChapterXtractor. Save out in OGG format, which is what meguIVit will read in.