ffmpeg 无法使用 xvid 编码

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
x007007007
帖子: 406
注册时间: 2007-11-07 17:53
系统: Mac
来自: shanghai
联系:

ffmpeg 无法使用 xvid 编码

#1

帖子 x007007007 » 2009-08-12 11:50

代码: 全选

ffmpeg  -i 970321.wmv  -s 320x240 -author Myself -copyright free -comment face -vcodec xvid -r 25 -b 800 -acodec aac -ac 2 -ar 40000 -ab 64 -vol 250 -f mp4 text.mp4 

代码: 全选

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 16 2009 21:16:26, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)
Input #0, asf, from '970321.wmv':
  Duration: 00:32:40.1, start: 3.065000, bitrate: 333 kb/s
  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 48 kb/s
  Stream #0.1: Video: vc1, yuv420p, 640x480, 29.97 fps(r)
Unknown codec 'xvid'
则么办?
人生来只做的两件事:
1.犯错
2.改错
只犯错不改错的是魔鬼,只改错不犯错的是上帝
总之,都不是人!!!!!!!!!!!!!
我的地盘
头像
no2song
帖子: 32
注册时间: 2009-05-19 23:08
联系:

Re: ffmpeg 无法使用 xvid 编码

#2

帖子 no2song » 2009-08-13 16:43

没加 --enable-xvid ?
only the foolish believes suffering is just wages for being different
头像
x007007007
帖子: 406
注册时间: 2007-11-07 17:53
系统: Mac
来自: shanghai
联系:

Re: ffmpeg 无法使用 xvid 编码

#3

帖子 x007007007 » 2009-08-15 1:19

怎么加?
人生来只做的两件事:
1.犯错
2.改错
只犯错不改错的是魔鬼,只改错不犯错的是上帝
总之,都不是人!!!!!!!!!!!!!
我的地盘
头像
no2song
帖子: 32
注册时间: 2009-05-19 23:08
联系:

Re: ffmpeg 无法使用 xvid 编码

#4

帖子 no2song » 2009-08-15 15:50

compile 的时候把 xvid 打开啊
only the foolish believes suffering is just wages for being different
回复