[Theora-dev] CPU usage while encoding...

Mat heavensdoor78 at gmail.com
Thu Nov 3 02:32:05 PST 2005


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-



More information about the Theora-dev mailing list