Displaying 3 results from an estimated 3 matches for "etheora_aspect_normal".
2008 Feb 29
1
Poor encoding quality with etheora and aspect ratio problem
...er based on etheora (and the examples
provided with it) for Processing IDE (processing.org). I have some
problem with the quality of encoded frames.
eg. http://poux.be/tmp/movie.ogg
And when I play the movie with mplayer or totem, the video resolution
is changed from 640x480 to 854x480 (when i use
ETHEORA_ASPECT_NORMAL in etheora_enc_setup). And if I try to
encode in 1138x480 with ETHEORA_ASPECT_WIDE_SCREEN the width of the
movie is doubled too. So I don't understand. I'd like to have the same
resolution for encoding and for playing.
eg. mplayer output:
Opening video decoder: [ffmpeg] FFmpeg's libav...
2007 Oct 31
1
etheora
...rs. It uses and encapsulates libtheora + libogg API and
structures, so users need to know very few  ,  about video and data
containers.
An encoding process is made by these steps:
/*a context declaration.*/
etheora_ctx *ec;
/*encoder configuration.*/
etheora_enc_configure(&ec, width, height, ETHEORA_ASPECT_NORMAL,
fopen("output-video.ogg"), fopen("debug_info.txt"));
/*encoder start.*/
etheora_enc_start(&ec);
/*drawing next frame, by puting a r,g,b or y,u,v pixel in (i,j) coordinate*/
etheora_enc_rgb_draw(&ec, i, j, r, g, b) (alternative: etheora_enc_yuv_draw()),
/*submiting fr...
2007 Oct 31
1
etheora
...rs. It uses and encapsulates libtheora + libogg API and
structures, so users need to know very few  ,  about video and data
containers.
An encoding process is made by these steps:
/*a context declaration.*/
etheora_ctx *ec;
/*encoder configuration.*/
etheora_enc_configure(&ec, width, height, ETHEORA_ASPECT_NORMAL,
fopen("output-video.ogg"), fopen("debug_info.txt"));
/*encoder start.*/
etheora_enc_start(&ec);
/*drawing next frame, by puting a r,g,b or y,u,v pixel in (i,j) coordinate*/
etheora_enc_rgb_draw(&ec, i, j, r, g, b) (alternative: etheora_enc_yuv_draw()),
/*submiting fr...