52AV璈A|52AV.ONE

 曉撖蝣
 蝡唾酉
敹急瑕
  • av隢憯BBS
  • 璈A
  • 芣瑟憭瘚
  • 鞎澆
  • 52av鋆貉摰
  • 銝剜-銝剖銝餅
     
亦: 3954|敺: 0
銝銝銝駁 銝銝銝駁

[linux隞也 Linux銝摰鋆FFmpeg ~1[1撘萄]

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩
  f5 {2 t, F5 A9 F& e8 d; K" A9 ]  D& m: o5 d4 `; p. U
FFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑6 v) g% |  l, D( Z
5 l( }3 o( C- v% L/ i! f, a
寞銝:
2 P' k+ l! o& p( A# q' E1 v* H$ F

( {7 Q: f3 F# O2 s4 Y# |[摰鋆]/ e' e2 T$ ^1 ^/ b- q4 g7 _. Z
[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2. C9 S/ C7 [  h( j, p4 \
[/usr/local]#cd ffmpeg-2.5.3
% A1 v- @( p6 r( [( \* r0 }6 }
0 d2 b1 Z1 v) B( m
摰鋆yasm
3 ?3 G: {+ G  C; i9 f, k: {ffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯8 N6 d4 R- }! G2 I, K. j
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm
; ^3 Y2 O0 I; n& }璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆
9 H6 C! V3 I: @$ ?7 b1 \  H8 {" t[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg
9 [  C* B% _- p, n4 `$ B& i嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁1 n4 o" A( w. [9 G# b
prefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg
  A9 `3 ]* G( u2 g1 `2 J
[/usr/local/ffmpeg-2.5.3]#make     ! I5 w" D1 e* g% k; N
[/usr/local/ffmpeg-2.5.3]#make install
+ g, g  R% ^4 r( s1 I* j/ H3 n! B$ o. q" S( N
* S) ^- [# I" `+ [2 `$ Z
頝臬:

摰鋆摰/usr/local/ffmpegY銝桅嚗

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅/ C/ }# F/ ]% P1 x* U
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚/ V7 e! Y  a/ n& m
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf$ P- ?# a: k2 r1 ^
include ld.so.conf.d/*.conf
' W$ g8 K$ z) X7 a7 s, J" T% e- m4 x0 W. c
潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗
! y) f  d; k; }/ u- f9 P/usr/local/ffmpeg/lib2 w. w+ y: s' B# |
瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:
7 |) h4 F2 U  |0 fldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>" m$ M, I% Y3 Q0 v- h# S' H' {# U
ll /usr/lib64/
2 v7 ]; S+ {* Q- q3 i+ I/ \4 n-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2
* G7 @$ J% x$ `% I+ B% r-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0
2 X" H6 ?' F( k% dSo:# |7 X0 }' [/ C
ln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙1 G) U; y0 \: V2 x
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝
! s" f8 v( i. W6 l& J
; H& Y  R- F2 u& e. C& B, i箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗
: f2 Z/ S0 M) D) ~% I2 E1 X

. ~- x/ O& y2 a8 z: Q+ [
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  . ! M- a  H# y, x6 E# `" S1 v3 y
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe .
$ b: d. n; H9 t1 F4 s
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver .   k! ?$ U; ]# F3 x2 D

4 T6 f; y( w- t; g1 ?" k血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准" M0 j. E2 k$ N# ^) I* {
曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗+ ?. v  ^2 N0 g3 h* v7 f- [# E+ t

  a$ E1 `' \5 n0 J" c6 _% w! d
# b+ G- `5 `. f: u
[root@CentOS6 bin]# ffmpeg$ J5 I1 V& Z* C: f
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers
6 ]3 y' f) N) }4 A: Q# a+ ]. M# k  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)0 W0 w3 ]5 J% [. N6 _
  configuration: --enable-shared --prefix=/usr/local/ffmpeg
* u' _+ V! C! g% I( B+ Z  libavutil      54.  7.100 / 54.  7.1003 \* S- q& _( ?
  libavcodec     56.  1.100 / 56.  1.100
( {9 p* z7 z2 u" h  libavformat    56.  4.100 / 56.  4.100
; Q1 a8 f& I& [1 t) F# t  libavdevice    56.  0.100 / 56.  0.100: j; z2 w) o2 C
  libavfilter     5.  1.100 /  5.  1.100
  Y- H6 e& g/ b6 P2 E/ u. I  libswscale      3.  0.100 /  3.  0.100
1 C1 j2 |2 s$ V# G* c  libswresample   1.  1.100 /  1.  1.100
7 J0 d0 H% x* V, D0 [Hyper fast Audio and Video encoder
% f! v, n! d# A6 `1 ausage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
, _$ O+ k7 D: cUse -h to get full help or, even better, run 'man ffmpeg'
/ c1 q0 f, g3 ^/ R" I" Z; l! a7 X
0 ]( I' v  j- T# c+ \/ K
寞鈭:/ B" m' B$ Y- T7 p, C2 @& z8 F. V8 O

( @0 o/ q+ p( A$ z8 o隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:. N, U; N% I' u0 V; c+ }: ^
- j0 H1 x* a# V% q; H, u
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/
' o$ q. O% U3 a- n
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅3 F( m( C/ q+ h& z
/tmp/ffmpeginstaller.8.0/, S% Z+ W, H" j8 M1 g
脣餌桅敺嚗銝隞支誑瑁" u+ O! U7 [3 n2 o6 k) W- z! @
! x  _0 d- M8 ?, _  R+ L- J
[root]# ./install6 B' c3 p+ r7 a! h1 O

4 e* x3 S$ A. p) o: b& b摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢
3 W- e+ }8 {- X4 K$ W  d嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠, U" p( e* I4 s" b$ g
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚
2 X+ k1 ~5 r7 u0 E) V& G
7 d3 f1 |% M" h# A7 \% a
1 S1 y0 l" s5 z7 g0 a+ V4 G2 E2 B( H8 N4 O  @: a* A8 `5 T
: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html
% l! K: O" o/ T8 m% U; ]

1 ~3 z, W& f7 Y+ E  R
0 L* R- |7 U  T, h7 o7 T" C0 ^5 v# {# _' c+ y* Z) N

雿輻券

祉蝛閬

BT蝳

砍憛批捆靘餉衣雯頝臬批捆蝝颲行粹嗥蝬脩嚗摰撟湔遛嚗嚗甇脖誑銝嗅啣摰嗆摰撟湧翩鈭箏ㄚ孵舫脣伐銝憿亙祉璇甈橘芣遛18甇 雓蝯脣亦閬賬粹脩芣遛18甇脖芣撟渡雯閬賜雯頝臭嗥批捆鞈閮嚗撱箄降典舫脰蝬脰楝批捆蝝蝯蝜ICRA蝝摰鋆閮剖 (粹蝯行霅 祉蝬脣銝蝝瘛函隢憯啣嚗祉閮剜蝞∠)

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-22 09:08 , Processed in 0.068161 second(s), 23 queries .

蝯∠.撱

[email protected] | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵