装yasm的时候,使用如下命令sudo apt-get install yasm
说依赖库没有找到。提示用 -f选项可以正确安装,但是试了试仍然说依赖库没有安装
网上查阅,根据这个帖子forum.ubuntu.org.cn/viewtopic.php?t=382171
使用如下代码,更新了一下,yasm就顺利安装了。
代码:
sudo apt-get -f install
不要指明软件包。会自动解决破损的依赖。但并不一定能让你满意
注意,网上的ffmpeg编译的./configure选项里面有很多自己要的东西,比如 --enable-libfaac。利用./configure --help 查询。
查阅了以下,这个是关于AAC音频编码器的库,我都用不到。。。所以enable它干嘛。。。
最终我的ffmpeg的configure选项为:./configure --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libx264