4

I am trying to compile ffmpeg with libvpx support on Windows with Visual Studio compiler.

I am using msys2 for building platform and running flowing commands for libvpx

cd libvpx
./configure --prefix="$HOME/ffmpeg_build" --target=x86_64-win64-vs16 --as=yasm
make
make install

then adding path file and compiling ffmpeg

cd ffmpeg
PATH="$HOME/bin:$PATH" 
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" 
./configure --toolchain=msvc --arch=x86_64 \
  --prefix="$HOME/ffmpeg_build" \
  --pkg-config-flags="--static" \
  --extra-cflags="-I$HOME/ffmpeg_build/include" \
  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
  --extra-libs=-lpthread \
  --extra-libs=-lm \
  --bindir="$HOME/bin" \
  --enable-libvpx 

When I run the command above, I get the errror :

libvpx enabled but no supported decoders found

how can I solve this problem ?

mr.Nobody
  • 165
  • 7

0 Answers0