This section contains answers to questions I frequently receive by e-mail. Some of them are about common problems, others are more specific. Since they didn't quite fit into any of the existing guides, and didn't justify an article by themselves, I have compiled them here.
Q : |
How can a 4:3 DVD have a resolution of 720x576 pixels and a 16:9 (widescreen) DVD also have 720x576 pixels? Won't they have exactly the same aspect ratio? |
A : |
No. Most computer graphics modes (and, consequently, most computer graphics files) assume that pixels are perfect squares. In that situation, an image's aspect ratio can be inferred directly from its dimensions in pixels (ex., an image with 300x300 pixels will be square, whereas an image with 400x300 pixels will have an aspect ratio of 4:3). But most video formats do not use square pixels; they use rectangular pixels. Normal (4:3) video uses pixels that are almost (but not quite) square, whereas widescreen (16:9) video uses pixels that are much wider than they are tall. So the difference between 4:3 and 16:9 video images is not the number of pixels, but rather the pixels' aspect ratio. |
Q : |
I'm trying to encode 16:9 footage, but the source file appears to be 1024x576 (for PAL) or 856x480 (for NTSC), instead of the standard 720x576 (for PAL) or 720x480 (for NTSC). What's up? |
A : |
You probably have a Canopus card. The Canopus DV codec reports the wrong size for 16:9 files, in a (very misguided) attempt to force programs that don't support 16:9 to display the image correctly. A consequence of this is that 3rd party programs that try to process the file end up resizing it twice, causing a loss of quality. The file itself was captured correctly, though, and is 720 pixels wide, just as any other 16:9 DV file. You just need to find a way to trick the Canopus codec into reporting its real size.
|
Q : |
Why do some cards capture 720 pixels per line, while others capture 640, 704 or 768? |
A : |
This is a long one. These different resolutions are a result of two things: the pixel aspect ratio and the limitations of (old) analog standards. |
Q : |
How can people talk about pixels in analog video? |
A : |
Just as they can talk about bits (binary digits) going through a cable (that transmits an analog electromagnetic wave). Bits (and pixels) are abstract concepts. Their physical representations are always approximate (at least until we move to quantum signals). When a computer transmits binary data over a wire, that data takes the shape of a high-frequency analog signal. In fact, even inside computer chips, "digital" data is represented using (analog) electric signals or charges.
|
Q : |
Why does the image appear cropped on my TV, compared to the computer screen? |
A : |
Televisions and video monitors typically crop 3% to 6% of the image on each edge. This ensures that things like sync signals, timecode, teletext and closed captioning (which are encoded at the top and bottom of the image) are not shown. The sides of the image are also cropped because they can reveal slight sync problems and some formats (and cameras) record them in black and white. So, if you need to add titles to your videos, make sure you leave a safety margin (ex., 40 pixels) from the edges. Some editing and post-production software has the option to display a "safe frame" that you can use as a rough guide to how much the average TV set will crop. Note that, in Adobe Premiere Pro, the safe frame has a pointless "shadow" effect; the shadow is on the right place; the frame itself is shifted to the top left) |
Q : |
What is the difference between image aspect ratio and pixel aspect ratio, and how are the two related? |
A : |
Image aspect ratio (abbreviated as IAR), sometimes called simply aspect ratio (AR), refers to the ratio between the image's horizontal size and its vertical size (in physical units). For example, an image with a width of 30 cm and a height of 20 cm has an aspect ratio of 30:20, or 3:2 (or 1.5:1, or simply 1.5). If, instead, the image was 20 cm wide and 30 cm tall, it would have an aspect ratio of 2:3 (or 0.67). Pixel aspect ratio (abbreviated as PAR) refers to the width-to-height ratio of the individual pixels that form a bitmap (a digital image).
|
Q : |
Why do I see jagged lines when I play back a MPEG-2 file or a DVD on my PC? |
A : |
In most cases, video is interlaced. This means that the odd and even lines are supposed to be displayed alternately (each of these sets of lines is called a "field"). Television sets and video monitors are also interlaced, so they display the interlaced footage correctly. Computer monitors, on the other hand, are not interlaced, so they show all the lines at the same time. If an object has moved slightly between the two fields, its edges will appear jagged. |
Q : |
I created a DVD, and it played back correctly on my PC (using a software player), but when I played it on a set-top player, connected to a TV, the image flickered whenever there was fast motion. Why? |
A : |
The most likely cause is an incorrect field order (interlacing) setting. Interlaced video works by displaying the odd and even fields alternately, but they are actually stored together, as a frame. This means that the player needs to know if it should show the odd lines first and then the even lines, or vice versa. Displaying them in the wrong order will cause noticeable flickering whenever the fields are significantly different (ex., during fast subject or camera movement). |
Q : |
I took some stills from one of my videos and used them as the background for a menu (or in a slide show), but they flicker a lot when I play them back on TV. Why does this happen, and how should I fix it? |
A : |
If the still was taken from a scene where the people, objects or camera were moving, then there is probably a difference between the fields (see above). As a result, when the image is repeated and displayed on an interlaced screen, it flips back and forth between the two positions, causing the flickering. This may not be noticeable on the PC screen (which is why you should always check your DVDs on a TV or video monitor). |
Q : |
What are the "bob" and "weave" settings on my software DVD player? |
A : |
When a DVD player is set to "bob", it will perform deinterlacing (usually by blending the fields, but some players use more advanced algorithms). When it's set to "weave" it will show two fields simultaneously. |
Q : |
Why do recordable DVDs say "90 minutes" or "120 minutes"? |
A : |
Because the manufacturers want to sell to ignorant people too. A digital medium's size is, naturally, defined in bits or bytes, not minutes. For media that uses a fixed bitrate (ex., DV tapes, audio CDs), there is a direct correspondence between the size (bits) and the duration (minutes), but for media that can use different bitrates (such as DVD), this doesn't make any sense.
|
Q : |
Why do empty "4.7 GB" DVDs show only "4.37 GB" available? |
A : |
The problem here is that "GB" means different things to different people. Technically, the prefix "kilo" (k) means "multiplied by 1000", the prefix "mega" (M) means "multiplied by 1000000", the prefix "giga" (G) means "multiplied by 1000000000", and so on. In other words, one kilobyte (or kB) should be 1000 bytes, one megabyte (MB) should be 1000000 bytes, and so on. But, for practical reasons related to the fact that computers work with binary numbers, manufacturing and addressing a memory chip with 1024 bytes was no harder or more expensive than if the chip had only 1000 bytes. So, instead of having exactly 1000 bytes, "one kilobyte" chips had 1024 bytes. It was close enough and no one was going to complain if they got an extra 24 bytes, right?
|
Q : |
What's the deal with the I, P and B pictures? Were they invented just to torture us? |
A : |
If you really want to know, and are feeling brave (or having trouble falling asleep), read my explanation of the mysteries of the GOP structure here. |
Q : |
I have installed the HuffYUV codec, but it does not show up in VirtualDub's list. What's up? |
A : |
Although this is not directly related to DVD authoring or compression, a lot of people making DVDs use this software, so I've decided to answer this here (this information is - strangely - hard to find, although the problem is quite common). |
Note...
If you have found the guides on this site useful, please make a donation to keep the site online and free.