|
|
| macon |
| Posted: Jul 16 2008, 02:00 AM |
 |
|
Member
 
Group: Members
Posts: 11
Member No.: 23811
Joined: 1-July 08

|
Resize options are great, but lead to a minor unforgiving mistake, non-integer precision. Most size ratios (1.85:1, 2:35:1, 2.40:1.. etc) will give whole/integer numbers, but off ratios like 2.39:1 will have decimal places on width or height. This used to cause VDub to crash, now it simply gives an ambiguous error and won't encode.
This happens with Xvid, not sure if other codecs are tolerant to this?
Seems like a simple fix to round up a decimal. |
 |
| phaeron |
| Posted: Jul 16 2008, 05:37 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Actually, that's by design. When you tell the resize filter to resize to 319.6 x 240, it gives you 320x240, but with the features in the image resized to 319.6 x 240. If you could animate the parameters, you would see a perfectly smooth zoom.
What's probably happening is that the XviD codec doesn't like the odd frame size that results from rounding off the fraction. If you use the "codec friendly sizing" options in the resize dialog, then it will additionally crop the parameters to a multiple of 4, 8, or 16. Whether you need to do this or what alignment is necessary depends on the video codec. |
 |
|