search for: keyframe_data_target_bitrate

Displaying 15 results from an estimated 15 matches for "keyframe_data_target_bitrate".

2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone, I'm currently developing an adaptive videoconferencing application based on Ekiga which uses TFRC as a congestion control mechanism to adapt the video encoding rate according to the quality of the network experienced. My goal was to use the open-source Theora codec for video transmission. Unfortunately, it seemed that Theora 1.0 did not properly implement any correct CBR mode.
2004 Jul 26
1
theora_info struct question
...; int quick_p; /* quick encode/decode */ void *codec_setup; /* encode only */ int dropframes_p; int keyframe_auto_p; ogg_uint32_t keyframe_frequency; ogg_uint32_t keyframe_frequency_force; /* also used for decode init to get granpos shift correct */ ogg_uint32_t keyframe_data_target_bitrate; ogg_int32_t keyframe_auto_threshold; ogg_uint32_t keyframe_mindistance; ogg_int32_t noise_sensitivity; ogg_int32_t sharpness; ======================= #quality: I know that this can be used instead of specifying a target bitrate, but what are the legal values and what do they do? #quick_p...
2005 Feb 09
1
Trying to do windows encoding dll
...height; // must be /16 ti.frame_width=width; ti.frame_height=height; ti.offset_x=0; ti.offset_y=0; ti.colorspace=OC_CS_UNSPECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; ti.keyframe_frequency=64; ti.keyframe_frequency_force=64; ti.keyframe_data_target_bitrate=bitrate*1.5; ti.keyframe_auto_threshold=80; ti.keyframe_mindistance=8; ti.noise_sensitivity=1; theora_encode_init(&enc_state,&ti); theora_info_clear(&ti); } __declspec (dllexport) encode(signed char *yuvframe, ogg_page *op) { while (ogg_stream_pageout(&enc_stream, op)...
2004 Oct 02
2
Theora decode problem
...m_ti.target_bitrate=0; // 0 if we are specifying quality m_ti.quality=5; // from 0 to 10, 10 is highest quality but higher files m_ti.dropframes_p=0; m_ti.quick_p=1; // should always be 1 m_ti.keyframe_auto_p=1; m_ti.keyframe_frequency=64; m_ti.keyframe_frequency_force=64; m_ti.keyframe_data_target_bitrate=(ogg_uint32_t)(m_ti.target_bitrate*1.5 ); m_ti.keyframe_auto_threshold=80; m_ti.keyframe_mindistance=8; m_ti.noise_sensitivity=1; theora_encode_init(&m_td,&m_ti); theora_info_clear(&m_ti); Here is my decrypt init. Since I can join the stream of theora packets (enclosed in og...
2004 Jul 02
4
Encoding paramaters...
...ake barely any difference... These are the defaults i'm using... mTheoraInfo.target_bitrate=400000; mTheoraInfo.quality=30; mTheoraInfo.dropframes_p=0; mTheoraInfo.quick_p=1; mTheoraInfo.keyframe_auto_p=1; mTheoraInfo.keyframe_frequency=64; mTheoraInfo.keyframe_frequency_force=64; mTheoraInfo.keyframe_data_target_bitrate=mTheoraInfo.target_bitrate*1.5; mTheoraInfo.keyframe_auto_threshold=80; mTheoraInfo.keyframe_mindistance=8; mTheoraInfo.noise_sensitivity=1; And i'm letting the user set target_bitrate, quality and keyframe_frequency... The fields i don't understand are quick_p.... what does this do ? Wha...
2006 Oct 06
0
V4L + Theora small app...
...= iVideoQuality; tTheoraInfo.dropframes_p = 0; tTheoraInfo.quick_p = 1; tTheoraInfo.keyframe_auto_p = 1; tTheoraInfo.keyframe_frequency = 64; tTheoraInfo.keyframe_frequency_force = 64; tTheoraInfo.keyframe_data_target_bitrate = iVideoBitrate * 1.5; tTheoraInfo.keyframe_auto_threshold = 80; tTheoraInfo.keyframe_mindistance = 8; tTheoraInfo.noise_sensitivity = 1; printf( " %dx%d %dx%d %dx%d \n", tTheoraInfo.width, tTheoraInfo.height, tTheoraInfo.frame_width, tTheoraInfo....
2005 Nov 03
1
CPU usage while encoding...
...= OC_PF_420; ti.target_bitrate = 0; ti.quality = 1 * 6.3; ti.dropframes_p = 0; ti.quick_p = 1; ti.keyframe_auto_p = 1; ti.keyframe_frequency = 64; ti.keyframe_frequency_force = 64; ti.keyframe_data_target_bitrate = ti.target_bitrate * 1.5; ti.keyframe_auto_threshold = 80; ti.keyframe_mindistance = 8; ti.noise_sensitivity = 1; I know it's hard. I suppose I can do little to reduce the load... Probably I can't use Theora for my application :( BTW tnx in advance. Ci...
2008 Jan 07
0
uninitialised theora_info values
...is created by th_info2theora_info in encapiwrapper.c. This in turn does not set the following members of the theora_info struct it creates: /* decode */ _ci->codec_setup /* encode */ _ci->quick_p _ci->dropframes_p _ci->keyframe_auto_p _ci->keyframe_frequency _ci->keyframe_data_target_bitrate _ci->keyframe_auto_threshold _ci->keyframe_mindistance _ci->noise_sensitivity _ci->sharpness The values of some of these are subsequently used by theora_encode_init, hence the errors from valgrind. It seems these have no equivalent in the new API, so perhaps they should be give...
2005 Mar 02
1
Patch that fixes distortions during static scenes
...the Quantizer used for each block coded. */ for ( i = 0; i < cpi->pb.UnitFragments; i++ ){ if ( cpi->pb.display_fragments[i] ){ @@ -862,8 +862,8 @@ /* Set key frame data rate target; this is nominal keyframe size */ cpi->Configuration.KeyFrameDataTarget = (c->keyframe_data_target_bitrate * - c->fps_numerator / - c->fps_denominator ) / 8; + c->fps_denominator / + c->fps_numerator ) / 8; /* Note the he...
2006 Oct 04
3
Encoding - CPU usage ...
...nfo.quality = 15; tTheoraInfo.dropframes_p = 0; tTheoraInfo.quick_p = 1; tTheoraInfo.keyframe_auto_p = 1; tTheoraInfo.keyframe_frequency = 64; tTheoraInfo.keyframe_frequency_force = 64; tTheoraInfo.keyframe_data_target_bitrate = tTheoraInfo.target_bitrate * 1.5; tTheoraInfo.keyframe_auto_threshold = 80; tTheoraInfo.keyframe_mindistance = 8; tTheoraInfo.noise_sensitivity = 1; ... - Other parameters...? Other ideas...? - Perhaps some options I could disable that consume CPU to get...
2005 Feb 17
1
Fix a bug that causes the encoder to spend way to many bits on keyframes
...plevel.c =================================================================== --- encoder_toplevel.c (revision 8940) +++ encoder_toplevel.c (working copy) @@ -862,8 +862,8 @@ /* Set key frame data rate target; this is nominal keyframe size */ cpi->Configuration.KeyFrameDataTarget = (c->keyframe_data_target_bitrate * - c->fps_numerator / - c->fps_denominator ) / 8; + c->fps_denominator / + c->fps_numerator ) / 8; /* Note the he...
2005 Sep 07
1
encoder settings
...trate = video_r; videostream->ti.quality = 1; videostream->ti.dropframes_p = 0; videostream->ti.quick_p = 1; videostream->ti.keyframe_auto_p = 1; videostream->ti.keyframe_frequency = 16; videostream->ti.keyframe_frequency_force = 16; videostream->ti.keyframe_data_target_bitrate = (unsigned int) (video_r * 1.5); videostream->ti.keyframe_auto_threshold = 80; videostream->ti.keyframe_mindistance = 8; videostream->ti.noise_sensitivity = 1; and this, as I wrote above, creates 4KB packets, take a look at the below timings which show how many seconds it tak...
2005 Oct 05
1
Simple encodig sample...
...F_420; ti.target_bitrate = video_r; ti.quality = video_q; ti.dropframes_p = 0; ti.quick_p = 1; ti.keyframe_auto_p = 1; ti.keyframe_frequency = 64; ti.keyframe_frequency_force = 64; ti.keyframe_data_target_bitrate = video_r * 1.5; ti.keyframe_auto_threshold = 80; ti.keyframe_mindistance = 8; ti.noise_sensitivity = 1; theora_encode_init( &td, &ti ); theora_info_clear( &ti ); /* write the bitstream header packets with proper page interleave */ /* first...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...16 +436,18 @@ info.ti.dropframes_p = 0; info.ti.quick_p = 1; info.ti.keyframe_auto_p = 1; - info.ti.keyframe_frequency = 64; - info.ti.keyframe_frequency_force = 64; + info.ti.keyframe_frequency = this->keyint; + info.ti.keyframe_frequency_force = this->keyint; info.ti.keyframe_data_target_bitrate = info.ti.target_bitrate * 1.5; info.ti.keyframe_auto_threshold = 80; info.ti.keyframe_mindistance = 8; info.ti.noise_sensitivity = 1; + info.ti.sharpness = this->smoothness; // range 0-2, 0 sharp, 2 less sharp,less bandwidth - if(info.preset == V2V_PRESET_PREVIEW) + if(inf...
2004 Nov 20
0
ffmpeg2theora start and end time support
...ve mode //only use quality mode for now. //info.ti.target_bitrate=1200; info.ti.quality = this->video_quality; info.ti.dropframes_p = 0; info.ti.quick_p = 1; info.ti.keyframe_auto_p = 1; info.ti.keyframe_frequency = 64; info.ti.keyframe_frequency_force = 64; //info.ti.keyframe_data_target_bitrate = info.ti.target_bitrate * 1.5; info.ti.keyframe_auto_threshold = 80; info.ti.keyframe_mindistance = 8; info.ti.noise_sensitivity = 1; // range 0-2, 0 sharp, 2 less sharp,less bandwidth if(info.preset == V2V_PRESET_PREVIEW) info.ti.sharpness=2; } /* audio settings here */...