[Libav-user] does filter graph support multi-thread

qw applemax82 at 163.com
Mon May 23 09:17:27 CEST 2016


Hi,

There are several filters in one filter graph. I expect that, each filter can run in single thread instead of whole filters running in single thread. Should I use other multimedia framework working with ffmpeg, such gstreamer and openmax?

Thanks!

B.R.

Andrew




At 2016-05-23 14:41:24, "Nicolas George" <george at nsup.org> wrote:
>Le quintidi 5 prairial, an CCXXIV, qw a écrit :
>> ffmpeg supports filter graph. Does filter graph support multi-thread? or
>> it can only be called in single thread, and I must make multi-thread
>> program based on filter graph functions in ffmpeg?
>
>Your question is unclear. One filter graph must be handled from a single
>thread at a time. But you can use several threads with proper locking, you
>can use different graphs from different threads and of course you can do
>something unrelated in other threads.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160523/d1775cfe/attachment.html>


More information about the Libav-user mailing list