This page has been robot translated, sorry for typos if any. Original content here.

How to make DVDRip + How to cut video files

On the page:

Как сделать DVDRip + Как порезать видео-файлы

How to make a DVDRip

  • 1. This is not an "instruction for professionals", but tips on how to quickly make DVDrip really with DVD quality. To my regret, "professionals" always spoil the quality
  • 2. This is not an object for criticism. I was criticized a lot and fruitfully, but none of the critics could make DVDs better than mine
  • 3. No one is obliged to do as I recommend - rippers can have valid reasons for getting worse results while increasing costs.
  • 4. The method is applicable to the "correct" DVD - these include most PAL-drives and the majority of NTCS disks. To the "wrong" disks, my recommendations generally do not apply.
    • What we need to create a good DVDRip:

      Virtual Dub MPEG2 Rus ( A selection of plug-ins, instructions, localization and a lot of interesting ... In addition, a 64-bit version of the program is available, it is optimized for AMD processors Athlon 64, AMD Athlon FX, AMD Opteron, and Intel Xeon EM64T.To start this version, you must have a 64-bit version of Windows installed. In the regular version, even if you have the appropriate processor, the program can not be launched.)


      Riping process

      1. Insert the disc into the DVD drive. Run the program DVDDecriptor and all VOB-files of the movie are copied to one VOB-file on the hard disk (for this, a checkmark in the DVDDecriptor is set). With one file - it's more convenient to work.

      2. The received VOB file is opened in VirtualDub. Several frames are being traced - if you see a "comb" on the edges of moving objects, then the disk is interlaced, and you need to understand it differently.

      If the picture is always clear (and mostly it happens, if the DVD is normal, and not 10 movies on 2 sides), then we work on.

      Select the resize filter (Video-> Filters-> Add). ALL Pal-disks have a picture stretched vertically, and NTCS - horizontally, so it is recommended to change the vertical size. The size must be changed "by eye" so that the number is a multiple of 16. Choose the approximation bicubic 0.75

      The horizontal size should not be changed (unless the black margins on the sides are removed).

      After selecting the size in the same filter, you should cut off all the black margins - if any. Well, and correspondingly trimmed the frame size at the output. If the fields are left, the coding of the boundaries will require a very large bitrate and the movie itself will look much worse. In general, we looked at the original DVD sizes and put in the RESIZE filter the same dimensions + Precise Bicubic interpolation (A = -0.75)

      Select the codec (Video-> Compression). It is recommended to choose DivX, which is either put separately, or is part of the K-Lite codec pack. Other codecs are an excuse for future curses in your address from the consumers of your rip

      Click the Configure button and set the encoding parameters. The encoding type is Fast (low quality, but fast), and Multipass-1st pass (really nothing is encoded, but it is calculated how to encode each frame better). How to choose bitrate - a little lower.

      OK, OK, then File-> Save as avi -> and write the file name.

      Check the box below "do not run this job now ..." and click Save.

      Nothing happens, and it's right - the process is queued up.

      Again go to Video-> Compression-> Configure and select the Slow and Multipass-Nth Pass coding (encode slowly and very well).

      Again File-> Save as avi -> "do not run this job now ..." - and write the name of the file, you can do the same thing, and you can do the other. Another is better if the process starts at night, and you do not want to get up in the middle of the night and say "Yes, an existing file can be overwritten" Well, of course, if there is enough disk space ...

      After that, go to the menu File-> Job Control, select the first work in the list and click the Start button.

      After that, you can go to sleep (or you can sit and watch how the progress bar moves slowly, showing the percentages of the rendered bar).

      In the morning, a decent rip is ready for preliminary (or final) yuzan.

      In general, on my PIV 940 2x3.2GHz, a two-hour rip in two passes bakes for two hours ... so if the place is there, you can put it on the night and two or three films for ripping.


      On the right choice depends on whether you just get rip "no worse than the professionals" or really rip, not inferior to the DVD.

      For the DivX codec, in general, the heuristic rule "1K per square" works. The encoding is done by 16x16 pixels, and therefore for a 720x360 movie, in general it is worth choosing the bitrate (720/16) x (368/16) = 45 x 23 = 1035. Approximately.

      If the film does not abound with fast scenes, you can reduce it to 900 (the contrast decreases slightly), which is often enough for a "single-disk" rip with mp3 sound. For XviD, the bitrate needs at least twice as much ... so I do not recommend it.

      For the "narrow-screen" movie 720x544 "need" already bitrate 1530 ... but in principle, as practice shows, enough and 1250 (higher begin to "stumble" iron DVD players with support for DivX.

      But in any case, after choosing the bitrate, you just cut in VirtualDub a piece of the movie for a couple of minutes, spend 10 minutes on two ephemera of this piece and see the result ...

      This is a theory, but in practice I started to do it differently: There is a small calculator on the bottom right of the window of the DivX codec settings. We click there, set the length of the movie, the existing bitrate of the audio track, the desired size of the rip that we would like to receive, click OK and voila: we have a bitrate that will fit the file size to the desired one. Naturally, the bears choose a larger size than 700MB, and, for example, 1400MB - so the quality is better.


      After two runs in VirtualDub you get the movie as a rule with AC3 sound. Which six-track and places is eating dofiga. And most often four tracks are just "empty" - most of the films were still shot with stereo sound (if not with mono).

      If the size of the file does not play a fundamental role, then the movie is cog-to-use. If you really need to reduce the file, the sound should be changed.

      The easiest way is to run an audio editor like CoolEdit (where I can not get any idea), select File-> Extract Audio from Video from it and point it to a freshly prepared movie. The editor rips out the stereo sound from the AC3 sound. After that, the "torn sound" is saved as mp3 Fraunhofer CBR (with a constant bitrate - so it will be easier to cut the file if needed) or VBR- if you want to make the movie as "packaged" as possible, and then "sew" a new sound instead of the old one by NanDub (old, without "escort", but it works a lot faster than VirtualDubMod and it's less buggy on this operation).

      Everything, the movie is ready.

      Right and wrong DVDs

      DVDs correctly contain a "progressive" picture (this is the vast majority of DVDs - almost all PAL and many NTSC) and - most importantly - the frame rate (framerate) is the same in the disk header and in the VOB file. This is for all PALs and about a third of NTCS disks.

      The picture affects the "appearance". A coincidence frame rate - to synchronize the sound.

      Therefore, if DVD2AVI says that the frame rate of the movie is 29.970, and VirtualDub on File-> File Information claims that the frame rate is 23.976, then the DVD is "wrong", and if done, as it is written, then the sound with the picture will almost certainly disperse. And you should not try ... How to "check" NTCS disks in advance, I do not know ... according to the statistics, the sound does not differ from the picture by 20% of the Merican DVDs ...

      on European differences I have not yet been.
      Well, the Merican discs ripen differently, let them merikan and ripuyut.


      There is a fig cloud of other technologies and programs for ripping that are "not worse". I personally like the above described personally enough simplicity with high quality of the resulting product - if the "raw materials" are at the level.


      If you do not understand anything from what I have written, then I will break the whole process by paragraphs, and we follow it ...

      • 1) Insert the DVD into the drive tray, close the drive.
      • 2) Run the program DVDDecripter, in the options we look for a tick like "split DVD" (in different versions in different ways), start.
      • 3) Having received one VOB file on the hard disk, open it in VirtualDub MPEG2
      • 4) Video -> Filter -> Add -> Resize. We put the initial dimensions along the vertical and horizontal (same as in the original DVD). If you need to trim black bars, say, above and below - cut to the eye, but so that the height was a multiple of 16. The filter mode is Precise Bicubic (A = -0.75). Click here for a button "preview", if you are satisfied - go on.
      • 5) Select the codec for compression. Video -> compression -> DivX Codec -> edit. Select here Rate control mode = Multipass, 1st pass, move the slider slightly higher to the highest speed (but the lowest quality). OK -> OK -> File -> Save as AVI ... -> Enter the name -> Do not run this job (in general, add to the queue).
      • 6) Again go to the menu: Video -> Compression -> DivX Codec -> Edit. Select here Rate control mode = Multipass, Nth pass. The slider is moved to the end, we want good quality. We click on the calculator (small in the window of the DivX settings), at the top, we set the exact duration of the movie, set the "file size" to 1400Mb (after all, and the quality will be better than in the 700-meter file, you will agree), and In the "Audio bitrate" field, you should set the bitrate of the audio that has the original video file from your DVD (you can see it by opening the DVD in Media Player Classic and viewing the video properties). All this is done because the bitrate will be substituted according to the specified and desired file size, that is, the size under the sound will be reserved. Click Accept -> OK -> OK.
      • 7) File -> Save as AVI ... -> Enter a name for the future rip (different from the previous name, for example "Super Rip by Vasya Pupkin"), tick "Do not run this job now" and click OK.
      • 8) Click F4, or File -> Job control, select in the list Job1 and "Start" and go to bed.
      • 9) Morning, we're not going to work, but we look and we marvel at our rip = = -0

      How to cut a 1400 MB movie on a piece of 700 MB so that you can write on ordinary discs

      1) We only need the VirtualDubMod program.

      2) Open the video file (I will open the movie "Island", because he likes me, and you are any other)

      Attached Image

      3) Highlighting the beginning of a 700-meter piece

      We need to allocate the first half of the file and save it, but save it so that it weighed 700 MB to do this, put the slider in the beginning of the frames and click on the arrow marked in red (clicking, we just note where the beginning of that piece is, which we will keep, the end will be noted a little later).

      Attached Image

      4) Isolation of the end of a 700-meter piece

      We marked the beginning of the piece we needed, now we must mark the end. It will be located somewhere in the center of all the frames of the film (logically it turns out that way), for the sake of soreness we pull the slider to the right side and at the same time watch the line of the program state, exactly where we look, what size do we have from the beginning of the film to the place where the slider is located. Having reached the figure of 700 MB (not necessarily accurate, only approximately), we stop:

      Attached Image

      5) Align the size

      To equate megabytes as close as possible to 700, press the jump button on the keyframe (less, or more, depending on what size the program shows to you). Due to my strabismus I got over 700 MB, namely, at 704.96 MB, so I have to go to keyframes to the left until I get a number like 700.xx, or 699, xx (which, in principle, is not critical, but it is normal for it is an industrial error):

      Attached Image

      6) Select the end of the 700-meter piece

      After seeing your approximate 700 MB (+/- 0.5Mb), we press the button to mark the end of the selection, as in the picture:

      Attached Image

      7) Preservation

      All. Now, we have essentially chosen RIGHT 700MB from the source file. it's up to us to save our selection:

      Attached Image

      8) It's mandatory to select Direct Stream Copy in the save dialog (we do not need to encode anything, just stream-by-step copying), save the first part ...

      Attached Image

      With the second piece, I think everything is clear, because the procedure is essentially the same, only the beginning of the selection is put in the place where the end of the first selection was designated, ie, without even moving the slider, just click the corresponding button to indicate ...

      In the end, I got two files:

      Island.CD1.700Mb.avi = 702Mb (not scary, on the SD it will be written exactly like 700mb) <

      Island.CD1.700Mb.avi = 700Mb

      Good luck in rippah!