Displaying 1 result from an estimated 1 matches for "videoheight".
2004 Jun 29
6
Encoding theora...
Just trying to debug my theora encoder... just wondering if someone could
give me some insight on a few thigns...
In the yuv_buffer i'm sending in... i am just setting
y_stride = y_width = videoWidth
uv_stride = videoWidth/2
y_height = videoHeight
uv_height = videoHeight/2
Making the y buffer (width*height) and each of u and v (width*height/4)
Am i correct in doing this ? I knwo stride needn't equal width... but from
the videos width, can i just make them equal ? Any restrictions ?
Also the other encoding parameters... i am just using...