Log in

View Full Version : settings to reencode DVDrip close to original


drunk3nrabbit
17th May 2007, 03:32
ok first off, i would like to make sure that you know that I OWN this dvd
http://i45.photobucket.com/albums/f60/drunk3nrabbit/IMG_0203-1.jpg
see

I've ripped this dvd to a small 500 MB avi file. I want to cue the video to remove the intro and outro credits. I may be using an old Vdubmod (v. 1.5.10.2), but when i do this and do a direct stream copy, it cuts the video at the nearest keyframe, but the sound is synced fine. It also erases the first few frames of where I'd like it cut, to keep the sound synced.

I Want to know what to do to reencode this, or if there is a way to use a direct stream and have it cut EXACTLY where I cut. When I try to do a full stream process, or fast recompress, i always get a file that is many gigabytes larger than what I started with. How can I keep the file the same size and quality (i know that some might be lost) as the original. I know that when I reencode an MP3 I can easily get a file that is very similar in size, not 300 MB.

thanks,
-ben+

Guest
17th May 2007, 11:12
You can't ask what's best, per forum rule 12. Please edit and rephrase your posting. Thanks!

You should process from your original DVD and not the AVIs, using an Avisynth script that will give you frame accuracy. Also, you'll avoid a second encoding generation, which will adversely impact quality. I know, the DVD is scratched and you can't do that. :)

drunk3nrabbit
17th May 2007, 11:30
Ok sorry, Fixed.

But the DVD isn't "SCRATCHED" (:p) the ripper that I have can't do that, i don't think. I'm using an old version of the ImTOO DVD ripper. Maybe it can, but the most I can do is rip specific chapters, but they don't start/end where I want them.

I'm curious about AVIsynth, what does it do? Ive read the stuff here, and on their site, but I'm not sure what types of programs It works with, VDubMod?

P.S. The DVD is an Asian Expedition, I'm taking my laptop on a trip to Japan/Bali (I don't want to take it with me).

manono
17th May 2007, 12:39
Unless the AVI has VBR MP3 audio (which VDub doesn't support), the newer versions of Virtual Dub have a "Smart Rendering" capability. You can cut on any frame you like and it will reencode only the part between the keyframes, leaving the vast majority of your AVI untouched.

I'm curious about AVIsynth, what does it do? Ive read the stuff here, and on their site, but I'm not sure what types of programs It works with, VDubMod?

You can frameserve into most encoders, and all the decent ones, as far as I know. Including VDubMod.

drunk3nrabbit
18th May 2007, 03:44
ok thanks, i figured it out on my own. it will never cut where i want it, never. but i did figure out how to reencode it with out it becoming 6 gigabytes

manono
18th May 2007, 07:44
it will never cut where i want it, never.
Did you not understand what I wrote? The newer versions of Virtual Dub (not VDubMod) can cut on any frame, including between I-Frames:
1.7.0 is the new experimental version, and the first officially released version of VirtualDub to be built with Visual Studio 2005 Professional. In addition to the fixes that are in 1.6.17, it contains a number of new features, most notably smart rendering and filter blending. Smart rendering allows frame-precise editing of compressed video by only recompressing small sections around edits, with the rest of the frames copied in Direct mode.
http://www.virtualdub.org/blog/pivot/entry.php?id=131

drunk3nrabbit
19th May 2007, 00:54
edit actually i just opened the reencoded file. I have used VDub 1.7.0 and 1.7.1 and neither proformed like the quote said. is there a way to enable smart rendering?

thanks

manono
19th May 2007, 03:40
See if this helps:

http://forum.videohelp.com/topic327716.html#1691999

He chose XviD in his example, but you'll have to choose whatever the codec for your video is.

drunk3nrabbit
19th May 2007, 05:33
It says that I should change the codec to XviD (same as video) and set the target quantizer to one. but then it says select direct stream copy,which makes the processing and smart processing options are grayed out.

I used full processing, normal and fast with the same settings. Well it cuts exactly where I want it to, that's great, but the whole video it VERY shuddery.

manono
19th May 2007, 06:54
It didn't say to use a Target Quantizer of one, and I'd probably use 3. Nor did it say to Direct Stream Copy it. It said most of it will be Direct Stream Copied. As you found out, you can't Smart Render using Direct Stream Copy. You have to use either Fast Recompress or Full Processing. If I were you, I'd try again using Fast Recompress. If you still get stuttering video, I can't help, as most of the AVI will be the exact same as the source (i. e., Direct Stream Copied). Are you sure you're not applying any other filters, whether in the XviD Codec Configure or in VDub, even a crop or resize? If so then the whole thing gets reencoded.

Edit: I don't know if this relates to your jumpiness problem or not. If it's happening only at or near the join places, it could be the AR flag getting messed up, and you'll have to reset it using MPEG-4 Modifier:

http://forum.videohelp.com/topic325116.html#1675948

setarip_old
19th May 2007, 07:19
@drunk3nrabbit

Hi!

Considering all the trouble you're having, I'd strongly suggest you re-rip your DVD - and use DVD Shrink in "Re-author" mode to VERY SIMPLY eliminate the intro credits and end credits - and then convert/compress to .AVI...

drunk3nrabbit
19th May 2007, 13:41
I tried again and i don't know what i did, but it works fine. Thanks manono for sticking through my newbishness!

the studdering came from wmp11, in vlc its fine

-ben+

manono
19th May 2007, 15:06
I'm glad you got it solved, because I was about out of ideas. Of course, setarip_old and, earlier, neuron2, had the best ideas; start over and cut the beginning and end before doing the encoding. There are a number of ways to do that.

But you've also learned how to do something that may come in handy in the future.