Log in

View Full Version : Resolution and file merging problems


-h
26th February 2002, 10:36
I have been testing file merging with XviD - as long as there's no audio stream, I have not had a single "append" operation fail in VDub. Thus, it does appear to be a VBR audio issue.

As for resolutions, There is a problem with the stride we're reporting back to the vfw system, it appears. At the moment, any resolution that is a multiple of 8 appears to work correctly with both XviD and DivX decoding the video. Not perfect by any means, but better than 16 at least.

Interestingly, if DivX is used to decode the XviD video, resolutions that are a multiple of 4 appear to work fine as well. More testing by others would be appreciated, I am running short of time at the moment.

-h

Nic
26th February 2002, 10:53
-h:
Could you tell me the relation between edged_width & edged_height & height & width (height & width contain the actual viewing res)

I take edged_width as the stride & width as the actual viewing window (??) is that right?

Cheers,
-Nic

-h
26th February 2002, 10:58
I take edged_width as the stride & width as the actual viewing window (??) is that right?

"Yes".

Though I worry about it at night.

Edit: I guess I should say something useful :) XviD currently requires that the internal image be compatible with 16x16 macroblock boundaries, thus any incoming image is padded so its dimensions are a multiple of 16. The edges are then added and calculated for motion estimation / compensation purposes.

An incoming image which is 324 pixels wide, would have an internal width of 324 + 12 + 64 = 400. In that 400-pixel range, the actual image data would begin at the 32nd pixel.

-h