52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩
4 \! W- q. E# w& p' X' p: _- h; u9 X7 I, ]" P5 y" Q3 i
FFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑9 m' \3 r. k- z' g: I" M  R
% E0 ~5 F$ Z4 B# z: W% Q( h/ B
寞銝:
# D* }" ~( Q8 `1 [( P

/ |, y# j+ T0 G# C  c7 q[摰鋆]2 y  Y7 Y5 A/ T* m$ r  V$ v
[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2' h# A7 n6 @7 u9 m9 o+ j
[/usr/local]#cd ffmpeg-2.5.3
& X1 [0 Q5 [! H. Y$ X6 j& x
: Y7 z2 w; {: G" L8 J1 h/ D& O4 `: b
- b1 ~" j: ^+ k5 f
摰鋆yasm- T0 M& h0 @" W# H" k/ p5 K
ffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯$ T/ E4 @! o' {
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm. m; i2 i. w$ f  C7 k
璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆* k) z1 N* s6 _& `0 m* ]
[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg. {5 i% H; M" y% N. T$ j4 V
嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁, |1 t# m& y5 e# p
prefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg

1 A" z, [, C+ @( }+ ~9 v$ \8 X+ z[/usr/local/ffmpeg-2.5.3]#make     
+ d" W; `3 i5 _% X- v# G[/usr/local/ffmpeg-2.5.3]#make install
  R2 E# z, f: `2 m  X3 f
5 M. j2 n( D* N) A  O! F2 [9 \9 h
; R" p! ?3 ^$ u6 {, Q8 v7 B) c
頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅
    + ~2 ]9 ?) M# p$ H6 J) b4 a3 w* n$ X0 H
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚5 E5 G( ~6 G7 A' i' s
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf) ]8 Y7 j1 q0 \$ J: O
include ld.so.conf.d/*.conf
; _8 o/ n' B0 B: l( D; e( Y( a$ ]# W0 h7 c9 U
潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗5 F7 ]* `+ [& J8 ^% J
/usr/local/ffmpeg/lib
9 X# ~1 W7 ^1 N: q  w+ I) Q' O! j瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:
! c* E* b2 P) B, s: X+ bldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>
/ P  L6 P5 E/ n" ^6 J% X: P0 Qll /usr/lib64/6 N/ [$ L3 k; y) `
-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.24 L4 n" x, t& B: F! o* y2 o- k! W
-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0
- p8 a; s& c' s3 s9 g% NSo:+ W! p) s* ?/ _' R5 U2 ?
ln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙. L; \) s+ m* ?5 X% g
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝: ~; @& z2 t; @- Z' S

: F- y( ~' X0 t6 ]& ?5 Y# b" [箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗 / ?9 t  z0 y: q# G
- I) x; U$ @0 j2 O
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  . # [) l1 S5 ~  ~0 @9 A$ {
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe .
3 }) `  p, }; O( j' M! U  z
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver . : O1 Q* E6 p- G  P6 f

( D: ?: y2 r: w7 b; [血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准
5 N- q. H3 @: R' V曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗2 J6 f7 Y3 B. ~5 r4 X, B) F7 Q% q% T0 o
7 O+ y* ^1 W0 O" X, e; i. l; C
: f2 n) i2 F) O( {* o; r$ ~
[root@CentOS6 bin]# ffmpeg# o8 i( e1 V) o5 ]4 W
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers* k$ G$ L. A, v+ W$ M- L
  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4). a8 H: H2 C6 [! i" q
  configuration: --enable-shared --prefix=/usr/local/ffmpeg, D7 ?1 v2 Q* }( A! k- F( T
  libavutil      54.  7.100 / 54.  7.100
+ S6 k. p# u: ?6 m" {7 O5 Q* d  libavcodec     56.  1.100 / 56.  1.1003 V0 ~. X9 n( c. [% N2 D, C
  libavformat    56.  4.100 / 56.  4.100* D' M, H% Q% s( Y
  libavdevice    56.  0.100 / 56.  0.100
/ O" C$ s3 A/ Z. J) W7 ~; m% i  libavfilter     5.  1.100 /  5.  1.100; p; t- F+ g- q5 K6 \3 _
  libswscale      3.  0.100 /  3.  0.100, u* X( V" \6 a
  libswresample   1.  1.100 /  1.  1.100
: J1 |# {! s/ V" K5 lHyper fast Audio and Video encoder
  O) q' P! o$ [! ]usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
. Y) ?" U2 U, h: [. Z+ wUse -h to get full help or, even better, run 'man ffmpeg'
) i  [2 l4 C$ l& o  S* L$ P  n

, n- g3 x: r. A( e寞鈭:
9 a& e+ ]! M9 F9 ~# m% W9 \! A4 N
隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:
+ s8 K$ ]! g3 X' W7 a
$ H1 `* s1 O9 S8 W- Q
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/* H: }. b6 i9 V0 R  V9 [+ B  J1 f* }
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅! }0 U! s8 M5 U/ {) |6 W; D
/tmp/ffmpeginstaller.8.0/
: n  p9 f& U) d, V# U8 V1 F脣餌桅敺嚗銝隞支誑瑁8 l. q) P! Z4 O9 c9 ^, A% Y1 |

! u7 ?/ @. i  ]7 g$ @[root]# ./install7 c- b' w7 E8 E) Z

' U1 l; T% }& [' R! _  E0 F# o摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢
. ?4 O! ^$ Q& n$ t; j嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠) K' K# w, n; {0 w
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚& c, ^& I3 J/ o4 R# d
% ?( N6 O. w. [2 o$ |
" k# f9 }+ Y4 }6 ]8 d( T
5 M& s! t6 e; m% Y' P
: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html, @% n2 {1 `2 j0 ^' z

6 [$ C! q% m- S6 W0 P& |8 F# O
7 e( z  [$ [) y; w" ]8 L
5 L  c5 ]/ ~  M5 ]

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-12-26 04:42 , Processed in 0.080676 second(s), 23 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵