search for: keyframe_frequ

Displaying 17 results from an estimated 17 matches for "keyframe_frequ".

Did you mean: keyframe_freq
2010 Jun 14
4
Live Stream Encoding
...n the png2theora example. Something while enconding went wrong: I can see the whole video in VLC, but the complete duration of the file will not be displayed. If i play the video in Firefox, the first 2 seconds will not be played. I think the problem is in the setup of the encoder: keyframe_frequency = 0; th_info_init(&ti); ti.frame_width = ((480 + 15) >>4)<<4; ti.frame_height = ((320 + 15)>>4)<<4; ti.pic_width = 480; ti.pic_height = 320; ti.pic_x = 0; ti.pic_y = 0;...
2004 Jul 02
4
Encoding paramaters...
...amters to start off with... but changing 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 keyfra...
2004 Jul 26
1
theora_info struct question
...e is some documentation somewhere 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; ===============...
2005 Feb 09
1
Trying to do windows encoding dll
...i; theora_info_init(&ti); 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...
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.aspect_denominator=1; m_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 i...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...; + int j; + for (i = 0; i < this->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_mind...
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.
2006 Oct 06
0
V4L + Theora small app...
...at = OC_PF_420; tTheoraInfo.target_bitrate = 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; prin...
2010 Jun 04
0
(no subject)
...uot; might indicate that an attempt to set the keyframe frequency failed. Have a look at the keyframe_granule_shift attribute in the th_info struct. It says: The maximum distance between key frames is 1<<keyframe_granule_shift. So I could imagine that the error might be caused by setting the keyframe_frequency to a larger value than permitted by the keyframe_granule_shift field (e.g. with TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE). Regards, Stefan ----------------------------------------------- > *>SAHANA DEVARAJU* >sahanadevaraju at gmail.com <mailto:theora%40xiph.org?Subject=%5Btheora%5...
2005 Nov 03
1
CPU usage while encoding...
...= OC_CS_ITU_REC_470BG; // OC_CS_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 t...
2008 Jan 07
0
uninitialised theora_info values
...e seen by theora_encode_init 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...
2006 Oct 04
3
Encoding - CPU usage ...
...tTheoraInfo.pixelformat = OC_PF_420; 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...
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
...nominator = 0; videostream->ti.colorspace = 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;...
2005 Oct 05
1
Simple encodig sample...
...ti.colorspace = OC_CS_UNSPECIFIED; 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...
2004 Nov 20
0
ffmpeg2theora start and end time support
...colorspace = OC_CS_UNSPECIFIED; //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(i...