Top Banner

Click here to load reader

Web video standards

Jan 15, 2015

ReportDownload

Technology

Short lecture on new web video standards: HTML5 Video, Dash and WebRTC @HTML-IL Meetup

  • 1. Web & MobileVideoYossi CohenLecture at HTML-IL 1

2. Agenda Introduction (Flash) HTML5 Video WebRTC DASH 3. Flash Video Vs HTML5 VideoEngineering discussion (Facts not rumors) Flash has inferior video quality Apple Video Codec: H.264 Flash Video Codec: H.264 Flash consumes battery Apple uses Hardware accelerators Flash uses HW accelerators but not on apple device -> Lots of battery 4. Flash Video 5. Flash - > HTML Transition 6. 8 7. HTML5 Video TagThe Short version Embed a player into the browser containing File Format Demuxer Audio decoder Video Decoder When a Tag is detected Media is passed to the player Simple. Yet Fragmented 8. HTML5 Video TagThe Short version Embed a player into the browser containing File Format Demuxer Audio decoder Video Decoder When a Tag is detected Media is passed to the player Simple. Yet Fragmented 9. HTML5 Video TagThe Fragmented version File Format Demuxer Which file format? Avi? Ogg? MP4? WebM? Audio decoder Which Audio Codec? Ogg Vorbis, MP4 AAC, MP3? Video Decoder Theora, H.264, VP8? So which one to support? We need to support all!!! 11 10. 12 11. Experience Adaptive HTTP-based streamingIn this case MSS http://www.iis.net/media/experiencesmoothstreaming 13 12. Agenda What is DASH? The Road to Dash DASH 14 13. DASH - Dynamic AdaptiveStreaming over HTTP DASH is an adaptive bitrate streaming technologywhere a multimedia file is partitioned into one ormore segments and delivered to a clientusing HTTP. MPD - media presentation description, describessegment information (timing, URL, mediacharacteristics such as video resolution and bitrates). Segments can contain any media data, howeverthe specification provides specific guidance andformats for use with two types of containers: MPEG-4 file format MPEG-2 Transport Stream 15 14. DASH Scope 16 15. The Road to DASH DASH is convergence and super set of several: File Formats Streaming Approaches Security and DRM approaches17 16. Media Delivery Evolution 18 17. Streaming Protocols Convergence19 18. File Formats Super-set DASH Supported FF & Functionality 20 19. DASH DASH is a superset of both HLS (Apple) and MPEG-4 based HTTP streamingHTTP Streaming HLSMSS DASH21 20. DASH ProfilesMPEG2 TS MainMAIN ISO BMFF MPEG2On Demand Live TS Simple(VoD)22 21. 23 22. WebRTC Today !http://techcrunch.com/2013/02/24/mozilla-att-and-ericsson-team-up-to-demo-seamless-web-to-mobile-webrtc-integration/24 23. WebRTC VC for browsersWhats Inside Audio / Speech Encoding / Decoding Video Encoding / Decoding Video RTP Packetization / Depacketization Dynamic Jitter buffer Lip-Sync And more25 24. WebRTC API PeerConnection An Associationbetween two peers Containing one or more RTP sessions TRACKTRACK TRACK TRACK TRACKTRACKTRACK Sent using one or more bi-directional RTPflow. A MediaStream An WebRTC APIMS1 MS2 MS3MediaStream A set of MediaStreamTracks Synchronized playback SSRC1SSRC2SSRC3 MediaStreamTrack A Media Stream that over RTP will berepresented by a SSRC RTP SessionRTP SessionB RTP SessionRTP SessionPeer Connection26 25. References More on 26. Thank you!More About me: Video Expert Yossi Cohen Lectures on Video / Android / VoIP [email protected] Android Native Developer http://www.mobilevideotech.com +972-545-313092