52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩 4 R8 e' h- [# D* b
: V4 |0 e5 @, [5 n$ |
FFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑
+ a' R. n5 u8 ]4 I( r  e7 ^
. d" k" B/ w  c8 B+ Q" s寞銝:
; ?0 z1 O6 L( K; i. B1 u0 [

- u& W% J  r' w8 s# s[摰鋆]
- @# |8 w4 a7 P! S/ H5 v[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2  ]% v4 b/ @" C" {8 b
[/usr/local]#cd ffmpeg-2.5.3
4 \6 G- q! t4 F) a
9 U, o7 h1 O* z' ~5 E) b) o

) ~% ~$ F* `! \3 n1 F! e0 u摰鋆yasm
& J5 a% Z' W) S$ c- o. Zffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯) n7 F+ c. L1 r
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm/ k# @3 C% m( B( P
璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆/ G" C9 y" ]$ U% ^1 S' d* e
[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg
) o! I  R( {; O; F4 v% `! ~) T$ ?嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁
" d- j1 U0 Q! fprefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg

& n; ], q$ i2 _* c8 _[/usr/local/ffmpeg-2.5.3]#make     
9 u; K: P$ K$ R) E. N4 P% \[/usr/local/ffmpeg-2.5.3]#make install ) Y: z6 A4 L& b0 p, c! m
1 N5 C9 s, ?- M. k2 W6 e3 [' h! F/ N

& P% o: x, F- |8 u6 C8 P! c頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅
    $ ?( z4 C/ c9 h/ c$ G- E
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚
6 O. [5 c$ v9 m# X3 P[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf
' Y7 O8 y" t+ p: @, ^4 _& Xinclude ld.so.conf.d/*.conf4 V. w. e5 o* _5 a: a$ T
( n% z0 v) ^% b9 t0 R0 F2 C
潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗! M- [, [- I  d2 {
/usr/local/ffmpeg/lib
+ e/ m  o2 n+ t- {: {) G+ W瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:
5 k% X" M* X  ~$ Rldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>
0 e2 Z- V+ S( O: O" @ll /usr/lib64/
. U3 C6 O, f: V7 Y! z-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2
# a8 f8 i5 S, `# C4 \* h-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0
8 l: B0 U2 _/ f5 ySo:
7 C+ R+ l4 m* O! F2 U; `* E/ uln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙* N) \. W/ a# o0 M# i5 L' P' f
臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝
8 j9 n$ R; t. q# N6 f7 c  ?7 q% j$ f2 W
箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗 , z# l+ b: [- i3 \1 {( ]

; ]9 S/ L1 O- ]6 I5 Y6 k- v! H
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  .
- J, U" q; g% S% J% q
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe . " ~6 X) r; v4 o" ?, W- v% |
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver . 6 X$ A( t8 i6 z2 u* Z- o1 L

( H3 S& f4 s6 l: |血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准
" l! B0 d4 m. d  O$ V曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗
) x& _+ ^" E: r* t1 s2 k( J" N2 E4 \# m' n# J. `
" Q, c7 W: Y6 h; ^
[root@CentOS6 bin]# ffmpeg
- E$ L# @9 x" `# x# L+ ^: Xffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers
; a- F% Q+ D# _/ x, Y  G  \' c% n  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
& v6 ]5 r& X# Q' p  configuration: --enable-shared --prefix=/usr/local/ffmpeg
- ~* v4 W! I! ~3 d7 J, _  libavutil      54.  7.100 / 54.  7.1008 o7 Q( F9 e: Z  K7 w6 a
  libavcodec     56.  1.100 / 56.  1.100
9 s6 y  f" c: q$ F# o% Y  libavformat    56.  4.100 / 56.  4.100
5 [) C- Y" f0 R- ~' {( S2 H  libavdevice    56.  0.100 / 56.  0.100& B7 Y1 Y; G9 p& X2 O, W3 ^
  libavfilter     5.  1.100 /  5.  1.100
" W; [9 _& \4 d; N  libswscale      3.  0.100 /  3.  0.100! s$ C$ |# Q+ {2 w( V/ Z8 u9 T  ^
  libswresample   1.  1.100 /  1.  1.100: h; x4 I. }: A  o5 f/ ~0 e
Hyper fast Audio and Video encoder
/ q* q/ x6 k8 G" pusage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
* z2 a: D( o. z) D% \( p* c: tUse -h to get full help or, even better, run 'man ffmpeg'
9 C- s, Z) r( Y8 K# |# e& ~3 e
- }6 z9 \6 ^' t& s( ?# |
寞鈭:* V" a% l+ o2 I% v. p6 v
( o: E* ^2 j2 q; S: ?( }1 \
隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:0 ?: [' y5 r6 I# U
& t7 g7 N, A, }; }% ?7 o- C+ M
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/
4 j6 f8 t6 l0 @1 |; q) z- k$ G; o4 ^
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅8 a  I9 B  h! v% q1 ^
/tmp/ffmpeginstaller.8.0/
4 c6 x5 o/ D2 h$ x0 W$ Q' M+ x脣餌桅敺嚗銝隞支誑瑁# t6 A6 ^( Q5 Y- W' u! p/ C+ _% v3 Y

1 S$ }% b+ R3 e4 B1 Y$ L( f! l. T[root]# ./install/ Y1 _% J) ^" Z% ~9 T4 k5 K
) W5 M: c, d- \' J- p) x8 D
摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢1 \. z% {& r9 F, b  w. A6 }
嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠
! I: R8 |$ X$ ^, ^) _" d' x: @
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚
4 O$ s3 r6 W# l2 D0 ]( e: t% N
: U) K1 q, O4 R! d, G 4 `5 V2 y' z9 K3 N0 @
% I8 s6 j! ~, ~3 d$ ]6 C
: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html
& S- r" q4 O' {# V4 ]1 q' h

3 U& d) q+ s8 ~4 k5 k! Z
; Q% s4 t" i. j& y* W4 t' \9 J$ o. V0 S! u8 k: m5 W

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-12-22 17:34 , Processed in 0.063491 second(s), 21 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵