Ou comment distribuer des vidéos avec un budget restreint

Transcription

Ou comment distribuer des vidéos avec un budget restreint
CVE
Ou comment distribuer des vidéos avec un budget
restreint
Mp4 flv OGG WebM
 Rien d’universel (ie, firefox, safari, chrome, ios , android ,…)
 Ogg est hors course pour le moment
 La course entre h264 et webm (apple vs Google)
 Webm toujours pas mature bien que séduisant
 H.264 toujours le meilleurs choix (pour le moment)
 MPEG LA announced today that its AVC Patent Portfolio License will
continue not to charge royalties for Internet Video that is free to end
users (known as “Internet Broadcast AVC Video”) during the entire life
of this License. MPEG LA previously announced it would not charge
royalties for such video through December 31,
 , The amount of royalties owed, if any, would depend on the number of
Subscribers to that website during a calendar year: 100,000 or fewer
subscribers/year = no royalty; 100,001 - 250,000 subscribers/year =
$25,000; 250,001 - 500,000 subscribers/year = $50,000; 500,001 1,000,000 subscribers/year = $75,000; and more than 1,000,000
subscribers/year = $100,000.
ffmpeg
 ffmpeg -i video.mpg -f mp4 -vcodec mpeg4 -r 25 -b 1024k acodec libfaac -ab 128k -ac 2 -async 1 video.mp4
 ffmpeg -y –I video.mov -acodec libfaac -ar 44100 -ab 96k -coder
ac -me full -me_range 16 -subq 5 -sc_threshold 40 -vcodec
libx264 -s 1280x544" -b 1600k -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -i_qfactor 0.71 -keyint_min 25 b_strategy 1 -g 250 -r 20 video.mp4;
 ffmpeg -y -i input.mov -acodec libfaac -ar 44100 -ab 96k -vcodec
libx264 -level 41 -crf 25 -bufsize 20000k -maxrate 25000k -g 250
-r 20 -s 1280x544 -coder 1 -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -flags2 +brdo+dct8x8+bpyramid me umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 bidir_refine 1 -refs 6 -deblockalpha 0 -deblockbeta 0 video.mp4
Distribution
$$$$$$$$$$$$$
$
 Youtube
 Vimeo
 Blip.tv
 Archive.org
 Qq.com
 ETC, ETC
$$$
?
Methodes
 Streaming : Adobe Wowza , Red5, Kaltura, CDN (rtmp)
 Pseudo-streaming : par PHP , lighttpd, apache, nginx,
CDN
 Progressive: pas de techno spécifique
Notre solution pour cve
Spécifique a nos besoins particuliers
NGINX
NETCRAFT
NETCRAFT
NGINX
HttpSecureDownload
NGINX
H264 Streaming Module for Nginx by Code shop
location ~ \.mp4$ {
mp4;
}
http://h264.code-shop.com:8080/testlist.html
architecture