如何将ffmpeg升级到最新版本

时间:2013-04-13 20:01:22

标签: ffmpeg upgrade

如果我运行

,我希望将ffmpeg升级到最新版本
yum install ffmpeg ffmpeg-devel

我得到以下

Setting up Install Process
Package ffmpeg-0.6.5-1.el5.rf.x86_64 already installed and latest version
Package ffmpeg-devel-0.6.5-1.el5.rf.x86_64 already installed and latest version
Nothing to do

然后如果我跑

 ffmpeg -i P1010989.MOV -vcodec copy -acodec aac -strict -2 -b:a 384k ouet.mp4
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1010989.MOV':
  Duration: 00:00:01.00, start: 0.000000, bitrate: 11584 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 11315 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1(eng): Audio: pcm_s16be, 16000 Hz, 1 channels, s16, 256 kb/s
Unrecognized option 'b:a'

任何建议

1 个答案:

答案 0 :(得分:3)

  

FFmpeg Linux Builds   FFmpeg Debian软件包适用于Oldstable,Stable,Testing,Unstable   (amd64,i386,powerpc,sparc,ia64,armel,mips,mipsel)可在   deb-multimedia

     

用于Precise,Oneiric,Natty,Maverick和Lucid的FFmpeg Ubuntu软件包   (amd64,i386)可在    Jon Severinsson's FFmpeg PPA

     

用于EL,Fedora Rawhide的FF和Redora和Fedora软件包   (i386,x86_64)可在   RPM Fusion

     

FFmpeg静态构建可在以下位置获得   FFmpeg Static Builds by Burek和    FFmpeg Static Builds by Relaxed

ref