Command explanations --enable-shared : This switch is needed to build libavcodec and libavformat shared libraries.