[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bino-list] PPA for bino with ffmpeg-mt

From: Martin Lambers
Subject: Re: [Bino-list] PPA for bino with ffmpeg-mt
Date: Tue, 30 Nov 2010 21:57:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

Hi Alexey!

On 28/11/10 18:27, Lion-Simba wrote:
>>> I've add new command-line parameter: -tN|--threads=N, which then passed
>>> to ffmpeg decoder, setting the number of decoding threads. For best
>>> results start bino with number of threads equal to number of processors
>>> (cores) your system have, e.g. bino -t2

I now added a patch that always sets the number of threads to the number
of processors on the system:

It uses the function avcodec_thread_init() in addition to setting
thread_count. This seems to be deprecated in ffmpeg-mt now, but should
not (yet) be a problem, and it makes this work also on vanilla ffmpeg.

Is there some restriction on the number of threads, for example should
it always be a power of two? Do you see other potential problems with
this approach?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]