Video streaming

3,529 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,529
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
99
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Video streaming

  1. 1. VIDEO STREAMINGSOLUTIONNguyen Minh TriWeb developer
  2. 2. Content• Introduction• Streaming technologies• Live streaming• Video website • Resource system • Performance
  3. 3. Introduction• Text < Image < Video• Needs of Video streaming: • Video websites: clip.vn, phim • News: tuoitre, vnexpress • eCommerce• Solution • Youtube embedded • Host and stream video
  4. 4. Streaming solution: Download• Progressive download (demo) • Simple • Utilizing existing protocols & servers (HTTP) • Media file is prepared: metadata up front • Playback - after metadata is received • Cache-ability – supported • Seek-ability – very limited support • Poor user experience - seek, multi-rate • Waste of bandwidth when not watched fully • Low cost• Pseudo streaming (demo) • Support seek-ability
  5. 5. Streaming solution: Streaming• Streaming methods • RTP/RTSP • RTMP • Real • MS WMV/ASF• Proprietary and Fragmented• Seek-ability – supported• Server side – proprietary technology (FMS)• Cache-ability – requires special servers for streaming• User experience – very good• Cost – high
  6. 6. Streaming solution: HTTP Streaming• HTTP Dynamic Streaming offers the advantages of: • Progressive download in terms of • Cost • Standard Server • Scalability • Standard client components (OSMF) • Streaming in terms of • User experience • Seek-ability of streaming
  7. 7. Format MP4 vs WebM
  8. 8. HTML5 Market share
  9. 9. Flash vs HTML5
  10. 10. Streaming server• Adobe Flash Media Server (4.500$/server)• Wowza Server (999$/server)• Red5 (Open Source)• Adobe Flash Media Server on Amazon Web Services (Streaming as a service - Pay per use)• JWPlayer Bits on the run (all-in-one solution: host & streaming) • http://www.longtailvideo.com/bits-on-the-run/features/
  11. 11. Video player JW Player 6 Flow Player 5.2• Free but non- • Totally free, can be used commercially commercially• HTML5 first, Flash • HTML5 first, Flash fallback fallback• Integrate HD plugin, Ads • Minimal design• Robust • Simple, light
  12. 12. Live streaming• Flash Live Media Encoder (free)• Flash Media Server• Video player• RTMP, HLS (supported clients:http://en.wikipedia.org/wiki/HTTP_Live_Streamin g)
  13. 13. WHICH ONE?
  14. 14. Video website• Storage system: GlusterFS
  15. 15. Recommended solution• Storage: GlusterFS• Streaming Server: Flash Media Server/ Wowza Server/ Nginx• Video player: JWPlayer 6• Format: H264 MP4 (Fallback WebM)• Technology: Pseudo Streaming• HTML5 primary (Fallback Flash)• Live streaming solution: • RTMP • HTTP Live streaming
  16. 16. Performance• Load balancing• Caching• Bandwidth • Simultaneous users vs Bitrates
  17. 17. Q&AContact: Nguyễn Minh Trí nminhtri0806@gmail.com
  18. 18. Reference• http://www.slideshare.net/DSPIP/video-delivery-methods• http://longtailvideo.com• http://flowplayer.org• http://en.wikipedia.org/wiki/HTTP_Live_Streaming• http://www.gluster.org/• http://help.adobe.com/en_US/flashmediaserver/devguide/

×