[FFmpeg-devel] QTRLE encode performance

Michael Niedermayer michaelni at gmx.at
Fri Feb 8 21:21:16 CET 2013


On Fri, Feb 08, 2013 at 02:26:05PM -0500, Malcolm Bechard wrote:
> Hey,
> I've recently changed my app's encoder from quicktime for windows to
> ffmpeg's libraries.
> Surprisingly the performance for encoding a lossless QTRLE file is
> significantly worse in ffmpeg. With Quicktime I was able to encode a
> 1280x720 60FPS movie in realtime (so, less than 16ms a frame to encode).
> With ffmpeg my calls to avcodec_encode_video() take ~150ms a frame. Even
> the ffmpeg.exe command line can only do about 15FPS at this resolution
> (although it is curious that it's faster than my avcodec_encode_video()
> calls).
> 
> So I'm interested contributing and speeding this up. Before I get started
> does anyone have any insight they can share on the current state of the
> encoder? For example:

[...]

> 2. I don't know the algorithm well yet, but is there any inherent reason
> why I can't multithread it (which is my most likely approach).

multithreading is possible, SIMD could be used too and the encoder
can be made 10 or more times as fast without either probably

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130208/c64a2f61/attachment.asc>


More information about the ffmpeg-devel mailing list