最終更新:2014-08-09 (土) 11:35:36 (3547d)  

CentOS 5/FFmpeg
Top / CentOS 5 / FFmpeg

最新版のビルド

  • yum remove libvpx libogg libvorbis libtheora libx264 x264 ffmpeg
  • サーバだとffmpeg,x264,ffmpeg-libpostproc?が削除される
  • デスクトップ版だといろいろ複雑に依存してるのが消されてしまう。
    • Removing
    • Removingfordependencies:
      • firstboot?
      • flac?
      • gnome-applets?
      • gnome-media?
      • gnome-session?
      • gnome-volume-manager?
      • gstreamer-plugins-base?
      • gstreamer-plugins-good?
      • sox
      • speex?
      • system-config-keyboard
      • system-config-soundcard?

修正

  • echo /usr/local/lib > /etc/ld.so.conf.d/local-libs.conf

メモ

# cd ffmpeg
# ./configure --enable-version3 --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libvpx --enable-libfaac \
--enable-libmp3lame --enable-libtheora --enable-libvorbis \
--enable-libx264 --enable-libxvid --enable-gpl --enable-postproc \
--enable-nonfree
install prefix            /usr/local
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               no
opencl enabled            no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes

External libraries:
iconv                   libopencore_amrwb       libvpx
libfaac                 libtheora               libx264
libmp3lame              libvorbis               libxvid
libopencore_amrnb

Enabled decoders:
aac                     bink                    h264
aac_latm                binkaudio_dct           hevc
aasc                    binkaudio_rdft          hnm4_video
ac3                     bintext                 huffyuv
ac3_fixed               bmp                     iac
adpcm_4xm               bmv_audio               idcin
adpcm_adx               bmv_video               idf
adpcm_afc               brender_pix             iff_byterun1
adpcm_ct                c93                     iff_ilbm
adpcm_dtk               cavs                    imc
adpcm_ea                cdgraphics              indeo2
adpcm_ea_maxis_xa       cdxl                    indeo3
adpcm_ea_r1             cinepak                 indeo4
adpcm_ea_r2             cljr                    indeo5
adpcm_ea_r3             cllc                    interplay_dpcm
adpcm_ea_xas            comfortnoise            interplay_video
adpcm_g722              cook                    jacosub
adpcm_g726              cpia                    jpeg2000
adpcm_g726le            cscd                    jpegls
adpcm_ima_amv           cyuv                    jv
adpcm_ima_apc           dca                     kgv1
adpcm_ima_dk3           dfa                     kmvc
adpcm_ima_dk4           dirac                   lagarith
adpcm_ima_ea_eacs       dnxhd                   libopencore_amrnb
adpcm_ima_ea_sead       dpx                     libopencore_amrwb
adpcm_ima_iss           dsd_lsbf                libvorbis
adpcm_ima_oki           dsd_lsbf_planar         libvpx_vp8
adpcm_ima_qt            dsd_msbf                libvpx_vp9
adpcm_ima_rad           dsd_msbf_planar         loco
adpcm_ima_smjpeg        dsicinaudio             mace3
adpcm_ima_wav           dsicinvideo             mace6
adpcm_ima_ws            dvbsub                  mdec
adpcm_ms                dvdsub                  metasound
adpcm_sbpro_2           dvvideo                 microdvd
adpcm_sbpro_3           dxtory                  mimic
adpcm_sbpro_4           eac3                    mjpeg
adpcm_swf               eacmv                   mjpegb
adpcm_thp               eamad                   mlp
adpcm_vima              eatgq                   mmvideo
adpcm_xa                eatgv                   motionpixels
adpcm_yamaha            eatqi                   movtext
aic                     eightbps                mp1
alac                    eightsvx_exp            mp1float
alias_pix               eightsvx_fib            mp2
als                     escape124               mp2float
amrnb                   escape130               mp3
amrwb                   evrc                    mp3adu
amv                     ffv1                    mp3adufloat
anm                     ffvhuff                 mp3float
ansi                    ffwavesynth             mp3on4
ape                     fic                     mp3on4float
ass                     flac                    mpc7
asv1                    flic                    mpc8
asv2                    flv                     mpeg1video
atrac1                  fourxm                  mpeg2video
atrac3                  fraps                   mpeg4
atrac3p                 frwu                    mpegvideo
aura                    g723_1                  mpl2
aura2                   g729                    msa1
avrn                    gif                     msmpeg4v1
avrp                    gsm                     msmpeg4v2
avs                     gsm_ms                  msmpeg4v3
avui                    h261                    msrle
ayuv                    h263                    mss1
bethsoftvid             h263i                   mss2
bfi                     h263p                   msvideo1
mszh                    qpeg                    txd
mts2                    qtrle                   ulti
mvc1                    r10k                    utvideo
mvc2                    r210                    v210
mxpeg                   ra_144                  v210x
nellymoser              ra_288                  v308
nuv                     ralf                    v408
on2avc                  rawvideo                v410
opus                    realtext                vb
paf_audio               rl2                     vble
paf_video               roq                     vc1
pam                     roq_dpcm                vc1image
pbm                     rpza                    vcr1
pcm_alaw                rv10                    vima
pcm_bluray              rv20                    vmdaudio
pcm_dvd                 rv30                    vmdvideo
pcm_f32be               rv40                    vmnc
pcm_f32le               s302m                   vorbis
pcm_f64be               sami                    vp3
pcm_f64le               sanm                    vp5
pcm_lxf                 sgi                     vp6
pcm_mulaw               sgirle                  vp6a
pcm_s16be               shorten                 vp6f
pcm_s16be_planar        sipr                    vp7
pcm_s16le               smackaud                vp8
pcm_s16le_planar        smacker                 vp9
pcm_s24be               smc                     vplayer
pcm_s24daud             smvjpeg                 vqa
pcm_s24le               snow                    wavpack
pcm_s24le_planar        sol_dpcm                webp
pcm_s32be               sonic                   webvtt
pcm_s32le               sp5x                    wmalossless
pcm_s32le_planar        srt                     wmapro
pcm_s8                  ssa                     wmav1
pcm_s8_planar           subrip                  wmav2
pcm_u16be               subviewer               wmavoice
pcm_u16le               subviewer1              wmv1
pcm_u24be               sunrast                 wmv2
pcm_u24le               svq1                    wmv3
pcm_u32be               svq3                    wmv3image
pcm_u32le               tak                     wnv1
pcm_u8                  targa                   ws_snd1
pcm_zork                targa_y216              xan_dpcm
pcx                     text                    xan_wc3
pgm                     theora                  xan_wc4
pgmyuv                  thp                     xbin
pgssub                  tiertexseqvideo         xbm
pictor                  tiff                    xface
pjs                     tmv                     xl
ppm                     truehd                  xsub
prores                  truemotion1             xwd
prores_lgpl             truemotion2             y41p
ptx                     truespeech              yop
qcelp                   tscc2                   yuv4
qdm2                    tta                     zero12v
qdraw                   twinvq

Enabled encoders:
a64multi                libtheora               pcx
a64multi5               libvorbis               pgm
aac                     libvpx_vp8              pgmyuv
ac3                     libvpx_vp9              ppm
ac3_fixed               libx264                 prores
adpcm_adx               libx264rgb              prores_aw
adpcm_g722              libxvid                 prores_ks
adpcm_g726              ljpeg                   qtrle
adpcm_ima_qt            mjpeg                   r10k
adpcm_ima_wav           movtext                 r210
adpcm_ms                mp2                     ra_144
adpcm_swf               mp2fixed                rawvideo
adpcm_yamaha            mpeg1video              roq
alac                    mpeg2video              roq_dpcm
alias_pix               mpeg4                   rv10
amv                     msmpeg4v2               rv20
ass                     msmpeg4v3               s302m
asv1                    msvideo1                sgi
asv2                    nellymoser              snow
avrp                    pam                     sonic
avui                    pbm                     sonic_ls
ayuv                    pcm_alaw                srt
bmp                     pcm_f32be               ssa
cinepak                 pcm_f32le               subrip
cljr                    pcm_f64be               sunrast
comfortnoise            pcm_f64le               svq1
dca                     pcm_mulaw               targa
dnxhd                   pcm_s16be               tiff
dpx                     pcm_s16be_planar        tta
dvbsub                  pcm_s16le               utvideo
dvdsub                  pcm_s16le_planar        v210
dvvideo                 pcm_s24be               v308
eac3                    pcm_s24daud             v408
ffv1                    pcm_s24le               v410
ffvhuff                 pcm_s24le_planar        vorbis
flac                    pcm_s32be               wavpack
flv                     pcm_s32le               webvtt
g723_1                  pcm_s32le_planar        wmav1
gif                     pcm_s8                  wmav2
h261                    pcm_s8_planar           wmv1
h263                    pcm_u16be               wmv2
h263p                   pcm_u16le               xbm
huffyuv                 pcm_u24be               xface
jpeg2000                pcm_u24le               xsub
jpegls                  pcm_u32be               xwd
libfaac                 pcm_u32le               y41p
libmp3lame              pcm_u8                  yuv4
libopencore_amrnb

Enabled hwaccels:

Enabled parsers:
aac                     dvd_nav                 mpegvideo
aac_latm                dvdsub                  opus
ac3                     flac                    png
adx                     gsm                     pnm
bmp                     h261                    rv30
cavsvideo               h263                    rv40
cook                    h264                    tak
dca                     hevc                    vc1
dirac                   mjpeg                   vorbis
dnxhd                   mlp                     vp3
dpx                     mpeg4video              vp8
dvbsub                  mpegaudio               vp9

Enabled demuxers:
aac                     h263                    nistsphere
ac3                     h264                    nsv
act                     hevc                    nut
adf                     hls                     nuv
adp                     hnm                     ogg
adx                     ico                     oma
aea                     idcin                   paf
afc                     idf                     pcm_alaw
aiff                    iff                     pcm_f32be
amr                     ilbc                    pcm_f32le
anm                     image2                  pcm_f64be
apc                     image2_alias_pix        pcm_f64le
ape                     image2_brender_pix      pcm_mulaw
aqtitle                 image2pipe              pcm_s16be
asf                     image_bmp_pipe          pcm_s16le
ass                     image_dpx_pipe          pcm_s24be
ast                     image_exr_pipe          pcm_s24le
au                      image_j2k_pipe          pcm_s32be
avi                     image_jpegls_pipe       pcm_s32le
avr                     image_pictor_pipe       pcm_s8
avs                     image_png_pipe          pcm_u16be
bethsoftvid             image_sgi_pipe          pcm_u16le
bfi                     image_sunrast_pipe      pcm_u24be
bink                    image_tiff_pipe         pcm_u24le
bintext                 image_webp_pipe         pcm_u32be
bit                     ingenient               pcm_u32le
bmv                     ipmovie                 pcm_u8
boa                     ircam                   pjs
brstm                   iss                     pmp
c93                     iv8                     pva
caf                     ivf                     pvf
cavsvideo               jacosub                 qcp
cdg                     jv                      r3d
cdxl                    latm                    rawvideo
cine                    live_flv                realtext
concat                  lmlm4                   redspark
data                    loas                    rl2
daud                    lrc                     rm
dfa                     lvf                     roq
dirac                   lxf                     rpl
dnxhd                   m4v                     rsd
dsf                     matroska                rso
dsicin                  mgsts                   rtp
dts                     microdvd                rtsp
dtshd                   mjpeg                   sami
dv                      mlp                     sap
dxa                     mlv                     sbg
ea                      mm                      sdp
ea_cdata                mmf                     sdr2
eac3                    mov                     segafilm
epaf                    mp3                     shorten
ffm                     mpc                     siff
ffmetadata              mpc8                    sln
filmstrip               mpegps                  smacker
flac                    mpegts                  smjpeg
flic                    mpegtsraw               smush
flv                     mpegvideo               sol
fourxm                  mpl2                    sox
frm                     mpsub                   spdif
g722                    msnwc_tcp               srt
g723_1                  mtv                     str
g729                    mv                      subviewer
gif                     mvi                     subviewer1
gsm                     mxf                     swf
gxf                     mxg                     tak
h261                    nc                      tedcaptions
thp                     vmd                     wsaud
tiertexseq              vobsub                  wsvqa
tmv                     voc                     wtv
truehd                  vplayer                 wv
tta                     vqf                     xa
tty                     w64                     xbin
txd                     wav                     xmv
vc1                     wc3                     xwma
vc1t                    webm_dash_manifest      yop
vivo                    webvtt                  yuv4mpegpipe

Enabled muxers:
a64                     ipod                    pcm_s24be
ac3                     ircam                   pcm_s24le
adts                    ismv                    pcm_s32be
adx                     ivf                     pcm_s32le
aiff                    jacosub                 pcm_s8
amr                     latm                    pcm_u16be
asf                     lrc                     pcm_u16le
asf_stream              m4v                     pcm_u24be
ass                     matroska                pcm_u24le
ast                     matroska_audio          pcm_u32be
au                      md5                     pcm_u32le
avi                     microdvd                pcm_u8
avm2                    mjpeg                   psp
bit                     mkvtimestamp_v2         rawvideo
caf                     mlp                     rm
cavsvideo               mmf                     roq
crc                     mov                     rso
data                    mp2                     rtp
daud                    mp3                     rtsp
dirac                   mp4                     sap
dnxhd                   mpeg1system             segment
dts                     mpeg1vcd                smjpeg
dv                      mpeg1video              smoothstreaming
eac3                    mpeg2dvd                sox
f4v                     mpeg2svcd               spdif
ffm                     mpeg2video              speex
ffmetadata              mpeg2vob                srt
filmstrip               mpegts                  stream_segment
flac                    mpjpeg                  swf
flv                     mxf                     tee
framecrc                mxf_d10                 tg2
framemd5                null                    tgp
g722                    nut                     truehd
g723_1                  oga                     uncodedframecrc
gif                     ogg                     vc1
gxf                     oma                     vc1t
h261                    opus                    voc
h263                    pcm_alaw                w64
h264                    pcm_f32be               wav
hds                     pcm_f32le               webm
hevc                    pcm_f64be               webm_dash_manifest
hls                     pcm_f64le               webvtt
ico                     pcm_mulaw               wtv
ilbc                    pcm_s16be               wv
image2                  pcm_s16le               yuv4mpegpipe
image2pipe

Enabled protocols:
cache                   hls                     rtmp
concat                  http                    rtmpt
crypto                  httpproxy               rtp
data                    icecast                 srtp
ffrtmphttp              md5                     subfile
file                    mmsh                    tcp
ftp                     mmst                    udp
gopher                  pipe                    unix

Enabled filters:
aconvert                decimate                overlay
adelay                  dejudder                owdenoise
aecho                   delogo                  pad
aeval                   deshake                 pan
aevalsrc                drawbox                 perms
afade                   drawgrid                perspective
aformat                 earwax                  phase
ainterleave             ebur128                 pixdesctest
allpass                 edgedetect              pp
alphaextract            elbg                    psnr
alphamerge              equalizer               pullup
amerge                  extractplanes           removelogo
amix                    fade                    replaygain
amovie                  field                   rgbtestsrc
anull                   fieldmatch              rotate
anullsink               fieldorder              sab
anullsrc                flanger                 scale
apad                    format                  select
aperms                  fps                     sendcmd
aphaser                 framepack               separatefields
aresample               framestep               setdar
aselect                 geq                     setfield
asendcmd                gradfun                 setpts
asetnsamples            haldclut                setsar
asetpts                 haldclutsrc             settb
asetrate                hflip                   showcqt
asettb                  highpass                showinfo
ashowinfo               histeq                  showspectrum
asplit                  histogram               showwaves
astats                  hqdn3d                  shuffleplanes
astreamsync             hqx                     signalstats
atempo                  hue                     silencedetect
atrim                   idet                    sine
avectorscope            il                      smartblur
bandpass                interlace               smptebars
bandreject              interleave              smptehdbars
bass                    join                    split
bbox                    kerndeint               spp
biquad                  life                    stereo3d
blackdetect             lowpass                 super2xsai
blackframe              lut                     swapuv
blend                   lut3d                   telecine
boxblur                 lutrgb                  testsrc
cellauto                lutyuv                  thumbnail
channelmap              mandelbrot              tile
channelsplit            mcdeint                 tinterlace
color                   mergeplanes             transpose
colorbalance            movie                   treble
colorchannelmixer       mp                      trim
colormatrix             mpdecimate              unsharp
compand                 mptestsrc               vflip
concat                  negate                  vignette
copy                    noformat                volume
crop                    noise                   volumedetect
cropdetect              null                    w3fdif
curves                  nullsink                yadif
dctdnoiz                nullsrc                 zoompan

Enabled bsfs:
aac_adtstoasc           imx_dump_header         mp3_header_decompress
chomp                   mjpeg2jpeg              noise
dump_extradata          mjpega_dump_header      remove_extradata
h264_mp4toannexb        mov2textsub             text2movsub

Enabled indevs:
dv1394                  lavfi                   v4l2
fbdev                   oss

Enabled outdevs:
fbdev                   oss                     v4l2

License: nonfree and unredistributable
Creating config.mak, config.h, and doc/config.texi...

関連