賊鞈閮隢:
7 B* q7 B1 G9 d% ?
5 _0 E5 [% F5 r4 `. Mhttp://jamyy.us.to/blog/2009/01/429.html* ^+ u9 t, i$ E, M! S7 F
% U- [6 k. Q' G3 K: B/ hhttp://blog.csdn.net/leidengyan/article/details/7576328& I$ h" D; D: Q# c% E# K$ z
* A- ~" ^' i I8 Y5 z1 ?5 S0 m* W
雿雓賭葡瘚HTTP Pseudo-Streaming :http://kfsoft.info/article-14-Flash-Video-streaming%E8%A6%96%E9%A0%BB%E4%B8%B2%E6%B5%81%E5%AF%A6%E4%BD%9C.html
5 K: \5 f# h6 ?% B! q g7 u. g( Z Y( \; s
https://support.jwplayer.com/customer/portal/articles/1430518
! K B0 L2 f: S: _, [Jwplayer 摮: http://blog.csdn.net/gaohuanjie/article/details/24957223& V# @* P- f$ z! T# ^
P+ e# F/ s7 [) t4 }& I S% E; Ejwplayer6.12 銝頛 :http://www.allseego.com/jwplayer/6.12/
- m4 W0 ^( G9 w( i8 j9 N撣豢函鞈閮 :http://itindex.net/detail/53495-nginx-jwplayer-flv http://www.opsers.org/server/use ... to-build-nginx.html8 K, C9 t( R6 I2 V7 i% c
mp4澆叮etadata 隞刀P4Box摰鋆:https://gpac.wp.mines-telecom.fr ... only-all-platforms/
. @( c6 }+ X$ ]( J# ? http://lzone.de/Comparison+of+FLV+and+MP4+metadata+tagging+tools+(injectors)9 L: ?- K v% V, H! m. j
http://forum.videohelp.com/threa ... tag-MP4-AVI-MOV-WMA" R, F/ d( n K x- @) G! {6 y
FLV streaming 隤芣: http://www.therealtimeweb.com/in ... eo-via-PHP-take-two
. W2 L/ T e+ ~* x7 }8 bmodh264streaming蝪⊥銝脫撌 http://www.cc.ntu.edu.tw/chinese/epaper/0033/20150620_3308.html8 g* p ~5 @8 S) P0 A/ Y
! W, O& [$ L' P
http://stackoverflow.com/questio ... eam-large-mp4-files5 g& I. a- t b% u! H
ffmpeg 貉底閫: https://ffmpeg.org/ffmpeg-all.html/ [! ^" o- H, F2 R; M* B
$ C7 i$ `. b( F& O# M3 `8 h- e
nginx 隞子imit_rate : http://blog.csdn.net/ciaos/article/details/7483927: {* D5 E. O. P; _0 _% F
( u# R2 e5 y6 B. a @& ?/ M; B
Install yamdi:$ K1 D& A+ w p( Z- r
yum install yamdi
' G, [# D/ J4 K* N# ^OR
9 e9 _# y4 s! U9 d4 _cd /usr/local/src
& N H: s( I; p7 C1 h* _wget http://downloads.sourceforge.net ... .gz?use_mirror=nchc
: Y: x9 H; Z2 L' Q* j, {0 Y0 j+ Z2 ptar -zxvf yamdi-1.4.tar.gz4 N. v- o& u" v J
cd yamdi-1.4" ]% B1 @" ~& f1 X) t9 ^
gcc yamdi.c -o yamdi -O2 -Wall
2 k- d5 t, ?! m4 a0 M( [, F+ Dmv yamdi /usr/bin/
. [ E1 r. r2 G0 L. S7 wffmpeg/avconv 頧瑼敶梁亦靘 : http://rocksaying.tw/archives/22568176.html* c0 h7 [3 ~2 C0 C# w
Build and install libx264, libav and rtmpd scripts: https://gist.github.com/revmischa/742831
) z5 e. S0 j( Q, x' v( ruse yum install ffmpeg: https://chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily/ 4 V4 H8 r6 a$ M( e
http://ask.xmodulo.com/compile-ffmpeg-centos-fedora-rhel.html; M, y- O" L* J, \& z* P- T. T2 E
/ ]9 |+ T$ g4 E% N B
蝝 gcc-4.4.7 to gcc-4.8.2 :http://ilovers.sinaapp.com/article/centos%E4%B8%8B%E5%AE%89%E8%A3%85gcc-481
! p( @4 a5 g$ _+ G+ z( j$ X1 c& h- T x* L& {* k% q; i" H
source install ffmpeg: https://kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-ffmpeg , http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat- o7 W) p! |& m6 z- Z6 }; z5 R4 r
雿輻肘um 摰鋆 ffmpeg + ffmpeg-php ==> https://www.scalescale.com/tips/nginx/ffmpeg-php-ffmpeg-centos-6-7/% V6 u" X) ^- }$ B8 K4 f
憒雿OS CentOS 5.X /i386,暻潔雿隞乩雿:
9 i; n. h. J3 F8 j6 [' svi /etc/yum.repos.d/CentOS-Base.repo 乩誑銝批捆8 N( G4 V% J; q7 U$ h( X
[dag]
+ |5 E. F5 [4 kname=DAG RPM Repository
6 i* T# ~/ V" p" w B$ i: r& W/ n* o# Nbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag0 q$ {& P, D8 [- V& F! R/ u6 ]
gpgcheck=1) g3 i# Z$ K5 Z- Q: N0 z0 X
enabled=1
! a% f: y( L# Z J, |& f2 t3 W3 w; Z7 W+ w5 h' [
Now you need to add DAGs GPG key. Without this you will get the following error message when attempting to use it with yum.1 [" C- i) O* b; ]& O( F {
' K( S- R( v% n5 e! p0 D# A: V# Q
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
/ M9 S$ T. x4 o0 ?: e; |/ fPublic key for faac.x86_64.1.26-1.el5.rf.rpm is not installed8 t4 a; V" o/ _. J4 L6 W
, W4 N9 Y) p" J2 @( g; D- F
Import the GPG key:8 e! k5 f8 U7 E2 H) s. _/ S z) v
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt# e4 P4 O" u P5 X; z
' k3 U7 p6 I/ f) N _9 B+ l$ F" CThis next step is not necessary, but if you encounter any problems you may want to try updating your system.
3 t4 s9 d( [$ _$ yum update' b3 i0 v% h( @& g. H0 z9 b0 F G
! o; I! l, [0 ~: Q" dInstall FFmpeg
% k3 Z( q* @ t$ yum install ffmpeg ffmpeg-devel
1 m3 ]& S& Q+ I! X7 H
2 m. {5 v: g! t0 a% I" A2 |3 s+ J& V3 b! o9 Q# S' u
( l$ E. v8 q- d2 ~ |
|