[FFmpeg-user] FFMPEg security question

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jul 5 22:50:00 CEST 2015


Dani A <danix4u-at-yahoo.com <at> ffmpeg.org> writes:

> Now, how can I recompile ffmpeg again?

If you cannot recompile, only changeroot was 
a relevant tip for you.

> Is there a specific program I can use to 
> disable the non wanted functions?

No, the configure script is sufficient.

You can do things like:
$ ./configure --disable-everything --enable-protocol=file 
--enable-demuxer=avi --enable-decoder=ac3,mpeg4 
--enable-parser=ac3,mpeg4 --enable-encoder=h26*,pcm* 
--enable-muxer=matroska

> Also, how can I use the codec_whitelist 
> and the format_whitelist, are those 
> switches to use with the ffmpeg command 
> just as the -moveflags?

No, whitelists are only useful if you are 
using the libraries, not if you are using 
the ffmpeg executable.

Please avoid top-posting here, it is considered 
rude, Carl Eugen



More information about the ffmpeg-user mailing list