[FFmpeg-devel] [PATCH] FFV1 rectangular slice multithreading

Baptiste Coudurier baptiste.coudurier
Fri Oct 15 01:34:50 CEST 2010

On 10/14/2010 04:22 PM, Michael Niedermayer wrote:
> On Thu, Oct 14, 2010 at 02:59:31PM +0200, Michael Niedermayer wrote:
>> Hi
>> Following patchset makes ffv1.2 much faster on multiprocessor systems
>> (requires version to be set to 2, which needs you to edit the source if you
>>   want to try as 1.2 bitstream is not finalized yet)
>> Compression wise 4 slices with foreman and large gops (300 frames) perform
>> slightly better (0.05% IIRC) than 1 slice.
>> With small gops (50 frames) compression is worse with the rangecoder and the
>> large context model by 0.8% otherwise better too.
>> (its quite obvious why its worse in that case and ill be working on that ...)
>> Comments welcome, bikesheds not, and ill apply this soon
> applied, flame me on svnlog

I quickly tested it, very nice speedup, could we get speedup for 
decoding too ? It's now encoding faster than decoding :)

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list