Commit 6b464855 authored by Adrien Béraud's avatar Adrien Béraud

contrib/ffmpeg: don't build unused protocols and (de)muxers

Change-Id: I6be4b4085dabc4afd88a3d5ed0acfe0be8c49d33
Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent cabf9349
......@@ -19,16 +19,58 @@ FFMPEGCONF += \
--enable-zlib \
--enable-gpl \
--enable-swscale \
--enable-protocols \
--enable-bsfs \
--disable-filters \
--disable-programs \
--disable-postproc
FFMPEGCONF += \
--disable-protocols \
--enable-protocol=crypto \
--enable-protocol=file \
--enable-protocol=rtp \
--enable-protocol=srtp \
--enable-protocol=tcp \
--enable-protocol=udp \
--enable-protocol=unix \
--enable-protocol=pipe
#enable muxers/demuxers
FFMPEGCONF += \
--enable-demuxers \
--enable-muxers
--disable-demuxers \
--disable-muxers \
--enable-muxer=rtp \
--enable-muxer=g722 \
--enable-muxer=h263 \
--enable-muxer=h264 \
--enable-muxer=hevc \
--enable-muxer=webm \
--enable-muxer=ogg \
--enable-muxer=pcm_s16be \
--enable-muxer=pcm_s16le \
--enable-demuxer=rtp \
--enable-demuxer=mjpeg \
--enable-demuxer=mjpeg_2000 \
--enable-demuxer=mpegvideo \
--enable-demuxer=gif \
--enable-demuxer=image_jpeg_pipe \
--enable-demuxer=image_png_pipe \
--enable-demuxer=image_webp_pipe \
--enable-demuxer=matroska \
--enable-demuxer=m4v \
--enable-demuxer=mp3 \
--enable-demuxer=ogg \
--enable-demuxer=flac \
--enable-demuxer=wav \
--enable-demuxer=ac3 \
--enable-demuxer=g722 \
--enable-demuxer=pcm_mulaw \
--enable-demuxer=pcm_alaw \
--enable-demuxer=pcm_s16be \
--enable-demuxer=pcm_s16le \
--enable-demuxer=h263 \
--enable-demuxer=h264 \
--enable-demuxer=hevc
#enable parsers
FFMPEGCONF += \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment