Displaying 13 results from an estimated 13 matches for "keyframe_auto_threshold".
2004 Jul 26
1
theora_info struct question
...code */
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: What is the legal values and what imp...
2005 Feb 09
1
Trying to do windows encoding dll
...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) == 0)
{
yuv_buffer yuv_enc;
yuv...
2004 Oct 02
2
Theora decode problem
...// 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 ogg packets) at any time, I don't get headers, but I know
what format I...
2004 Jul 02
4
Encoding paramaters...
...heoraInfo.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 ? What
implications does it have on the other parameters.
Should freq_fo...
2006 Oct 06
0
V4L + Theora small app...
...= 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.frame_height, tTheoraInfo.offset_x, tTheoraInfo.offset_y );...
2005 Nov 03
1
CPU usage while encoding...
...= 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.
Ciao ciao,
-Mat-
2008 Jan 07
0
uninitialised theora_info values
...capiwrapper.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 given
reasonable default values. As is...
2006 Oct 04
3
Encoding - CPU usage ...
...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 also less
quality if it needs...
I'm studying the Theora's examples...
2005 Sep 07
1
encoder settings
...s_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 takes to encode one video page
and send over TCP/IP (localhost):
1.452 sec. read 42...
2005 Oct 05
1
Simple encodig sample...
...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 packet will get its own page automatically */...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...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(info.preset == V2V_PRESET_PREVIEW) {
+ fprintf (stderr, "WARNIN...
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 Nov 20
0
ffmpeg2theora start and end time support
...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 */
info.channels = this->channels;
info.sample_rate = this->...