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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd May 2012, 21:01   #1  |  Link
SamKook
Registered User
 
Join Date: Mar 2011
Posts: 216
Some AR value not saved in bitstream

I've made a batch file to encode DVDs in avi/xvid. It is being cropped and resized to a mod16 resolution(for best compatibility with standalone players) and then I set the DAR to correct the cropping I made(for PC playback).

It worked perfectly well until I tried to set the DAR to 841x480 for a 848x480 video. The DAR was simply ignored and the video stayed at 848x480 so I was wondering why that is? Setting the same video to an AR I used for another one works perfectly fine so the problem really seem to be those values. I also tried to do it manually in case something was wrong with the batch file, but I arrived at the exact same results.

After a bit of messing around, I also found that setting it to 840x480 also doesn't work but 105x60 does and actually gives a result much closer to 841x480 when I check it with mediainfo.

I tried searching for what you can and can't set for the DAR but couldn't find anything that helped me.

I'm using Xvid-1.3.2-20110601 _Final Release_ from xvid.org and VirtualDub 1.9.11 build 32842/release

Also, on an unrelated note, if someone knows how to automatically set the DAR for xvid video in VirtualDub instead of making a different processing setting preset for each it would really be helpful.

Last edited by SamKook; 2nd May 2012 at 21:14.
SamKook is offline   Reply With Quote
Old 3rd May 2012, 20:41   #2  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
I think reading the following topic may help you: MPEG4 Modifier v1.3.4 Released


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 3rd May 2012, 22:18   #3  |  Link
SamKook
Registered User
 
Join Date: Mar 2011
Posts: 216
Other than the loss of the Writing library info and that it has to rewrite the whole thing(I can sometime have low disk space), this seem like a pretty good solution to automate the process.

MPEG4 Modifier can set the DAR(seems only the PAR is stored from what I'm reading, but the result and question is the same either way) properly if I feed it 841:480, but it gets transformed to 212:121 and virtualdub did the same with 105:60 so I was wondering how is that decided and why isn't 841:480 working if set via virtualdub if it's going to get round up somehow anyway?

I'm grateful for the solution(which I'll probably end up using), but I'd still like to figure out why it isn't working properly via virtualdub or if I could do the rounding up myself in my batch file to have better control over the result(not that it matters much for that tiny of a difference).
SamKook is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.