[FFmpeg-devel] Patch: Enable OpenCL with Win32 threads

Hendrik Leppkes h.leppkes at gmail.com
Tue Apr 15 19:14:43 CEST 2014


On Tue, Apr 15, 2014 at 6:04 PM, Matt Oliver <protogonoi at gmail.com> wrote:
> On 16 April 2014 01:15, wm4 <nfxjfg at googlemail.com> wrote:
>
>> On Tue, 15 Apr 2014 23:44:27 +1000
>> Matt Oliver <protogonoi at gmail.com> wrote:
>>
>> > Or, just build with pthreads, it doesn't really have any downsides.
>> >
>> >
>> > Tell msvc that ;)
>>
>> Can pthreads not be ported to msvc?
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>
> There is a msvc port but it is partially incomplete (missing features and
> functions) in certain areas and can be a bit buggy. Its also not been
> updated for a few years so doesn't always play nicely with current msvc
> versions (last supported version was 2010). That and its known to use some
> older win32 api stuff in there that benchmarks notably slower than win32
> threads natively.
> So it is there and can work its just native support is often cleaner and
> with less hassle.


I don't know which version you used, but pthreads-w32 seems to work
just fine for MSVC for me, I'm using it with VS2013 successfully, and
ffmpeg didn't change a bit in speed when changing between it and
native.

- Hendrik


More information about the ffmpeg-devel mailing list