Hi all. In my test application I saw that the encoding process with Theora is too CPU expensive ( compared to FFmpeg - MP4 ) ... Perhaps I'm using wrong parameters: ti.fps_numerator = fps * 11 + 1; // var framerate ti.fps_denominator = 11; ti.aspect_numerator = 1; ti.aspect_denominator = 1; ti.colorspace = 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 to reduce the load... Probably I can't use Theora for my application :( BTW tnx in advance. Ciao ciao, -Mat-
On Thu, Nov 03, 2005 at 11:32:05AM +0100, Mat wrote:> I know it's hard. I suppose I can do little to reduce the load... > Probably I can't use Theora for my application :(The main branch hasn't received much optimization work. If that's what you've been testing you might try the -mmx or -oil branches. http://downloads.xiph.org/releases/theora/libtheora-mmx-1.0alpha5.tar.gz http://svn.xiph.org/branches/theora-mmx/ http://svn.xiph.org/branches/theora-oil/ The -oil branch uses liboil, which only compiles under gcc. HTH, -r