Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

When a DVD is ripped to a file on a computer the dark scenes typically get compressed to the point of illegibility; huge squares of black are all set to the same value, removing all the detail. This is often seen in video files posted to the internet.

I get why it happens; The difference between two shades of black is quite easily to perceive, but to the compression algorithm it is a tiny difference, so the two shades are set to one value to save space.

However, this effect is obviously avoided on the DVD itself. How do they do this, and why don't the compression methods used when ripping the DVD to a file also do this? I mean, the DVD format and codecs are old, far older the the ones used online today. So why does this problem appear when ripping the file?

Could be the compression of the codec you're using while "ripping". Make sure the kb/sec is not set too limited.
–
user2714Aug 1 '12 at 18:12

1

Strictly speaking, ripping is the process of pulling data off the disc. If the video ends up in another codec, you have been transcoding the video as well. Transcoding is the likely source of the blockiness.
–
ObscureRobotAug 4 '12 at 15:49

1 Answer
1

A single layer DVD has about 4.5 GB of capacity, a dual layer DVD has about 8.5 GB of capacity. Some of this space is taken up by menus and special features, but that still leaves plenty of room for video with minimal compression.

Take a look at the "blocky" videos - they have probably been re-compressed down to 700MB (so they can fit on a CD-R blank) or 1GB (because people love round numbers). Shrinking the video down requires more aggressive compression settings, which results in lower quality video. Sometimes this lower quality exhibits itself in terms of large blocky dark regions.

The other issue is that the compression algorithms used on DVD video are lossy. When you transcode to a lower bitrate codec, the software uncompresses and then recompresses the video. Since the compression is lossy, the uncompress step recovers imperfect video, and that imperfect video is then compressed. This slightly compounds the quality problems.

If you want to make a perfect copy, just rip out the original video. Don't transcode it to a new format.

The problem with this, is that overly compressed video tends to have artifacts throughout it. These files only have artifacts in the dark regions, and even then light areas in the dark region are fine.
–
CanageekAug 4 '12 at 14:33

Overcompression isn't a binary thing. If you pull off the original file and never transcode it, the video quality won't change. You are either transcoding the video to a codec with similar quality settings (causing mild degradation) or turning up the compression.
–
ObscureRobotAug 4 '12 at 15:48

So why does it hit the black areas first?
–
CanageekAug 5 '12 at 14:32

1

The effect happens everywhere, but the human vision system detects differences in black shading before it detects differences in colors. It is also possible that your display's Gamma curve is set such that it exaggerates small differences in black level.
–
ObscureRobotAug 5 '12 at 18:26