52AV璈A|52AV.ONE

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

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

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-10-10 10:47:21 | 芰閰脖 |芰憭批 撣 |摨閬 |梯璅∪
砍敺 IT_man 2017-3-28 13:02 蝺刻摩 9 s, P' B0 p& P$ C+ W

+ ~; A; M$ M0 _4 a: e9 o3 \FFmpeg臭甈曉撩憭抒閬閮蝺刻圾蝣澆極瘀臭誑憭折蝺函Ⅳ澆ffmpeg舫曉蝣潘汪inux撟喳唬潘銋臭誑典嗅雿璆剔頂蝏銝蝺刻陌瑁嚗WindowsMac OS X蝑( X4 P3 d$ {/ K. e- U2 i% X

" x4 h( u' ^9 ]寞銝:3 m, O% s) k! `3 S# Y' C
( S; Z2 C/ W0 S+ t
[摰鋆]
. ?3 {3 q, K6 c$ h[/usr/local]#tar -jxvf ffmpeg-2.5.3.tar.bz2) C* k4 |/ y/ f
[/usr/local]#cd ffmpeg-2.5.3' i. K1 _. S6 r

  e' h/ k: p+ P! d" C
+ N* f5 C; W, ?/ g! D
摰鋆yasm
0 s9 _) m  H3 m8 G4 }) O! Q, R4 Uffmpeg蝺刻陌銝剔箔擃compile摨佗雿輻其舐楊隞歹鈭舫閬雿輻券撌亙瑯# r% x$ X! r2 t
[/usr/local/ffmpeg-2.5.3]#yum -y install yasm0 I+ Q; n( d: I2 I% \" `! I
璅雿輻冽蝣潭孵摰鋆嚗銝頛yasm皞隞蝣潘嗅雿輻./configuremake隞亙make istall脰摰鋆* v( _/ a' r" b$ V8 @9 j
[/usr/local/ffmpeg-2.5.3]#./configure --enable-shared --prefix=/usr/local/ffmpeg
2 J, c9 ^+ a4 H% u- n. L, @7 h嗡葉enable-shared銵函內Y亙澈嚗臭誑靘隞亙蝺函雿輻剁臬瑁蝔摨銋靘鞈湧鈭摨怒憒銝銝enable-shared賊雿輻券亦孵蝺刻陌嚗甇斗銝Y摨恬Yffmpeg蝑臬瑁瑼銋瘥頛憭改雿隞銝閬摨怠停臭誑湔亙瑁
, f( x3 i8 m8 ?: R+ j1 j2 Hprefix銵函內撌亙瑕鋆桅嚗鋆∟身/usr/local/ffmpeg
: G5 F5 \0 Q$ C. x
[/usr/local/ffmpeg-2.5.3]#make     
8 ^2 Z8 e" u' k, I0 k! I[/usr/local/ffmpeg-2.5.3]#make install - z3 r; R$ i( y! ?$ `
+ X' |; g5 Z1 \( ]5 r# H

+ l6 {$ b, K* n2 s5 N: {頝臬:

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

  • bin嚗臬瑁瑼桅
  • lib嚗亙澈桅
  • include嚗蝺函典啁剜隞嗥桅9 R: y' }6 {$ M
銝蝞⊥航帷ompile臬臬瑁蝔摨瑁賡閬靘鞈惻ib銝Y摨恬臭誑Yso隞嗆瑁/usr/lib銝嚗銋臭誑湔乩耨寥蝵格隞嗚亦/etc/ld.so.conf隞塚1 J9 d$ y/ |% V0 t+ r: n! u( Q
[/usr/local/ffmpeg-2.5.3]#vi /etc/ld.so.conf: M( n+ {' d4 k0 R5 X
include ld.so.conf.d/*.conf
. }3 C- S5 X1 @) w+ z/ }" \( g3 k# ?
潭臬臭誑/etc/ld.so.conf.d/撱箔啁隞逵fmpeg.conf嚗啣銝銵嚗喟榻fmpeglib桅嚗9 E% e6 }* j& l+ N; n
/usr/local/ffmpeg/lib" y1 F1 r. \/ ~4 u) U8 E. s
瑁ldconfig嚗湔追d.so.cache嚗雿蹂耨寧When run ldconfig show error:( |) I( B% L  ~7 `
ldconfig: /usr/lib64/libgd.so.2 銝臭蝚西交 ==>
  L& j* U, r( l8 I! Qll /usr/lib64/. h1 j. T' ?+ S) \3 o. n
-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2
! W+ J. I. _, D2 u/ L7 E& Y! e" k-rwxr-xr-x 1 root root 275328 2015-01-11 08:03 /usr/lib64/libgd.so.2.0.0& b9 w. R/ Q( q5 L- Y7 U4 q9 ?) Z
So:8 h: @: A2 f+ a- @  ^" |$ p
ln -s /usr/lib64/libgd.so.2.0.0   /usr/lib64/libgd.so.2     撠梯圾瘙
( y& A& t* }4 O% a9 K臭誑 vi /etc/ld.so.cache  
/usr/local/ffmpeg/lib 臬血歇 cache銝+ s0 H: [; Z- m+ S- @! x
/ m  W4 t6 G( i# v0 |6 f- I
箔其遙雿唳寡賢湔亦狄fmpeg瑁嚗銝其蝙典./ffmpeg /usr/local/ffmpeg/bin/ffmpeg孵瑁甇文極瘀臭誑臬瑁瑼獢銴鋆賢軔in桅銝嚗灸in桅銝撱箇頠蝯憿隡潔Windows銝瑕嚗憒臬瑁瑼獢鋡怠支嚗頠蝯銋銝賜匱蝥雿輻剁蝖祇蝯臭誑蝜潛雿輻具撱粹蝯賭誘憒銝嚗
( g1 u2 z, q1 e8 K, f" }2 L# C
; _& b' h, n/ ?; L
sudo ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffmpeg  .
" Z- U' s8 f' T4 R, ^
sudo ln -s /usr/local/ffmpeg/bin/ffprobe /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffprobe . - ]% B- L* l# B, i% \8 |( O
sudo ln -s /usr/local/ffmpeg/bin/ffserver /usr/local/bin/   or      [/usr/local/bin]# sudo ln -s /usr/local/ffmpeg/bin/ffserver . ; x( i  ]+ L# v" Y! d

, A. U8 h: C5 J# N/ Y) ]9 I4 F: M$ P血嚗憒閬剌fmpeg剜隞塚憟賢include桅銝ffmpeg銴鋆賢/usr/include銝准5 w! l! w; ]9 f5 A
曉典臭誑究hell銝剔湔亥撓卯fmpeg瑁嚗蝯憒銝嚗3 i0 k( `; Y6 l  k# E  _
6 G+ T5 Y* u' b0 h2 C5 f9 z

3 O; d" A% N* m1 L[root@CentOS6 bin]# ffmpeg) J5 n& J. W% |
ffmpeg version 2.3.git Copyright (c) 2000-2014 the FFmpeg developers% Q& r% R5 J; m! Z+ u
  built on Oct  9 2015 16:11:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
$ f# J# Y' u; ~7 H% Z$ }  configuration: --enable-shared --prefix=/usr/local/ffmpeg% t0 E9 t3 Y9 h8 p, `
  libavutil      54.  7.100 / 54.  7.100
. K0 N/ R$ @' }) ^8 z  libavcodec     56.  1.100 / 56.  1.100
  M5 P$ _$ o$ j( O  libavformat    56.  4.100 / 56.  4.100! T" l( u: H! R# A# H
  libavdevice    56.  0.100 / 56.  0.100
* D3 D9 ~' M5 j$ `  libavfilter     5.  1.100 /  5.  1.100
; ?  z4 y# j1 l- O) M$ F; v6 m/ Z  libswscale      3.  0.100 /  3.  0.1004 }5 Z3 f1 H4 Z% @$ i5 N% b- e
  libswresample   1.  1.100 /  1.  1.100" n( p" |2 C  k* P# a
Hyper fast Audio and Video encoder
7 [* s5 D! U3 Z4 V( {" musage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
4 c7 y; A  ?- {# MUse -h to get full help or, even better, run 'man ffmpeg'

: M4 `$ G5 m4 Z2 W) T: k2 f: [  D$ D- v
寞鈭:
' Q( F  y. w; `% N1 \$ z. Y3 q6 `9 V0 w5 I: y  k; F
隞 ffmpeginstaller 摰鋆 ffmpeg 賊憟隞:
  K# f' S' d4 [, Q8 _3 B$ D7 H% X( ~  t9 h$ T! U, b! F5 B( o1 q- `
http://ffmpeginstaller.com銝頛唳摰桅嚗靘憒嚗/tmp/
- a1 l, w. t3 C' Q
閫憯蝮格敺嚗Y銝 ffmpeginstaller+祈 桅嚗靘憒嚗銝頛閫敺桅. r7 @, }+ x# a1 b; H) O
/tmp/ffmpeginstaller.8.0/
3 R- _" a% m  e) _. E+ E$ U0 Z脣餌桅敺嚗銝隞支誑瑁+ C+ \* |) K( t/ E, E
. y3 C3 t& L, r$ H: L
[root]# ./install
, \, a+ v6 Y; p$ z1 L  u( ~' |4 f) S1 U7 U1 D# F5 p$ g' a
摰鋆蝔撘撠望憪脰摰鋆嚗閬瘜芸楛銝蝬脣颱頛閬瑼獢; _3 m4 O6 p/ B) |
嗅祕摰鋆蝔撘撠望 yum install 單穿摰鋆蝔憭抒 1 撠7 Q6 J% K) B3 t* S0 v
銝 ffmpeginstaller 摰鋆頝ffmpeg賊憟隞塚
, g8 N" e+ ]$ N2 M. U- K$ Q: u8 `6 G
1 {( o, w; {; o4 s
  `4 ]2 x+ c" G( q# D0 [
: http://oldgrayduck.blogspot.tw/2 ... staller-ffmpeg.html6 U2 _( e7 y$ U' J; n

4 J$ \+ I1 Y$ |
$ b9 B6 [% v  L! d' Q- s' V- l- c# a1 A8 }7 k) G  E8 d* O  J

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-22 09:53 , Processed in 0.077870 second(s), 21 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵