mp4live_encoder_check.sh

来自「完整的RTP RTSP代码库」· Shell 代码 · 共 67 行

SH
67
字号
#!/bin/shif grep HAVE_MP4LIVE mpeg4ip_config.h | grep define > /dev/null; then  echoelse   echo "MP4Live is not installed (requires V4L2 - check log)"   exitfiif grep HAVE_GTK mpeg4ip_config.h | grep define > /dev/null; then   echoelse    echo "You do not have GTK libraries installed; there will be no mp4live gui"fiechoecho "Mp4live encoder report:"have_ffmpeg=nohave_xvid=nohave_x264=nohave_lame=nohave_twolame=nohave_faac=nohave_one=noif grep HAVE_FFMPEG mpeg4ip_config.h | grep define > /dev/null; then    echo "    ffmpeg encoder is installed"    have_one=yeselse     echo "*** ffmpeg encoder is not installed"fiif grep HAVE_XVID mpeg4ip_config.h | grep define > /dev/null; then    echo "    xvid encoder is installed"    have_one=yeselse    echo "*** xvid encoder is not installed"fiif grep HAVE_X264 mpeg4ip_config.h | grep define > /dev/null; then    echo "    x264 encoder is installed"    have_one=yeselse    echo "*** x264 encoder is not installed"fiif grep HAVE_LAME mpeg4ip_config.h | grep define > /dev/null; then   echo "    lame encoder is installed"   have_one=yeselse   echo "*** lame encoder is not installed"fiif grep HAVE_FAAC mpeg4ip_config.h | grep define > /dev/null; then   echo "    faac encoder is installed"   have_one=yeselse   echo "*** faac encoder is not installed"fiif grep HAVE_TWOLAME mpeg4ip_config.h | grep define > /dev/null; then   echo "    twolame encoder is installed"   have_one=yeselse   echo "*** twolame encoder is not installed"fiif test have_one = "no"; then   echo    echo "There are no encoders installed other than the native H.261 and G.711 encoders"   echo "If you wish other encoders, please see doc/MAIN_README.html, then rerun bootstrap"fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?