[FFmpeg-user] FFmpeg Configure error, Help need

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Jan 6 14:41:31 EET 2019


2019-01-03 7:13 GMT+01:00, Dinesh Gupta <dinesh.gupta01 at gmail.com>:

>        ./configure --toolchain=msvc
> --prefix=/d/smallgame/ffmpeg_win/deps.posix \
>         --pkg-config-flags="--static" \

>         --enable-shared --enable-pic \

Why is "--enable-pic" needed? Is that a bug we don't know about?

>         --enable-cuda --enable-cuvid --enable-nvenc \

>         --disable-small --disable-libopus \

I believe "--disable-libopus --enable-libopus" invokes
undefined behaviour.

>         --enable-libtheora --enable-libvorbis \
>         --enable-libx264 --enable-libvpx \
>         --enable-libx265 --enable-libopus \
>         --enable-libxvid

> --enable-avdevice \
>         --enable-avcodec --enable-avformat --enable-postproc \
>         --enable-avfilter --enable-swscale \

These have no effect and make debugging more difficult.

>         --enable-swresample \
>         --enable-gpl --enable-nonfree --disable-outdev=sdl \
>         --extra-cflags=-I/d/smallgame/ffmpeg_win/deps.posix/include \
>         --extra-ldflags=-L/d/smallgame/ffmpeg_win/deps.posix/lib

> ERROR: opus not found using pkg-config

What does the following show?
$ pkg-config --print-errors --cflags opus

Carl Eugen


More information about the ffmpeg-user mailing list