Page MenuHome

OGG cannot initialize videostrem with scaled resolutions
Closed, ArchivedPublic

Description

Hi

OGG THEORA does work mostly when the ratio is scaled with an even value ( 100%, 80%, 20%,....) but
fails initializing with unven counts here ( 25%, 33%, ..) with some exeptions ( 88% fails too ).

This could be due rounding errors for resulting width/high or another yet unknown limitation
in codec. Should be worked around somehow.

Failure verified for OSX 10.5/6 64bit by me and Damien atm..

To test: just render an animation example 640 x 480 with downscaled output 25%.




Cheers..Jens

Event Timeline

From lib theora documentation:
http://www.theora.org/doc/libtheora-1.0/structth__info.html

"Encoded Theora frames must be a multiple of 16 in size; this is what the frame_width and frame_height members represent. To handle arbitrary picture sizes, a crop rectangle is specified in the pic_x, pic_y, pic_width and pic_height members."

So this gives a solution for a workaround...

Based on the comment from Damien I'm rejecting this report. Something that definitely needs to be documented well, though.

Nathan Letwory (jesterking) changed the task status from Unknown Status to Archived.Sep 1 2010, 10:19 AM