52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩 $ t% a7 |, S1 G7 W# T, X4 D5 [$ v9 p, _" l

. N) [6 L3 a/ Z' y& ^1 D3 dFFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑% T( r6 b+ O; k9 I% z. e  H

4 g6 n! ^. ]* p  _9 `& G1 W8 x寞銝:
5 B% A# N6 v+ {  m; q# x! h* O
: C. c. C" x8 V2 V1 r  s0 O; b
[摰鋆]
5 q/ S9 @$ B# ~" e0 P[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2
) N" w5 R& `5 d7 H5 G0 `[/usr/local]#cd ffmpeg-2.5.3
! W! R9 ~+ f: [7 J2 ]8 {# V) X" H8 s0 k  E
* ^- ~; t& n( h* @: h7 C2 r
摰鋆yasm
: P! ?2 n6 v2 A# ^. |$ B) lffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯
, X# \7 ~) ~' q3 J  K1 N! i[/usr/local/ffmpeg-2.5.3]#yum -y install yasm5 j6 ]9 u/ c9 r/ F4 b
璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆
: R2 Q' H6 u5 C& E4 \( f" ?[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg
& \- f' d/ Y4 d% ]嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁
$ o- F( y) o# yprefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg

7 B' P  m# T8 k1 T+ d[/usr/local/ffmpeg-2.5.3]#make     
- Y6 V& i4 u2 Q+ C2 N% v( F) a[/usr/local/ffmpeg-2.5.3]#make install 1 K1 {  t3 e9 }/ e

3 N% a1 B" t" D( y+ [1 h
% `* C5 ?5 h9 X0 m3 T' o) t& U
頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅  X$ m! H! B- e6 e7 t7 o
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚; n! Q0 n5 i! Q
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf' ]! N! o* |: i
include ld.so.conf.d/*.conf
2 J9 t! L1 E( _
$ p0 \( z) x8 a, }! ?' J  y$ A潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗* [, ~* x; B$ `# M8 s- ^
/usr/local/ffmpeg/lib  U# @6 n4 R% I1 D5 Z3 W
瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:- v# P% V+ M0 R. d2 I
ldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>) N' p" S: |# a7 Q: ?, O
ll /usr/lib64/
$ e' n9 O) m/ A-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2' W: Y  ~1 `2 B5 g6 m3 ]) z
-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0
2 q/ x; F0 T( j- U. PSo:/ r- }# N: Q7 \( k+ A0 e* @0 s
ln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙+ U6 s& X( d' H, M6 I0 P& P
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝8 S/ l5 m3 p" ~/ \) @$ y

7 j/ e% H4 ]$ p+ M- ^: ?7 O. _9 |箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗 * p) Z2 k) `0 K, ]- o& {

3 e8 m) o) s& b; w, I5 K
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  . , c3 y) [7 s. W6 D8 T! y- j
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe . * P' v# V5 N( o( v$ i$ r
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver . 6 b  F1 ^# M$ B4 D/ [
" o0 Y8 z: f& }7 v! T
血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准
# w- t$ r, [: k: E6 Z曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗0 z. @# D  a9 k0 p  b

" d/ j1 a& }/ J
7 I! _" _# i& E" R' y
[root@CentOS6 bin]# ffmpeg& K; y1 ]8 y, I) P2 i+ ?1 D
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers4 d3 _; P( B1 `4 U+ _* a% o
  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)4 |: q& f( u) f" I4 e( R
  configuration: --enable-shared --prefix=/usr/local/ffmpeg& O+ i2 r/ o9 s6 O
  libavutil      54.  7.100 / 54.  7.100$ ~+ k  i0 V4 o0 q# |* c
  libavcodec     56.  1.100 / 56.  1.100& C, x/ `; ?9 j% P: }2 N
  libavformat    56.  4.100 / 56.  4.1008 k7 f8 c% }2 b! \- I
  libavdevice    56.  0.100 / 56.  0.100: Z' I- `, U5 j1 M+ r2 x6 q
  libavfilter     5.  1.100 /  5.  1.1004 a& k- R" w4 p
  libswscale      3.  0.100 /  3.  0.100& x* a4 P' `2 @2 [# a" k/ Y/ W
  libswresample   1.  1.100 /  1.  1.100" F  |8 S2 o. R) {" ?
Hyper fast Audio and Video encoder9 s7 e$ T0 |4 s6 _& x
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...  L) M0 E/ G3 W$ Z
Use -h to get full help or, even better, run 'man ffmpeg'

# v1 N% U8 X1 Z! `) j" _% y6 Z5 t
& n' ~- L0 p/ J7 i) t7 K* z6 Q寞鈭:2 e  ?# R0 T0 a+ R# K/ X

5 [0 r# d2 k7 c) U隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:
$ l9 l, v. H1 C! S. v. k
$ H; B5 A* c  [
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/; f7 ~' w7 w- z
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅( ~% Q! z$ S7 G3 e1 L6 W7 O
/tmp/ffmpeginstaller.8.0/
) n% z- Y4 _6 y' g- m+ X5 M# d1 t& @脣餌桅敺嚗銝隞支誑瑁) y% c- q& |5 E6 ?* s
  R+ s' T, j: |0 s7 n( A! n; ^
[root]# ./install) a4 R0 X. N# r0 k

, [- U4 B1 n$ _$ _摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢/ k) _  o& x) p# T* F% B
嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠
% L5 Y) t4 c7 }0 T2 G0 h/ T5 w
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚
7 c( V( u- h  U: S# T
( V$ z) z- k! l, U) }2 b" x
* A; ^/ o+ R" R2 y5 l( {: o, w. v6 c: ]8 i
: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html
3 o, n8 n! X0 p* @5 q- x
8 p: a* Z5 j; B2 _
7 [6 P, i$ F* U4 s) t: ~" l, X9 x/ g
+ P5 \6 R5 i3 n* H

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-22 00:11 , Processed in 0.094656 second(s), 23 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵