Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th July 2008, 16:43 | #1 | Link |
Registered User
Join Date: Feb 2007
Posts: 5
|
Custom DAR setting
Hello, I'm backing up my favorite move from a DVD. It says on the back the ratio is 1.66:1, and it's actually encoded as 720x480 at 4:3 (which of course means black bars along the top and bottom which looks stupid on my widescreen monitor).
I used to back up my movies just by resizing to the correct frame size, but in the last couple of weeks I've tried using AR's instead. Anyway, after cropping, I get an actual frame of 712x380 that should, according to my calculations, have an (exact) AR of 5696:3420 (1424:855), or 1.665497:1. When I punch these numbers into the XViD encoder as a DAR, though, what I get is a movie with an AR of 979:570, or 1.7175439 (as reported by MPC). So, I loaded it into MPEG4Modifier and punched the same numbers into that program's DAR. It resulted in a movie with an MPC-reported AR of 3331:2001, or 1.664668, much closer to what I was wanting. Is there some restriction on XViD's custom DARs? More importantly, is there a reason I should go with XViD's results? Thanks in advance for your help, -Shammah |
6th July 2008, 04:43 | #3 | Link |
Registered User
Join Date: Feb 2007
Posts: 5
|
Er... Actually, XViD is about 3% off, prompting my concern. I was just asking because it looks like either:
1) I'm not understanding something advanced about XViD's custom DARs. 2) XViD's custom DAR code has a bug in it. -Shammah |
7th July 2008, 05:27 | #5 | Link |
Registered User
Join Date: Feb 2007
Posts: 5
|
Um, OK...
I don't think anyone is understanding my question here... I've based all my calculations off of DAR, so setting PAR, especially to 16:9 on a 4:3 video would look quite strange. Does XViD's custom DAR setting have a bug in it or not? -Shammah |
7th July 2008, 06:57 | #6 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
I assume your source is anamorphic, NTSC (?). In order to display it correctly without resizing one has to signal the Pixel Aspect Ratio and the playback device must stretch the picture accordingly provided that the player does not ignore the AR signalling. When one selects 16:9 NTSC The PAR is signalled as 40:33, when one selects 4:3 NTSC the PAR is signalled as 10:11 for example. The PAR is independent of any cropping one applies to the source. Have you tried setting the PAR instead of the DAR in XviD?
I am not aware of a bug in XviD, but as far as I know it scales any entered x:y pair internally to the 1 .....255 range which may result in minor rounding errors. Not sure though. |
7th July 2008, 09:14 | #7 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
These sorts of discussions are much easier to resolve when you have some "uncorrected" still images of the source to look at....
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
8th July 2008, 01:18 | #9 | Link | |
(schein)heilig
Join Date: Jun 2003
Location: Germany
Posts: 512
|
Quote:
– When indexing DGIndex tells you (status window) if the video is PAL or NTSC and 16:9 or 4:3. Or have a look at the DVD box if for some weird reason you don’t use DGIndex. – Crop as much as needed. Don’t resize. – In Xvid set the »Pixel Aspect Ratio« to whatever DGIndex told you. No need to mess around with DAR. – Don’t worry if your DAR ends up not to be one of those nice »even« numbers. That’s perfectly normal. Your screenshot indeed seems to be from a NTSC 4:3 DVD. So »4:3 NTSC« would be the right »Pixel Aspect Ratio«.
__________________
Brother John When lost in BeSweet's options, have a look at the Commandline Reference. DVD nach MPEG-4 klappt nicht? Verzweifelt? Auf zum Encodingwissen! |
|
14th July 2008, 16:15 | #12 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
Worst case is to leave black borders which fall somewhere in between a 16x16 macroblock, because the sharp transition between the useful picture and the black border consumes extra bits for encoding. Last edited by Sharc; 14th July 2008 at 16:34. Reason: Typo |
|
Tags |
dar |
Thread Tools | Search this Thread |
Display Modes | |
|
|