賊鞈閮隢:
& m, | j. O# U) L7 f, X
0 I6 j/ ~" h+ Q% k7 {" n3 zhttp://jamyy.us.to/blog/2009/01/429.html u* Y! q. z ]# x
) a5 E& ?3 |# a: zhttp://blog.csdn.net/leidengyan/article/details/7576328
, J. I/ O6 \2 R" p* S: p: ]# P. |- |: ]7 y& Q
雿雓賭葡瘚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 L- p& d: d7 R
$ a: V4 T+ T: Y5 Y; u3 {( e# C
https://support.jwplayer.com/customer/portal/articles/1430518: S5 A8 t% ?+ f5 C
Jwplayer 摮: http://blog.csdn.net/gaohuanjie/article/details/24957223: @' F ^4 c$ B8 t
6 E) W, B) W' Z) G! u2 ojwplayer6.12 銝頛 :http://www.allseego.com/jwplayer/6.12/' X! `2 x" i Y5 ?
撣豢函鞈閮 :http://itindex.net/detail/53495-nginx-jwplayer-flv http://www.opsers.org/server/use ... to-build-nginx.html/ Q2 s" |: G/ y& D
mp4澆叮etadata 隞刀P4Box摰鋆:https://gpac.wp.mines-telecom.fr ... only-all-platforms/7 ~2 l. Y2 o+ w% A1 A: I
http://lzone.de/Comparison+of+FLV+and+MP4+metadata+tagging+tools+(injectors)
B: H1 Z3 ?1 t5 H, q2 ~ zhttp://forum.videohelp.com/threa ... tag-MP4-AVI-MOV-WMA1 R. ~2 V+ z# j/ a5 ]
FLV streaming 隤芣: http://www.therealtimeweb.com/in ... eo-via-PHP-take-two+ g! Q4 q# Q" D: t. o7 ~
modh264streaming蝪⊥銝脫撌 http://www.cc.ntu.edu.tw/chinese/epaper/0033/20150620_3308.html+ V& O9 `- @4 O
3 P0 K4 V' @2 i5 D: _http://stackoverflow.com/questio ... eam-large-mp4-files4 L1 m# K' j" Z3 N6 O5 Y) I, n
ffmpeg 貉底閫: https://ffmpeg.org/ffmpeg-all.html
( v2 S. |) E' q4 ^, E: w( ^& J5 ?6 [, ?" j% B
nginx 隞子imit_rate : http://blog.csdn.net/ciaos/article/details/7483927
4 _, T: X+ _% t$ w& Z" ~& Z$ k, V
; r) V- k! P8 w& Q! U1 x+ }Install yamdi:5 P& X! a Y Q; C, x. ]8 j
yum install yamdi4 S9 \ F3 Z* q" B/ J! T* t
OR) e5 Y: A; Y, K
cd /usr/local/src4 |7 R; F* y# n9 H
wget http://downloads.sourceforge.net ... .gz?use_mirror=nchc
0 M; s- ?% d X r* Otar -zxvf yamdi-1.4.tar.gz
2 @1 {: n$ d2 w m% _6 ?4 ucd yamdi-1.4
% q0 _3 I5 b4 Ugcc yamdi.c -o yamdi -O2 -Wall7 N3 k5 }# [0 z* j7 E
mv yamdi /usr/bin/$ W. T, L% s' C8 N$ j
ffmpeg/avconv 頧瑼敶梁亦靘 : http://rocksaying.tw/archives/22568176.html% c* o7 u, H: j f, `% D8 n5 f3 C" r* x
Build and install libx264, libav and rtmpd scripts: https://gist.github.com/revmischa/742831. Q- \& C( e5 _7 q* T
use yum install ffmpeg: https://chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily/ ; }* e# b. J8 l8 I0 S0 S2 S
http://ask.xmodulo.com/compile-ffmpeg-centos-fedora-rhel.html
7 \, u- k2 s3 L2 _& T
6 K, t4 a& d! s4 |+ [& E" O# g蝝 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
2 A$ }# t/ ?" l# Q2 E" O3 i$ d, p: i0 t8 l ]" d1 K- z
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
1 `% C$ r. w% `& _雿輻肘um 摰鋆 ffmpeg + ffmpeg-php ==> https://www.scalescale.com/tips/nginx/ffmpeg-php-ffmpeg-centos-6-7/0 k" ?3 `# s/ W7 H; r
憒雿OS CentOS 5.X /i386,暻潔雿隞乩雿:! `% f' p' b% ~* |- J& T& w& W4 s
vi /etc/yum.repos.d/CentOS-Base.repo 乩誑銝批捆+ r1 q- g9 q( ]% \0 ]' l/ Z
[dag]
; r5 w$ o8 X7 ]9 E( l, |! Cname=DAG RPM Repository
8 _) N& |) ]; N4 I. Lbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
' g& G# z1 g/ Y! z0 {2 |gpgcheck=1; Y; O u# G! F! _
enabled=1. _, s4 I; ~! e. o: ~; M* k- S
4 o% n; u0 e# i1 P' z, M2 L/ `4 j; p
Now you need to add DAGs GPG key. Without this you will get the following error message when attempting to use it with yum.9 c, a5 m3 b; m. j# Q: k2 P
- o! F1 N9 r [. Z- p( V& nwarning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6; S8 H2 k$ L1 u1 `! m7 S
Public key for faac.x86_64.1.26-1.el5.rf.rpm is not installed; e( Y" p" P, H$ l, D+ }/ w
- V/ T$ r: X# l8 L( E
Import the GPG key:# u6 U/ v5 `8 R% [; u( I% a9 r
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt* s, I! ]' ~/ j* s9 \6 @% F
6 ~, J) K! b4 W4 w2 ^This next step is not necessary, but if you encounter any problems you may want to try updating your system.( l) N# z! x7 { p, v+ |
$ yum update
- H2 U# K' Z8 P& v5 f4 N; f' O: |" M5 t* w" {* @$ G U
Install FFmpeg6 b4 B( m& e" G
$ yum install ffmpeg ffmpeg-devel
0 e1 m% W0 z" `0 c) B8 c. U2 P# k* p/ ~) @
6 k/ [8 u) M- q* Z3 G
* c9 r5 W, X" V3 Z |
|