Re: [FFmpeg-devel] questions about multi-thread issues for ffmpeg

2016-09-12 Thread Ronald S. Bultje
Hi, On Mon, Sep 12, 2016 at 4:30 AM, qw wrote: > hi Ronald, > > > >does ffmpeg support multi-thread in this case? If not, which ffmpeg > >> functions should be synchronized by application developer? > > > > > >Yes, ffmpeg supports multi-threading (internally), it is tested > >continuously and is

Re: [FFmpeg-devel] questions about multi-thread issues for ffmpeg

2016-09-12 Thread qw
hi Ronald, >does ffmpeg support multi-thread in this case? If not, which ffmpeg >> functions should be synchronized by application developer? > > >Yes, ffmpeg supports multi-threading (internally), it is tested >continuously and is considered very safe. > >Can you show some code? I'm wondering if

Re: [FFmpeg-devel] questions about multi-thread issues for ffmpeg

2016-09-08 Thread Ronald S. Bultje
Hi Andrew, On Thu, Sep 8, 2016 at 3:59 AM, qw wrote: > I have made one simple transcoding program by using ffmpeg lib, where > several av transcoding tasks are done in one process and each task > corresponds to one thread. > > But some ffmpeg function will report error, and sometimes the multi-t