Everything You Ever Wanted To Know About Online Video - Rich Web Experience 2010


Published on

This presentation takes you through the nitty-gritty of online video and what it takes to build a high-traffic video portal. How do you get content, encode it properly and deliver it to a CMS and CDN? How do you program the backend infrastructure to handle load and high-availability? I'll talk about various clients (Flash, HTML5, iPhone, iPad, Android, Sony) and lessons I've learned implementing applications on them.

Published in: Technology, Business

Everything You Ever Wanted To Know About Online Video - Rich Web Experience 2010

  1. 1. EVERYTHING YOU EVER WANTED TO KNOW ABOUT ONLINE VIDEO Matt Raible http://raibledesigns.com Images by Stuck in Customs - http://www.flickr.com/photos/stuckincustoms © 2010 Raible Designs
  2. 2. INTRODUCTIONSDo you watch video online?Do you have cable orsatellite?Netflix Subscriber?Do you think online videowill replace cable/satellite?
  3. 3. Blogger on raibledesigns.com Father, Skier, Cyclist Web Framework ConnoisseurMontana Native Founder of AppFuse Who is Matt Raible?
  4. 4. SESSION AGENDAOnline Video HistoryCreating VideoPublishing VideoA Case StudyConclusionQ and A
  5. 5. BROADCAST TVBroadcast TV is Going The Way of the Dinosaur52 percent of U.S. television viewers watch live broadcastTV compared to online and time-shifting alternatives.The younger people are, the less time they spend on livetelevision.Two major forces are at work here: The huge growth in video content being made available. The growth in all kinds of devices to deliver that content. September 13, 2010 http://www.kikabink.com/news/why-broadcast-tv-is-going-the-way-of-the-dinosaur/
  6. 6. ONLINE LIVE TV In the past year, U.S. audiences spent a whopping 648 percent more time watching live television on the Internet. The growth in time spent on such sites as YouTube and Hulu is up 68% and 75%, respectively. Viewers tend to spend more time watching live TV than non-live TV online. Top online live TV providers: USTREAM, Justin.tv and LivestreamSeptember 14, 2010 http://www.kikabink.com/news/online-live-tv-consumption-up-648-percent-more-bad-news-for-tv-networks/
  7. 7. HOW PEOPLE WATCHOnline Video: approximately 70% of global online consumerswatch online video.Mobile Video: is already used by 11% of global onlineconsumers.Tablet PCs: are expanding the definition of mobile video.Television: is a universally important platform for videoconsumption.“Over the Top” TV: televisions with Internet connections aregaining interest.August 4, 2010 http://blog.nielsen.com/nielsenwire/global/report-how-we-watch-the-global-state-of-video-consumption/
  8. 8. NETFLIXNetflix Has Added 8 Times As Many Subscribers in 2010 As Top Pay-TV Operators, Combined November 5, 2010 http://videonuze.com/blogs/?2010-11-05/
  9. 9. HISTORY OF ONLINE VIDEO http://www.youtube.com/watch?v=jM0lF-LHWqg
  10. 10. ONLINE VIDEO TIMELINE http://www.flickr.com/photos/mraible/5174466473
  11. 11. CREATINGHow does one create video?
  12. 12. TYPES OF PROVIDERSNetflixHuluXFinity TV (Comcast)ABC, CBS, NBC, FoxiTunesYouTube
  13. 13. NO, RAW PROVIDERS!YouNetworksMovie Studios
  14. 14. DO IT YOURSELFJust Do It!SD or HD?Pick a CameraLighting and ContentBackgroundsCamera SettingsDon’t Burn Down your House http://blog.vidcompare.com/online-video/tag/online-video-production/
  15. 15. VIDEO CONTAINER FORMATSMPEG 1 / MPEG 2 - .mpgMPEG 4 - .mp4QuickTime - .movFlash Video - .flvOgg - .ogvWebM - .webmAudio Video Interleave - .avi
  16. 16. WATCHING A VIDEOVideo Player does 3 things at once: Interprets the container format for available tracks and data to decode next. Decodes the video stream and displays images on screen. Decodes the audio stream and sends sound to speakers. http://diveintohtml5.org/video.html
  17. 17. VIDEO CODECSHundreds (~230) ofvideo codecs.For the web, only 3: MP3 AAC Vorbis
  18. 18. AUDIO CODECSHundreds of audiocodecs.Most Relevant: H.264 Theora VP8
  19. 19. ENCODING PROFILESBaseline Profile Video Conferencing and MobileMain Profile Consumer BroadcastExtended Profile Streaming VideoHigh Profile HD DVD and Blu-ray Discs
  20. 20. BIT RATE AND VIDEO16 kbit/s – videophone quality (minimum necessary for a consumer-acceptable "talking head" picture using various video compressionschemes)128 – 384 kbit/s – business-oriented videoconferencing quality usingvideo compression1.15 Mbit/s – VCD quality (using MPEG1 compression)3.5 Mbit/s - Standard-definition television quality (with bit-ratereduction from MPEG-2 compression)9.8 Mbit/s – DVD (using MPEG2 compression)8 to 15 Mbit/s – HDTV quality (with bit-rate reduction from MPEG-4AVC compression) http://en.wikipedia.org/wiki/Bit_rate
  21. 21. BIT RATE AND VIDEO19 Mbit/s approximate - HDV 720p (using MPEG2compression)24 Mbit/s max - AVCHD (using MPEG4 AVC compression)25 Mbit/s approximate - HDV 1080i (using MPEG2compression)29.4 Mbit/s max – HD DVD40 Mbit/s max – Blu-ray Disc (using MPEG2, AVC or VC-1compression) http://en.wikipedia.org/wiki/Bit_rate
  22. 22. ENCODING SOFTWAREOgg Video Firefogg ffmpeg2theoraH.264 Video HandBrakeWebM ffmpeg 0.6+
  23. 23. ENCODING SOFTWAREiMovieFinal Cut ProAdobe PremierePinnacle StudioAfter AffectsWindows Movie Maker
  24. 24. PUBLISHINGHow does one publish video?
  25. 25. EDIT AND PUBLISH http://www.youtube.com/watch?v=wEC9JKQVoj0
  26. 26. YOUTUBE EMBEDhttp://www.youtube.com/watch?v=g1ZjqHX2q7EClick Embed and copy code to your website
  27. 27. YOUTUBE DOWNLOADhttp://www.youtube.com/watch?v=g1ZjqHX2q7EUse Firebug or Web Inspector to copy large file URL.Paste URL in browser to download .flv.Install Perian for QuickTime Player.Open .flv, save as .mov then embed in Keynote.
  29. 29. YOUTUBES 50 BEST VIDEOShttp://bit.ly/youtube-best50-2010
  30. 30. CHARLIE BIT MY FINGER - AGAIN!http://www.youtube.com/watch?v=_OBlgSz8sSM
  31. 31. D AV I D A F T E R D E N T I S Thttp://www.youtube.com/watch?v=txqiwrbYGrs
  32. 32. DOUBLE RAINBOWhttp://www.youtube.com/watch?v=OQSNhk5ICTI
  33. 33. http://www.youtube.com/watch?v=oHg5SJYRHA0
  34. 34. W H AT A B O U T C O M M E R C I A L V I D E O ?
  35. 35. OV PLATFORMSContent IngestEncodingStorageContent ManagementAnalyticsPlayback
  36. 36. OV PLATFORM PROVIDERSBrightcovethePlatformMagnifyOoyalaKaltura** open source platform http://www.vidcompare.com/find-online-video.php?searchType=cat&cat=2
  37. 37. CHOOSING AN OVPhttp://blog.vidcompare.com/online-video/4-vector-video-personality-matching-your-use-case-to-an-ovp/
  38. 38. MAJOR MEDIA MAKER Good solutions for the Major Media Maker are Brightcove,  Kaltura,  Ooyala, or building your own solution with JW Player or Flowplayer.http://blog.vidcompare.com/online-video/4-vector-video-personality-matching-your-use-case-to-an-ovp/
  39. 39. SOCIAL MEDIA MAVEN Good solutions for the Social Media Maven might be self server video players like Vimeo or Viddler,   or more full featured video discovery solutions like VodPod or Magnify.net.http://blog.vidcompare.com/online-video/4-vector-video-personality-matching-your-use-case-to-an-ovp/
  40. 40. BRAND BUILDING DESTINATION Good solutions for you include solutions with integrated social media tools, robust API’s, a diverse mix of on-page players,  and database driven video library pages. For an open source solution,  Kaltura offers some of these features,   as does Ooyala,  and Magnify.net powers these solutions.http://blog.vidcompare.com/online-video/4-vector-video-personality-matching-your-use-case-to-an-ovp/
  41. 41. MONETIZATION MONSTER For the hard core revenue driven site,  the number one, two and three concern is ad serving. Among the solutions for this complex integration are Brightcove,  Magnify and Ooyala.http://blog.vidcompare.com/online-video/4-vector-video-personality-matching-your-use-case-to-an-ovp/
  42. 42. CONTENT DELIVERY NETWORKPuts data close to clientOptimize capacity percustomerImproved streamquality & performanceSecurity for videosWeb Caching
  43. 43. COMMERCIAL CDNSAkamaiCDNetworksLimelightCacheflyLevel 3
  44. 44. ANALYTICSTrack page and videoviewsAnalyze and optimize2 Types: log files andpage taggingA/B Testing
  45. 45. ANALYTICS TOOLSLogfile-based: AWStats WebalizerHosted Solutions: Omniture Google Analytics Webtrends
  46. 46. ADVERTISINGIt’s how you make $$ onthe web.Good advertising isinformation.
  47. 47. ADVERTISINGhttp://www.marketingcharts.com/print/share-of-ad-spending-by-medium-december-2009-12352/
  48. 48. AD PROVIDERSGoogle AdSenseDoubleClickLightningcastFreeWheelScanScout
  49. 49. THE INGEST PROCESS http://www.cscglobaltech.com/services/video-ingestion.html
  50. 50. T H E V I D E O P L AY E R
  51. 51. HTML5HTML5 is a set of web standards being developed bythe "Web Hypertext Application Technology WorkingGroup"The HTML5 standard includes many new features formore dynamic web applications and interfaces. Onesuch component being specified and implemented isthe <video> element.
  52. 52. BROWSER CODEC SUPPORT http://diveintohtml5.org/video.html#what-works
  53. 53. HTML CODEProgressive download: <video src="video.mp4"></video>HTTP Live Streaming: <video src="http://live.stream.com/channel/ index.m3u8"></video>
  54. 54. THE <VIDEO> TAGUse “width” and “height” to size video.Use “controls” attribute to show native controls.Use “preload” to enable pre-loading of video.Use “autoplay” to play video when page loads.Can control video player with JavaScript: play() and pause() methods currentTime, volume and muted properties
  56. 56. OPEN SOURCE HTML5 VIDEO PLAYERSFlareVideo - MITVideo JS - LGPLProjekktor - GPLKaltura HTML5 VideoPlayer - MITJW Player for HTML5 -free for non-commercialSource: http://www.net-kit.com/20-html5-video-players/
  57. 57. FLASH VIDEOFlash Video was introduced in Flash Player 6 (2002)Adobe claims: 98% of U.S. web users have Flash installed. 99.3% percent of all Internet desktop users.Flash very low % on mobile devices b/c of Apple.W3C Interest Group for Web on TV
  58. 58. TOP VIDEO SITESSource: http://comscore.com
  59. 59. MAJORITY OF ONLINEVIDEO NOW IN HTML5 http://www.readwriteweb.com/archives/html5_video_market_penetration.php
  60. 60. OPEN SOURCE FLASH VIDEO PLAYERSOpen Video Player (OVP) Business-friendly licenseFlowplayer GPL or CommercialJW Player Non-commercial or $$
  61. 61. MEDIA STREAMINGReal Time Messaging Protocol (RTMP) Proprietary protocol by Adobe Requires Flash Media ServerHTTP Live Streaming Developed by Apple, submitting to IETFProgressive Download
  62. 62. FLASH VS. HTML5 PERFhttp://www.readwriteweb.com/archives/does_html5_really_beat_flash_surprising_results_of_new_tests.php
  63. 63. OTHER OPTIONSIt’s really a question of native vs.web.iPad/iPhone, useMPMoviePlayerViewControllerAndroid, use MediaPlayerWebapp with HTML5 is the mostportable, but HTML5 might not beready for primetime...
  64. 64. HULUHTML5 Isn’t Ready for Prime Time“HTML5 lacks maturity in reporting, advertising andcontent security.” http://gigaom.com/video/hulu-html5-isnt-ready-for-prime-time/
  65. 65. NETFLIXNetflix: No Plans for HTML5 Video“The Silverlight player is used for PC/Mac playbackonly, and the basic HTML5 Video doesn’t have a viableDRM solution at this point.” http://gigaom.com/video/netflix-no-plans-for-html5-video/
  66. 66. IS THERE HOPE?W3C will try to address commercial video requirementsbefore HTML5 spec completion.W3C is aiming for HTML5 spec completion by May 2011.W3C only defines web document language, notprotocols, so MP4 video and DRM are outside of theirdomain.TimedTracks just got accepted from WHATWG intoW3C HTML5.
  67. 67. A CASE STUDYBuilding an Online Video Web Application
  68. 68. BUILDING A TEAMHow We Hired a Team of 10 in 2 Months http://raibledesigns.com/rd/entry/how_we_hired_a_teamHow’s the ol’ Team Doing? http://raibledesigns.com/rd/entry/how_s_the_ol_team
  69. 69. CORD CUTTINGHow many will buy an Apple TV?How many will buy a new HD TV?How many will buy a Google TV?How many are planning on cutting the cord?What are you waiting for?
  70. 70. QUESTIONS?Contact Information http://raibledesigns.com http://twitter.com/mraibleDownload Presentation http://slideshare.net/mraible