[FFmpeg-devel] Is it really this easy to thread PNG encodes?

Ben Jackson ben at ben.com
Mon Sep 10 08:00:01 CEST 2012


I'm working on VP6A (video with alpha) so I'm doing lots of exports to
PNG stacks.  I looked into what it would take to thread the PNG encoder
(when using -f image2) and it seems utterly trivial since it's an Intra
CODEC.

The attached patch (which just sets CODEC_CAP_FRAME_THREADS / INTRA_ONLY)
seems to work, but it's almost too easy!

-- 
Ben Jackson AD7GD
<ben at ben.com>
http://www.ben.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-pngenc-Enable-frame-threading-for-PNG-encodes.patch
Type: text/x-diff
Size: 860 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120909/6a9db90f/attachment.bin>


More information about the ffmpeg-devel mailing list