Skip to content

Instantly share code, notes, and snippets.

@codenulls
Last active February 27, 2021 22:17
Show Gist options
  • Save codenulls/465375556cb282892b8b76eee3e09b15 to your computer and use it in GitHub Desktop.
Save codenulls/465375556cb282892b8b76eee3e09b15 to your computer and use it in GitHub Desktop.
ubuntu ffmepg build with openssl
export CFLAGS="-I/usr/local/ssl/include -L/usr/local/ssl/lib -Wl,-rpath=/usr/local/ssl/lib"
CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" ./configure \
--pkg-config=pkg-config \
--prefix=$PWD/../ffmpeg-win32-sdk \
--enable-static \
--enable-shared \
--enable-small \
--disable-symver \
--disable-debug \
--disable-doc \
--disable-postproc \
--disable-encoders \
--disable-muxers \
--disable-filters \
--disable-swscale-alpha \
--disable-outdev=sdl2 \
--enable-encoder=mjpeg \
--enable-encoder=apng \
--enable-encoder=aac \
--enable-muxer=mjpeg \
--enable-muxer=apng \
--enable-muxer=mp4 \
--enable-muxer=flv \
--enable-muxer=avi \
--enable-filter=yadif \
--enable-filter=rotate \
--enable-filter=scale \
--enable-filter=movie \
--enable-filter=overlay \
--enable-filter=hflip \
--enable-filter=vflip \
--enable-asm \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--enable-dxva2 \
--enable-d3d11va \
--enable-openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment