[opus] Help with OpusEnc

Ralph Giles giles at thaumas.net
Wed Feb 12 10:11:41 PST 2014

On 2014-02-11 8:27 PM, Ben wrote:

> New to list and Opus Codec.


> One of the things I've noticed while encoding is that Opus reports a float with an 'x' along with "realtime".

This is intended to measure the cpu performance of the encoder. The
float is the number of seconds of audio data processed divided by the
number of real-time seconds since encoding began.

If openenc displays '1x realtime' then the encoder is only just keeping
up with the input data from arecord. If it displays '524x realtime' then
it would need only .5% cpu to keep up with a live stream.

> Where can I look up where this calculation is derived?

The value is computed here:

> The new recording is shorter than the original by significant amounts.

Shorter as in data is missing, or that the playback length doesn't
exactly match the walltime while you were recording? This could be a
couple of different things.


More information about the opus mailing list