未知编码器'libx264' [英] Unknown encoder 'libx264'
问题描述
我在ubuntu11上安装了ffmpeg 0.8.9
./configure --enable-gpl --enable-nonfree --enable -pthreads
--enable-libfaac --enable-libmp3lame --enable-libx264
当我运行它
ffmpeg -y -i test.mp4 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -vcodec libx264 -b 250k -flags + loop -cmp + chroma -partitions + parti4x4 + partp8x8 + partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 250k-maxrate 250k -bufsize 250k -rc_eq' blurCplx ^(1-qComp)'-qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aights 320:240 -g 30 -async 2 a.ts
pre>
它说
未知编码器'libx264'
(注意:与
avconv
相同的错误)
我如何解决这个问题?谢谢!
解决方案我使用的是Ubuntu 11.04,我也遇到这个错误 -
libx264'
。安装软件包libavcodec-extra-53
解决了这个问题。
在Ubuntu 14.04 LTS中,需要的是称为
libavcodec-extra-54
(和libav-tools
)I installed ffmpeg 0.8.9 on ubuntu11 by
./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libx264
When I run it
ffmpeg -y -i test.mp4 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -vcodec libx264 -b 250k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 250k -maxrate 250k -bufsize 250k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 -async 2 a.ts
It said
Unknown encoder 'libx264'
(Note: the same error could occour with
avconv
)How can I fix this? Thanks!
解决方案I am using Ubuntu 11.04, and I also came across this error -
Unknown encoder 'libx264'
. Installing the packagelibavcodec-extra-53
resolved the problem.In Ubuntu 14.04 LTS the package that is needed is called
libavcodec-extra-54
(andlibav-tools
)这篇关于未知编码器'libx264'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!