[Libav-user] Compiling ffmpeg with pthread support mscv toolchain

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 9 12:59:00 EEST 2016

2016-09-08 21:26 GMT+02:00 Leonardo Nahra <leonardonahra at gmail.com>:
> Hi, I'm trying to compile ffmpeg in the msvc toolchain but I'm having
> problems enabling pthread support, after I run this configure:
> ./configure

>  --enable-asm
>  --enable-yasm
>  --arch=i386
>  --disable-libopenjpeg

Unrelated: These have no effect, --arch does not work
the way many people believe it does.
(It is needed for cross-compilation.)

>  --disable-ffserver
>  --disable-ffplay
>  --disable-ffprobe
>  --disable-ffmpeg

Fyi: There is an option --disable-programs

>  --enable-pthreads
>  --extra-libs=pthreadVC2.lib

What does threading support show if you omit these two lines?

Carl Eugen

More information about the Libav-user mailing list