52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩
, U/ U2 Q0 Y" M# z' N) F
- q+ A5 b: V) s/ X; r2 iFFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑/ X  W1 U1 G1 O, `4 @6 X& K

7 O5 {# L/ [2 ^& Q  K; i: e* a寞銝:
/ g9 E# y- o" f+ E9 @0 S7 C0 E
3 J! ]7 F6 ~5 U* f
[摰鋆]
+ P  K: T- R) v# w) B4 l[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz26 V( c, }: Q" ]8 I% J  @+ {4 w  p
[/usr/local]#cd ffmpeg-2.5.3
: c: [- H# t; m, T& j( ?9 U
1 F1 R8 Y) U; p0 X
' Z' r# |% q5 \* W& ]8 f0 V% k% L
摰鋆yasm
9 c5 G8 p* y0 I) h; m2 _: j2 Xffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯  `/ J. u: ^. W6 H0 j
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm
9 y. @0 e' O& j璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆
) R# H- f. b. l* ]4 [[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg  {" ]( @' K/ v8 A
嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁
5 X9 H7 w! a: \6 E% Gprefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg
2 L) X5 ~5 H' G* V; C
[/usr/local/ffmpeg-2.5.3]#make     ( I/ q" x" B8 V
[/usr/local/ffmpeg-2.5.3]#make install
! s! {! Q- O4 o. S
0 x, `. \0 U4 V1 E7 L( Y$ q

$ b, i& d) B- J! N. k( Z+ m9 H( D頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅
    0 ]/ A, d  c% l  {  t
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚4 U6 b. l/ c/ |7 Y/ {
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf  q7 |  c$ \6 N2 p) `9 |
include ld.so.conf.d/*.conf
, G3 m& m. s% u$ I: d$ j
" D8 L: _. s8 Y/ ?" [9 N潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗* _2 o5 m. X3 R; b6 E( s; H
/usr/local/ffmpeg/lib
7 X9 X2 ?; m6 `, O+ I' {, U8 ^瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:- R0 |4 |! N5 C8 f
ldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>
1 ?0 O, S& u0 ~1 z: qll /usr/lib64/
3 c9 S; K3 [. W! a3 l" G-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2/ [" P% d. U& w6 Y$ b: p; C
-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.06 A( {9 [. I% t% s7 @
So:4 q" J. G/ k& v  ?" H  N
ln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙9 P' O- C7 h: y/ h
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝
: A; J; k  T& w+ s( X3 \' P3 i' O" ?
7 l5 Y5 s# p- }箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗
2 z# u# a% g2 ^2 S

( ]$ Z& N3 g+ }
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  .
8 w' R+ }- x0 ^8 g3 |
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe . 4 ^# N0 s! l2 M# O0 I7 M% n
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver . % P4 F4 X) F( S8 j9 d& b+ x; p: a
4 a$ t4 U4 q8 g- w
血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准
+ ^/ j6 T" m9 E  Y3 N# q曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗
9 \  i3 g8 ]6 ~, z. `! x
" L0 a( S$ A8 |: u

" T! {0 f. J/ l5 P. W5 s; p[root@CentOS6 bin]# ffmpeg' @) [' N8 r5 B1 ~! |
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers
$ s& X; p& W, `  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)8 R8 X8 C& i. c# L- v8 r
  configuration: --enable-shared --prefix=/usr/local/ffmpeg
# h! S; B' v* Z3 Z- o  libavutil      54.  7.100 / 54.  7.100
  ~% B' b% W( V6 k- \1 w  libavcodec     56.  1.100 / 56.  1.100
0 C7 R* D* i6 T8 k. Q: Y  libavformat    56.  4.100 / 56.  4.1009 l+ @+ M8 ~# F. Q( F
  libavdevice    56.  0.100 / 56.  0.1008 F# v+ f! c# x- R4 @* d/ h  H
  libavfilter     5.  1.100 /  5.  1.100
" [; [8 V3 a6 K# N, z& K  libswscale      3.  0.100 /  3.  0.100
( r5 I" i* O) E  libswresample   1.  1.100 /  1.  1.1001 ]3 L/ C6 O/ t2 }1 R3 u, ^
Hyper fast Audio and Video encoder
6 `* ]9 b% z( D/ g% r" p# Ousage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}..." M) d/ E: ~2 X4 Z- R; q
Use -h to get full help or, even better, run 'man ffmpeg'

* O+ [7 s  Q; I9 z% h  ]
0 V: H' {7 i$ l  A( x& f* k* K5 z) F寞鈭:
' e; ]- j! A2 |$ z$ d
- r& c# [1 U. X5 I9 w+ x, N隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:
6 C* R, [( |' w8 d0 U0 ]0 P. t! |: `% l7 ?0 A( v  C
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/, p9 s- Q/ O: X# W+ B+ O. \* V, C
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅
$ m( X7 [0 T& |& D; }
/tmp/ffmpeginstaller.8.0/1 G% X# M* q5 {: F! D" s6 G
脣餌桅敺嚗銝隞支誑瑁1 U# U9 s7 M9 i0 z  l" W

& [% U0 n* m  a. Z' u9 v+ V[root]# ./install9 b+ q; E  \, U- T) M# r: G2 j: c
; _( Q1 a2 k% G, V* p" C
摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢- g. W" l8 M+ B
嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠& |6 F, J, j' \
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚4 K, B: S6 P  U! S' k
8 {1 s2 T8 X. _& a8 N
  h' [' Z+ o# U7 y" e! L( K* }

& x5 @& S* l2 R* B# p% \: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html
- c3 K* k' i8 w5 e

5 V+ c' A% \) Q7 t) K# |% Q
9 M# G! s! y: k  v* D$ b( {+ ?0 j, e

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-12-4 01:24 , Processed in 0.071193 second(s), 23 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵