search for: keyframe_frequency_force

Displaying 16 results from an estimated 16 matches for "keyframe_frequency_force".

2004 Jul 02
4
Encoding paramaters...
...nging the paramters doesn't seem to make 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 under...
2004 Jul 26
1
theora_info struct question
...that I've missed, please direct me to it. ===== Extract from theora.h ===== int quality; 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...
2005 Feb 09
1
Trying to do windows encoding dll
...i); ti.width=width; ti.height=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 (og...
2006 Oct 06
3
Theora file size
Hi I was surprised with size of Theora files and thought of feedback. Following 1minute duration Theora and Xvid files were made from a y4m file. The resolution is 1280x720: 1. Xvid 17MB 2. Ogg/Theora Q7 31MB 3. Ogg/Theora Q8 38MB 4. Ogg/Theora Q9 49MB 5. Ogg/Theora Q10 61MB The Xvid file was made using mencoder by 2 passes with following options:
2004 Oct 02
2
Theora decode problem
..._ti.colorspace=OC_CS_UNSPECIFIED; 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...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...s->context->nb_streams; i++){ AVCodecContext *enc = &this->context->streams[i]->codec; switch (enc->codec_type){ @@ -414,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;...
2006 Oct 06
0
V4L + Theora small app...
...rate = iVideoBitrate; tTheoraInfo.quality = 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, tT...
2005 Aug 06
0
[Fwd: Re: Force keyframe creation]
...To: David Barrett <dbarrett@quinthar.com> References: <42F4186C.1050605@quinthar.com> David Barrett wrote: > Is there any way to force the creation of a keyframe when encoding? > > Poking around through the archive it looks like I might be able to do > this by setting 'keyframe_frequency_force' to '1' for a frame and then > setting it back. But to do this would I need to call > 'theora_encode_init' again? Is this safe? > > Basically, what's the best way to arbitrarily force the creation of a > keyframe within an encoding session? Calling it agai...
2005 Nov 03
1
CPU usage while encoding...
..._UNSPECIFIED; ti.pixelformat = 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...
2008 Jan 07
0
uninitialised theora_info values
...alent in the new API, so perhaps they should be given reasonable default values. As is it seems the behaviour of the wrapper is non-deterministic. I don't know what these default values should be; perhaps someone with more clue can fill them in. (My uninformed guess is "the value of 'keyframe_frequency_force' for all the keyframe_* fields, and 0 for the rest". Do I win?) cheers, Conrad.
2006 Oct 04
3
Encoding - CPU usage ...
...tTheoraInfo.target_bitrate = 0; tTheoraInfo.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...? - Perhap...
2004 Dec 03
3
trying to encode from dvd using mplayer
Hello. I'm trying to encode an Ogg Theora file from an unencrypted dvd using mplayer and encoder_example. I set up named pipes stream.wav and stream.yuv. I then run: mplayer -ao pcm -aofile stream.wav -vo null /dev/dvd & mplayer -vo yuv4mpeg -ao null -nosound /dev/dvd & encoder_example -v1 -a 1 stream.wav stream.yuv > lec1.ogg but I get the following error: File stream.wav is
2005 Sep 07
1
encoder settings
...= OC_CS_UNSPECIFIED; videostream->ti.target_bitrate = 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 lo...
2005 Oct 05
1
Simple encodig sample...
...CIFIED; ti.pixelformat = OC_PF_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 pa...
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
.../FIXME: allow target_bitrate as an alternative 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....