其他分享
首页 > 其他分享> > ffmpeg compile with amr-wb

ffmpeg compile with amr-wb

作者:互联网

 

          ○ download vo-amrwbenc-0.1.3.tar.gz

             wget https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz

          ○ compile

      tar -zxvf vo-amrwbenc-0.1.3.tar.gz
      cd vo-amrwbenc-0.1.3      

            ./configure ; make ; sudo make install

     参考:https://blog.csdn.net/u013601132/article/details/80947909

            ○ download ffmpeg-4.4.tar.gz       

                wget https://ffmpeg.org/releases/ffmpeg-4.4.tar.gz

    ○ compile

       tar -zxvf ffmpeg-4.4.tar.gz

       cd ffmpeg-4.4

       ./configure --enable-static --disable-doc  --enable-libvo-amrwbenc --enable-version3 --disable-x86asm 

       make; sudo make install

     设置libvo-amrwbenc的路径
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
转换
ffmpeg -i "0.wav" -acodec libvo_amrwbenc -ar 16000 -ab 12.65k "0.amr"
验证
./ffmpeg -i 0.amr

 

标签:ffmpeg,tar,gz,vo,compile,amrwbenc,amr
来源: https://www.cnblogs.com/renhl/p/15195893.html