Displaying 3 results from an estimated 3 matches for "video_q".
Did you mean:
video_x
2008 Feb 01
6
Dynamic Change Parameters..
I am going to improve theora codec with dynamically changing way. In this
case we want to change compression parameters like video_q, sharpness when a
keyframe is generated. When i set video quality parameter using cpi->
pb.info.quality in CommpressKeyFrame in encoder_toplevel it will not change
dynamically. Can you please help me to do this. Wich function should i cange
to achieve my objective....
--
___
-------------- nex...
2005 Oct 05
1
Simple encodig sample...
...uot;|/-\\"
int video_x = 0;
int video_y = 0;
int frame_x = 352;
int frame_y = 288;
int frame_x_offset = 0;
int frame_y_offset = 0;
int video_hzn = 25;
int video_hzd = 1;
int video_an = 1;
int video_ad = 1;
int video_r = 320000;
int video_q = 16;
int frame_counter = 250;
signed char *yuvframe;
int fetch_video_page( ogg_page *videopage, ogg_stream_state *to,
theora_state *td )
{
yuv_buffer yuv;
ogg_packet op;
yuv.y_width = video_x;
yuv.y_height = video_y;
yuv.y_stride = video_x;
yuv.uv_width = video_x...
2005 Aug 04
1
libtheora Bitrate Problem
...les in the distribution
Excerpt from encoder_example.c --
case 'V':
video_r=rint(atof(optarg)*1000);
if(video_r<45000 || video_r>2000000) {
fprintf(stderr,"Illegal video bitrate (choose 45kbps through 2000kbps)\n");
exit(1);
}
video_q=0;
break;
I assume 'kbps' is Kilobits Per Second (kbit/s) and
*theora_info.target_bitrate* is in Bits Per Second.
If this is true then shouldn't the argument (optarg) be multiplied by
1024 and not 1000? Or does it matter?
Thanks,
Draco
draco@dragonsguild.net
--...