賊鞈閮隢:* F+ @' v6 d* Z! ~+ W" z7 u
' H; K' ~$ W# }4 g& B+ [http://jamyy.us.to/blog/2009/01/429.html
% u# ~4 ~5 j6 f# e" X$ i5 g( T3 T/ L3 }) `; U
http://blog.csdn.net/leidengyan/article/details/7576328) h7 d u4 w" [0 c/ T
. o. X. R* h( l# W5 A雿雓賭葡瘚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
' f0 M2 n; J: N/ b3 \6 M8 U) ^' G' _. `, ?% _
https://support.jwplayer.com/customer/portal/articles/1430518
y& [. H: S( J5 |Jwplayer 摮: http://blog.csdn.net/gaohuanjie/article/details/24957223
" b! e. T4 V7 t4 X1 C q' f# p' z' u6 i; l
jwplayer6.12 銝頛 :http://www.allseego.com/jwplayer/6.12/- [5 e4 H M9 {9 ^' C1 K" d6 R1 y
撣豢函鞈閮 :http://itindex.net/detail/53495-nginx-jwplayer-flv http://www.opsers.org/server/use ... to-build-nginx.html8 t* ?( B: J% ^0 y8 |" i
mp4澆叮etadata 隞刀P4Box摰鋆:https://gpac.wp.mines-telecom.fr ... only-all-platforms/
, t3 ^6 B9 X0 e8 ] http://lzone.de/Comparison+of+FLV+and+MP4+metadata+tagging+tools+(injectors)
" Y4 h3 E I5 x5 Z& D5 |5 Yhttp://forum.videohelp.com/threa ... tag-MP4-AVI-MOV-WMA1 B; |! b) d& \" Y) n
FLV streaming 隤芣: http://www.therealtimeweb.com/in ... eo-via-PHP-take-two5 K5 z B+ y: m
modh264streaming蝪⊥銝脫撌 http://www.cc.ntu.edu.tw/chinese/epaper/0033/20150620_3308.html
( ?6 S8 m4 d3 J# }
, f3 n# k5 Z1 {* W' I8 ^7 T5 ihttp://stackoverflow.com/questio ... eam-large-mp4-files1 w; Q1 C+ N' t- D+ a& [
ffmpeg 貉底閫: https://ffmpeg.org/ffmpeg-all.html
* Y- Y$ `8 U: s- x" f& R
: r2 R8 A( \4 Y: Onginx 隞子imit_rate : http://blog.csdn.net/ciaos/article/details/7483927
0 k5 p \% m# |0 g: ]: R' P4 U6 E- v' H! P) _8 G8 k
Install yamdi:
! V- x7 H0 s3 [" ]% Lyum install yamdi4 N# B& q" ?2 r/ U
OR
% o# U% U8 {& Tcd /usr/local/src
9 R. }& ?5 L/ _/ w+ l. N0 x- @wget http://downloads.sourceforge.net ... .gz?use_mirror=nchc
* ]2 o; ~" V) Z* Ytar -zxvf yamdi-1.4.tar.gz8 Y v4 M, C2 Q* a7 f) n
cd yamdi-1.4" x/ ~; z" O& d5 [7 q% s
gcc yamdi.c -o yamdi -O2 -Wall9 j! a# D* v0 f
mv yamdi /usr/bin/, L7 v) F' l) F, _6 \' S2 `% N$ k
ffmpeg/avconv 頧瑼敶梁亦靘 : http://rocksaying.tw/archives/22568176.html3 ?* _) Q! I* R3 _$ p& @
Build and install libx264, libav and rtmpd scripts: https://gist.github.com/revmischa/7428315 c% r2 n- J O8 Z0 ]
use yum install ffmpeg: https://chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily/
7 ?$ `: Y. m5 o http://ask.xmodulo.com/compile-ffmpeg-centos-fedora-rhel.html+ z! c- ?* `% h
$ [5 G7 t: q- e5 ?% |/ m4 X3 E, x蝝 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
0 c5 \& h l4 f4 h+ U7 t5 G7 c D1 P" m' X. ^
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
4 g/ j9 D& _) \- x' x2 N雿輻肘um 摰鋆 ffmpeg + ffmpeg-php ==> https://www.scalescale.com/tips/nginx/ffmpeg-php-ffmpeg-centos-6-7/4 |# g; X G# X3 f3 A- e
憒雿OS CentOS 5.X /i386,暻潔雿隞乩雿:9 w1 |+ ~- ^4 }" X6 X% {: z
vi /etc/yum.repos.d/CentOS-Base.repo 乩誑銝批捆) ^# N! ]4 E: r+ E- ]2 D
[dag] 0 M @% b: O% L- H( `2 z" o4 `' g
name=DAG RPM Repository
. g! H* t3 G2 B, _& Obaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
3 [* @' W' I1 e* @gpgcheck=1" f9 Z6 |* J2 M# D. `$ F1 D: W
enabled=13 Q+ k: z) ?5 o, i) }
1 k* }2 N1 F7 W8 @. U- g8 O) 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.% q) i0 U0 l2 J! Y" W$ Y
$ k3 U, ~: o# p; n0 `* e1 G" Y5 S
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e62 }0 X4 g/ X. G3 n$ Y; t+ c7 V
Public key for faac.x86_64.1.26-1.el5.rf.rpm is not installed
; s( |8 p; a3 B# Z
; U1 p6 N. Z2 B7 U2 UImport the GPG key:
6 S2 h$ Y7 Q% A% P& q( Arpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt& w$ U% {. r; `; f ?
n1 b/ w# M. e$ H0 ~: P$ @+ A! ? bThis next step is not necessary, but if you encounter any problems you may want to try updating your system.) e* N, m o1 Q. l8 `
$ yum update
3 [% p' F2 ?. S8 n$ z8 a" \4 a3 x" O# s+ e$ {- H* [6 T
Install FFmpeg
7 k% A4 K# u# {$ ~: A4 V$ yum install ffmpeg ffmpeg-devel
- |- Z+ L6 K1 f, N! z# T4 f9 C
+ h) E) M( W1 t+ ] M, Q
3 T/ t* i% ~9 Q- @. x
; P8 O) ?9 K5 S9 N% @- k |
|