52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩 7 m0 s. Q3 l3 ?6 p( X) k% `) n) X0 Q% r

. s( z6 M8 g) l" q6 p( L3 h/ R% `FFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑1 b' O# s3 a; [. H& k1 w( R/ F

! M- g0 \/ U/ W8 R$ s7 y+ k" J寞銝:" @& `9 _. }) G7 y

+ h3 z. \, S* ]3 v# }! J1 D[摰鋆]2 j* k$ @* S6 M2 u$ Z: K$ B  `
[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2
- [8 x. l2 `) M7 t[/usr/local]#cd ffmpeg-2.5.3$ q; ?2 q/ \" @' {# }7 v* G2 z

; Q* A+ Q$ i- i

1 @# M" g" |; [0 j( s1 E" |摰鋆yasm' ?& D& K' I0 i
ffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯( K; a3 O! T$ E4 F" j- o' @( N
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm. d8 m' {+ f7 ^3 J
璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆
/ B& h% d- F2 o[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg
/ Y) x0 u3 `& L& T2 M嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁/ Q0 ~7 L. p+ C9 e8 c7 B
prefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg
- Q0 d% h. z% I0 t8 L; \9 t
[/usr/local/ffmpeg-2.5.3]#make     
; r; |5 Y  S& A8 g0 P) p[/usr/local/ffmpeg-2.5.3]#make install 7 {! _' P: M0 m

+ J- Z0 l; j8 @( }( l% i8 f
9 v4 a6 ~+ ?+ j( y
頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅
    " U) Z# ?+ n; M" @1 g# _5 _* \& {
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚% M- G$ a4 T% s' e; H/ A
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf: Y5 b" a7 ^. S7 [) f  G% ^% e
include ld.so.conf.d/*.conf
% n8 v7 y3 Y# D* S3 _  N6 h5 ], [( a
潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗
# J& Y2 o# o# z3 E2 R+ L( n/usr/local/ffmpeg/lib, Q" m2 H& Z. ^+ h( w) }
瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:
2 k3 C1 H+ @1 N4 \$ J+ q9 \  k- Kldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>
0 O6 M6 T9 B( f5 d" T  qll /usr/lib64/
) {* l% G1 _3 A/ M. h* z0 |) L-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2
! |  \" m: _1 I. Q" b( _1 l-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0
: y: l8 Z2 F+ e3 R. pSo:
& J- e0 e+ k6 _( Kln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙0 M. k: R1 |" l1 k" [
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝
: D$ Q; i0 Z/ I+ d$ u* U" U! z9 v7 K/ X+ _# u: a# u$ q, a
箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗 : R5 I( \+ Q  e

% N; }$ _5 e2 |) t" S4 }" Q+ n* c
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  . ) N6 N6 A5 ~4 v
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe . + K& m% b' Y* |% Z
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver .
2 b0 U. ?' S3 D. y* \+ _4 L, s' _4 ?
血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准) k5 i5 B5 R) t
曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗' ]4 U0 ]3 A3 z- I9 j; H4 }

# }. d! Q3 N& [5 @& F
' t8 ]0 y( U2 o# z( b) ~
[root@CentOS6 bin]# ffmpeg
& N; N' D5 H( C" tffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers% }: \' f% y8 k
  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
' K9 s' F( Y- t! ]# n  configuration: --enable-shared --prefix=/usr/local/ffmpeg
( J7 }2 K3 p" ?: h4 l9 p' r  libavutil      54.  7.100 / 54.  7.100- V# C, C, L: X7 |( x0 ?
  libavcodec     56.  1.100 / 56.  1.100
1 F" Z2 f  w6 Z8 d' t  libavformat    56.  4.100 / 56.  4.1001 ]! u0 g4 i; [! t+ a2 P6 o
  libavdevice    56.  0.100 / 56.  0.1009 ~, c5 G  I. d. a% c& ~. B
  libavfilter     5.  1.100 /  5.  1.100' h! H# a) y3 {
  libswscale      3.  0.100 /  3.  0.100  a' {$ F0 h9 [; D/ ]  N" f
  libswresample   1.  1.100 /  1.  1.100+ r5 ?0 b9 r5 U& W2 P4 u7 z1 I
Hyper fast Audio and Video encoder
, Z; a, i9 Y4 f1 h$ m; d$ B; Ausage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}..." V9 a" E& u) J5 u
Use -h to get full help or, even better, run 'man ffmpeg'

) p3 ]0 G$ }9 U0 N) `! K+ D
# `; Y; \, U* c8 G1 T7 z' g寞鈭:% _, G$ b9 v& S

0 X$ O3 x* J. s' j; K8 M, Q隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:
! u0 e- ?9 I" y9 I+ Z# E  ^! M5 |0 z0 X! u+ J
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/2 ]6 {. ?9 q, u% D% w1 u5 W  F( V
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅
4 R  Q2 J  C# Q- a
/tmp/ffmpeginstaller.8.0/7 d5 X" K& O! e1 u, R: u
脣餌桅敺嚗銝隞支誑瑁& L2 @! Z# u6 |0 z. b
+ `4 w3 G' B: t, R( d; K
[root]# ./install
# T! {& h* R- R/ W. R
+ f" I% f9 h  {! a  Q4 J摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢8 w5 ~/ c7 V6 k8 v& D$ L
嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠
  |- b" j/ V( N# L. X4 P) N
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚
: c4 n* D6 a1 S. K) ?, l! c7 L9 R( @1 E3 q6 B

. I9 p/ ~( R+ h" }9 l% ?; D
7 y3 N5 v1 u/ D: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html1 F' F% C& d4 N5 b) a0 g
6 a- C: r, U* ^( X. l$ T. V

9 e- Q9 M( K* k& G1 @% M  r3 U: H
! b* z3 w7 Q+ J  R1 K) N

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-21 20:06 , Processed in 0.070935 second(s), 21 queries .

蝯∠.撱

52avtv@gmail.com | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵