linux compile ffmpeg
sudo apt-get install yasm -y
sudo apt-get install make -y
sudo apt-get install cmake -y
sudo apt-get update -y
echo "..........compile" ./configure \ --enable-shared \ --enable-static \ --enable-avcodec \ --enable-avformat \ --enable-decoder=h264 \ --enable-decoder=h263 \ --enable-decoder=aac \ --enable-decoder=mpeg4 \ --enable-decoder=mjpeg \ --enable-decoder=png \ --enable-decoder=gif \ --enable-small \ --enable-asm \ --enable-symver \ --enable-gpl \ --enable-ffmpeg \ --enable-ffplay \ --enable-ffprobe \ --enable-ffserver \ --enable-doc \ --enable-fft \ --enable-mdct \ --enable-parsers \ --enable-parser=h264 \ --enable-yasm \ --sysroot=$SYSROOT \ --extra-cflags="-Os -fpic" \ $ADDITIONAL_CONFIGURE_FLAG echo "configure over" make clean make install echo ".................compile over"