Hi,

On Fri, Oct 28, 2011 at 3:42 AM, wl2776 <[email protected]> wrote:
> Is it stable? How can I use it?

Yes it's stable. Set AVCodecContext.thread_count to > 1 and libavcodec
will use as many threads as specified. Thread types are controlled by
AVCodecContext.thread_type, set this to FF_THREAD_FRAME for
frame-threading (higher-latency, but scales better at more
cores/cpus), or FF_THREAD_SLICE for slice-threading (lower-latency,
but doesn't scale as well). Use frame for watching movies and slice
for video-conferencing, basically. If you don't care which one it
uses, set it to both (they're flags), and it'll autodetect which one
is available and use the best one.

Ronald
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to