SlideShare uma empresa Scribd logo
1 de 45
Baixar para ler offline
Video Streaming

Ing. Marco Bertini - Ing. Gianpaolo D’Amico
Università degli Studi di Firenze
Via S. Marta 3 - 50139 - Firenze - Italy
Tel.: +39-055-4796540
Fax: +39-055-4796363
E-mail: bertini@dsi.unifi.it
Web: http://viplab.dsi.unifi.it/
Program:

    Module 1:
       What is streaming?
       Video and Internet
       Transmissions protocols


    Module 2:
       Shooting, Capturing,   Editing, Serving, Playing;
       Technologies;
       Resources   and case studies;
What is streaming?
Streaming concept

Streaming was first introduced by RealNetworks some years ago.

It consists of a technique for making video, audio and other multimedia available quickly
via the Internet.

The advantage of streaming is that it can enable easier access to multimedia resources.

Another possibility is the integration of video and audio with other web-based applications,
such as chat and other real-time collaboration tools.
What is streaming?

Streaming vs. downloading

What Is The Difference Between Downloading and Streaming?

When you download a video, you have to copy the entire file to your hard
disk before you can play it.
What is streaming?

Streaming vs. downloading 2

What Is The Difference Between Downloading and Streaming?

When the video is streamed, there is a small wait as the stream 'buffers' but there is
no need to save the file.

Streaming is the act of sending media files (audio and/or video) over the Internet from
one computer to another computer so that the media plays as it is being delivered.
What is streaming?
Streaming categories

         Live
         When an event is delivered via the Internet at the same time it
         is happening.
         Example: live concerts, live radio, videoconferences.


         On Demand
         When the event is recorded on a digital support and saved in a
         server and after made accessible by Internet users.
         Example: video clips, movies trailers.
Recap of Streaming Media
  Why using this technology?
   o  To overcome limitations of WWW.
  What is streaming media?
  Streaming is not
   o  Download all before playback is able
   o  Media created with software like
      Macromedia Flash.
  Major streaming formats
   o  Microsoft Windows Media
   o  Real Networks
   o  Apple Quicktime
Streaming Video
 •    Progressive streaming
      •    Download a compressed video file to your
           hard drive via HTTP over the Internet
      •    Use standard web server
      •    Quality is better than real-time streaming
 •    Real-time streaming
      •    Don’t need to download the entire video
           before playing
      •    Require a special streaming server
Why Streaming Media?
  No waiting for complete downloads.
  Streamed files are not written to
   disk.
  Presentation of live events is
   possible.
  Enhance static web pages.
Video and Internet
Possible applications


Internet radio
Internet tv
E-commerce website
Training video
Video conference
Remote presence
Classroom setting
Realtime collaboration

  Audio + video + animation = multimedia    RIA
                                            Rich
    mouse + keyboard + user = interaction   Internet
                                            Applications
Video and Internet
How does streaming work?


The streaming media development process
Video and Internet

How does streaming work?

How Is Streaming Different From Broadcasting?

Delivery of broadcast TV:

- Broadcast “blankets” the area with its
signal (persistent);
-  TVs are standardized by region. Every TV
knows how to receive TV Broadcast;
-  Any TV can “reach up and grab” broadcast
signal and pulls it down to set;
-  broadcast doesn’t reach every “air” is (line of
sight);
-  TVs outside the broadcast line of sight can’t
grab signal
Video and Internet

How does streaming work?

How Is Streaming Different From Broadcasting?

Delivery of streaming video:

-  server only sends signal out to computers which want it
(signal is not persistent);
-  computer media players are not compatible with one other;
-  computer must request video stream. Media player must be
compatible;
-  No physical barriers: stream can reach anywhere on the
Internet;
-  Computers must meet minimum bandwidth requirements
Video and Internet

How does streaming work?

Streaming media playback in theory
  Web       bandwidth




Source: http://www.adobe.com/products/aftereffects/pdfs/
AdobeStr.pdf
Internet Media
Streaming                        DSL
                                                   Streaming client

Media Server



                      Internet     56K modem


                                    wireless

Best-effort packet network Challenges
  •  low bit-rate                •  compression
  •  variable throughput         •  rate scalability
  •  variable loss               •  error resiliency
  •  variable delay              •  low latency
Transmissions protocols
In general there are two methods to deliver a media file on the Web: by a normal web
server with the HTTP protocol, or by a dedicated server (streaming server) with the
RTSP protocol (Real Time Streaming Protocol) or another similar streaming protocol.

HTTP protocol
based on TCP/IP, it was created to deliver text and images files, not streaming media
files. The normal process of an HTTP request consists of the communication opening
between the client (the browser) and the web server, the file request, the file delivering
and the closing of the connection. There’s no space to “play” a file.
RTP protocol
Layered on top of UDP, so there’s no error handling or reliability. One-to-one or one-to-
many (original goal) transmission. Includes payload type identification, sequence
numbering and time stamping (SMPTE timecode).
RTSP protocol
based on TCP for communication and usually layered on top of RTP, it is dedicated to
streaming. By this protocol you can control the file time "duration“, which can be played
with different speed, can be controlled by the server, can be stopped and played again,
and its playing can be changed at runtime depending on different parameters.
    RTP is one way
     stream, RTSP
     enables control
     of streaming
     media (two way,
     like HTTP)
Transmissions protocols
    RTSP (Real Time Streaming Protocol)
     high priority on continuous streaming rather than
     on absolute document security
    RTMP (Real Time Messaging Protocol)
     Is a proprietary protocol developed by Adobe
     Systems used with Macromedia Flash Media
     Server to stream to the Adobe Flash Player client.
    MMS (Microsoft Media Server).
     This server cluster is able to handle up to 30,000
     20k streams concurrently
Transmissions protocols
- TCP
- UDP

- RTSP (RealTime Streaming Protocol)
          Real Networks
          QuickTime
          Windows Media (default)
- MMS (Microsoft Media Server)
          Microsoft
          MMSU/MMST
          MSBD (Media Stream Broadcast Distribution)

- RTMP (Real Time Messaging protocol )
          Macromedia Flash

- HTTP
          slower
          transparent to firewall
          lack of streaming functionalities
RTSP / RTP


               RTSP Control Connection (usually TCP)
                              SETUP                PLAY
    DESCRIBE                  request              request
    request                             SETUP                 PLAY
                   DESCRIBE              reply                reply
                     reply




     RTP Data Stream          (UDP)

    Media Packet       Media Packet     Media Packet     Media Packet



                Report                             Report
Unicast vs. Multicast
Multiple Bit Rate Encoding
    Combine several different streams
     into a single file

    The appropriate bit rate stream is
     automatically selected
The development process


Content planning 1

- Narrative
like conventional film and television, video streaming is all about telling stories.

- What is special about streaming?
unlike conventional film, some media are often displayed and used with other web
resources such as web pages, animation, and messaging, which enrich the user
experience. In addition, in digital media there is less emphasis on sequential narrative

- Scripts and storyboards
What you have to say (script) and what do you want to show (storyboard)
The development process

Content planning 2

- Shooting video for streaming

How you actually shoot your subject depends on the subject and how you intend to use
the video.

Some tips to consider for a single lecturer for example:

•  Composition
•  Timing
•  Movement
•  User-orientation
The development process
Content planning 3

- Preparing for filming

Live broadcasts
Location
Shooting the subject
          close up
Shooting for streaming
          keep it simple !
Simple background
Tips for shooting
          even lighting
          not too much action or camera movement
The presenter
The development process

The equipment

Video camera
Tripod
Microphone
Lights
Capture card
Computer
Encoding software
Streaming server
                    Shaky
                    camera:
                    troubles
                    for the
                    encoder
The development process

Capturing the video

What computer hardware will you need?

Capturing from digital

Capturing from analogue

What software will I need?
Capturing Video
  Get  all data to the computer
   digitally.
  Use highest possible quality
   settings.
  25 fps for video and 16-bit for
   audio is suitable.
Capturing Video tips
  Resize  the frame at 4:3 ratio when
  digitizing it
   Keep  width and height multiple of 16, for the
    codec
   Eventually crop some pixels before resizing,
    to keep aspect ratio
  Deinterlace
The development process

Alternatives to filming

- Existing video material resources
- Audio only
- Screen capture software
- Macromedia Flash
The development process

Editing

- Editing tips for streaming

Save an original copy
File formats
          deinterlace: it’s frame not field !
Crop the film
          multiple of 16x16
Reduce the picture size.
Do not use too many special effects
          titles outside of video frame
Keep the clips short
Avoid background sounds such as music or talking
Enhance the audio signal
The development process
    Encoders and players

    Encoding, two main questions:

     What media player will be used (e.g. Windows Media
     Player, RealOne media player, Flash)?
     What Internet connection speed will be available?
     There is usually the option of delivering different quality
     of streams to users with different connection speeds.

    Use the multiple bit rate encoding features of the
     streaming encoder
Edit
  AdobePremiere – tool for digital
 video editing
   Putclips together
   Make transitions
   Add effects
   Adding sound

  Composea video production for
 streaming
Some Advices :
  Don’t add too much effects
   (transitions, dissolves, 3D-text etc.)
  Sometimes video sequences could be
   replaced with slow-motion or still
   images
  Make titles large and simple
  Audio
Integration With SMIL
    SMIL let you choreograph rich media
     presentations
    SMIL is to streaming servers what HTML is
     to web servers
    You bring together your presentations
     using SMIL
    RealNetworks supports SMIL in its player
       Also   IE >= 5.5 supports SMIL in HTML files
Technologies
Technologies
    Real Networks                Apple Quicktime
       RealPlayer                   Quicktime Player
       RealProducer                 QuickTimeStreaming
       RealServer                    Server
        Helix OpenSource             Darwin OpenSource


    Microsoft (WMT)              Macromedia Flash
       WindowsMediaPlayer           Flash Player
       WindowsMediaEncoder
                                     Communication Server Mx
       WindowsMediaServer
    Macromedia/Adobe uses On2 VP6 or Sorenson
     codec for Flash video (FLV)
    Flash video does also real streaming

    Note: Google Video/YouTube use Flash video
     (and also all the other video sharing services:
     the player is embedded in the web page)
Streaming Server
  To use real time streaming you must
   use specific streaming servers.
  To upload data to a streaming
   server, you must save the data in a
   data type format that the server is
   able to stream.

  For   example, SMIL -file.
Streaming Server…
  Microsoft,
            Real networks and Apple
 also provide streaming servers.

  Streamingservers for real time
 streaming do not use the same
 protocols as an ordinary HTTP
 server.
Pros of Streaming Servers
    Can broadcast and multicast (one stream
     to many users)
    Doesn’t leave a copy of the users hard
     drive (if the user does not use straming
     capture programs…)
    Bandwidth usage can adjust to conditions
Cons of Streaming Servers
  The  data that get lost in the
   transmission get lost forever
  Playback or data can be delayed or
   disrupted because the data rate gets
   bigger than the bandwidth

  Firewalls   may not allow streaming
 files pass
Streaming Media Today
  Is used for movie trailers
  Live broadcasting
The Future
  Ifthe user has a fast connection,
   streaming media is a practical way
   for broadcasting multimedia
  The future for streaming is bright
  Entire movies can probably be
   streamed
  The technology will be improved
  Distance courses by streaming media

Mais conteúdo relacionado

Mais procurados

Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
Intro to Multimedia Systems
Intro to Multimedia SystemsIntro to Multimedia Systems
Intro to Multimedia Systemsjunliwanag
 
Chapter 3 - Fundamental Concepts in Video and Digital Audio.ppt
Chapter 3 - Fundamental Concepts in Video and Digital Audio.pptChapter 3 - Fundamental Concepts in Video and Digital Audio.ppt
Chapter 3 - Fundamental Concepts in Video and Digital Audio.pptBinyamBekele3
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGEazira96
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerSonali Chauhan
 
Multimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animationMultimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animationBadar Waseer
 
Multimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsMultimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsBadar Waseer
 
Chapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetChapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetPratik Pradhan
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference ModelMukesh Tekwani
 
Multimedia Planning
Multimedia PlanningMultimedia Planning
Multimedia Planninglunkyo
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software toolsJay Patel
 

Mais procurados (20)

Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Hdtv technology
Hdtv technologyHdtv technology
Hdtv technology
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
Intro to Multimedia Systems
Intro to Multimedia SystemsIntro to Multimedia Systems
Intro to Multimedia Systems
 
Isdn networking
Isdn networkingIsdn networking
Isdn networking
 
Digital video
Digital videoDigital video
Digital video
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Chapter 3 - Fundamental Concepts in Video and Digital Audio.ppt
Chapter 3 - Fundamental Concepts in Video and Digital Audio.pptChapter 3 - Fundamental Concepts in Video and Digital Audio.ppt
Chapter 3 - Fundamental Concepts in Video and Digital Audio.ppt
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Mobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen SchillerMobile Communication Broadcast System Jochen Schiller
Mobile Communication Broadcast System Jochen Schiller
 
Sound
SoundSound
Sound
 
Multimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animationMultimedia System & Design Ch 6 animation
Multimedia System & Design Ch 6 animation
 
Multimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsMultimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skills
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
Chapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The InternetChapter 9 -Multimedia on The Internet
Chapter 9 -Multimedia on The Internet
 
Video
VideoVideo
Video
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Multimedia Planning
Multimedia PlanningMultimedia Planning
Multimedia Planning
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 

Destaque

Realtime video streaming the open source way
Realtime video streaming the open source wayRealtime video streaming the open source way
Realtime video streaming the open source wayibelmonte
 
Dynamic Adaptive Streaming over HTTP/2.0
Dynamic Adaptive Streaming over HTTP/2.0Dynamic Adaptive Streaming over HTTP/2.0
Dynamic Adaptive Streaming over HTTP/2.0Christopher Mueller
 
AMC Summer Interns Think Tank Presentation v4
AMC Summer Interns Think Tank Presentation v4AMC Summer Interns Think Tank Presentation v4
AMC Summer Interns Think Tank Presentation v4Brianna Woodward
 
Apple's live http streaming
Apple's live http streamingApple's live http streaming
Apple's live http streamingYoss Cohen
 
Apple hls technical presentation
Apple hls technical presentationApple hls technical presentation
Apple hls technical presentationBuddhi
 
Http Live Streaming Intro
Http Live Streaming IntroHttp Live Streaming Intro
Http Live Streaming IntroVonbo
 
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)Chris Adamson
 
Adaptive Media Streaming: The Role of Standards
Adaptive Media Streaming: The Role of StandardsAdaptive Media Streaming: The Role of Standards
Adaptive Media Streaming: The Role of StandardsAlpen-Adria-Universität
 
2011_12_4K research in PSNC
2011_12_4K research in PSNC2011_12_4K research in PSNC
2011_12_4K research in PSNCmglowiak
 
Nosql redis-mongo
Nosql redis-mongoNosql redis-mongo
Nosql redis-mongoibelmonte
 
Remote monitoring system
Remote monitoring systemRemote monitoring system
Remote monitoring systemPk Doctors
 
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 Network
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 NetworkRTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 Network
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 NetworkFranZEast
 
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 Network
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 NetworkRTSP Protocol Analysis Of A Streaming Thorugh IPv6 Network
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 NetworkFranZEast
 
Using DASH and MPEG-2 TS
Using DASH and MPEG-2 TSUsing DASH and MPEG-2 TS
Using DASH and MPEG-2 TSAlex Giladi
 
Live streaming of video and subtitles with MPEG-DASH
Live streaming of video and subtitles with MPEG-DASHLive streaming of video and subtitles with MPEG-DASH
Live streaming of video and subtitles with MPEG-DASHCyril Concolato
 
Ebu mpeg dash-webinar043
Ebu mpeg dash-webinar043Ebu mpeg dash-webinar043
Ebu mpeg dash-webinar043mc_killah
 

Destaque (18)

Realtime video streaming the open source way
Realtime video streaming the open source wayRealtime video streaming the open source way
Realtime video streaming the open source way
 
Dynamic Adaptive Streaming over HTTP/2.0
Dynamic Adaptive Streaming over HTTP/2.0Dynamic Adaptive Streaming over HTTP/2.0
Dynamic Adaptive Streaming over HTTP/2.0
 
Rtsp
RtspRtsp
Rtsp
 
AMC Summer Interns Think Tank Presentation v4
AMC Summer Interns Think Tank Presentation v4AMC Summer Interns Think Tank Presentation v4
AMC Summer Interns Think Tank Presentation v4
 
Fluzz capítulo 3
Fluzz capítulo 3Fluzz capítulo 3
Fluzz capítulo 3
 
Apple's live http streaming
Apple's live http streamingApple's live http streaming
Apple's live http streaming
 
Apple hls technical presentation
Apple hls technical presentationApple hls technical presentation
Apple hls technical presentation
 
Http Live Streaming Intro
Http Live Streaming IntroHttp Live Streaming Intro
Http Live Streaming Intro
 
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)
Mobile Movies with HTTP Live Streaming (CocoaConf DC, March 2013)
 
Adaptive Media Streaming: The Role of Standards
Adaptive Media Streaming: The Role of StandardsAdaptive Media Streaming: The Role of Standards
Adaptive Media Streaming: The Role of Standards
 
2011_12_4K research in PSNC
2011_12_4K research in PSNC2011_12_4K research in PSNC
2011_12_4K research in PSNC
 
Nosql redis-mongo
Nosql redis-mongoNosql redis-mongo
Nosql redis-mongo
 
Remote monitoring system
Remote monitoring systemRemote monitoring system
Remote monitoring system
 
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 Network
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 NetworkRTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 Network
RTSP Streaming Server - Demo Streaming RTSP Protocol Over IPv6 Network
 
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 Network
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 NetworkRTSP Protocol Analysis Of A Streaming Thorugh IPv6 Network
RTSP Protocol Analysis Of A Streaming Thorugh IPv6 Network
 
Using DASH and MPEG-2 TS
Using DASH and MPEG-2 TSUsing DASH and MPEG-2 TS
Using DASH and MPEG-2 TS
 
Live streaming of video and subtitles with MPEG-DASH
Live streaming of video and subtitles with MPEG-DASHLive streaming of video and subtitles with MPEG-DASH
Live streaming of video and subtitles with MPEG-DASH
 
Ebu mpeg dash-webinar043
Ebu mpeg dash-webinar043Ebu mpeg dash-webinar043
Ebu mpeg dash-webinar043
 

Semelhante a Video Streaming

Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streamingRohan Bhatkar
 
Streaming Media over the Internet
Streaming Media over the InternetStreaming Media over the Internet
Streaming Media over the InternetVideoguy
 
Wowza Ultra-Low Latency Streaming
Wowza Ultra-Low Latency StreamingWowza Ultra-Low Latency Streaming
Wowza Ultra-Low Latency StreamingRyan Jespersen
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGRagheb Gmira
 
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...IRJET Journal
 
WebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonWebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonAlan Quayle
 
International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER) ijceronline
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimediaKhánh Ghẻ
 
GlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots
 
Chapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpChapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpPratik Pradhan
 
Module 2 3
Module 2 3Module 2 3
Module 2 3ryanette
 

Semelhante a Video Streaming (20)

WEEK 1
WEEK 1WEEK 1
WEEK 1
 
Internet Video
Internet VideoInternet Video
Internet Video
 
Internet TV
Internet TVInternet TV
Internet TV
 
Multimedia Streaming Architecture
Multimedia Streaming ArchitectureMultimedia Streaming Architecture
Multimedia Streaming Architecture
 
Last videoppt
Last videopptLast videoppt
Last videoppt
 
Audio And Video Over Internet
Audio And Video Over InternetAudio And Video Over Internet
Audio And Video Over Internet
 
Streaming
StreamingStreaming
Streaming
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streaming
 
Streaming Media over the Internet
Streaming Media over the InternetStreaming Media over the Internet
Streaming Media over the Internet
 
Wowza Ultra-Low Latency Streaming
Wowza Ultra-Low Latency StreamingWowza Ultra-Low Latency Streaming
Wowza Ultra-Low Latency Streaming
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMING
 
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
 
WebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonWebRTC Standards from Tim Panton
WebRTC Standards from Tim Panton
 
International Journal of Computational Engineering Research(IJCER)
 International Journal of Computational Engineering Research(IJCER)  International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Dos presentation by ahlam shakeel
Dos presentation by ahlam shakeelDos presentation by ahlam shakeel
Dos presentation by ahlam shakeel
 
1508
15081508
1508
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
 
GlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming WorksGlobalDots - How Video Streaming Works
GlobalDots - How Video Streaming Works
 
Chapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over IpChapter 6 - Multimedia Over Ip
Chapter 6 - Multimedia Over Ip
 
Module 2 3
Module 2 3Module 2 3
Module 2 3
 

Mais de Videoguy

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingVideoguy
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresVideoguy
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingVideoguy
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksVideoguy
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streamingVideoguy
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideoguy
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader AudienceVideoguy
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Videoguy
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGVideoguy
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingVideoguy
 
Application Brief
Application BriefApplication Brief
Application BriefVideoguy
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Videoguy
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second LifeVideoguy
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming SoftwareVideoguy
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoguy
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video FormatenVideoguy
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareVideoguy
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxVideoguy
 
Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Videoguy
 

Mais de Videoguy (20)

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video Streaming
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_Pres
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video Streaming
 
Adobe
AdobeAdobe
Adobe
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streaming
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A Survey
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader Audience
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video Streaming
 
Application Brief
Application BriefApplication Brief
Application Brief
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second Life
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming Software
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions Cookbook
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video Formaten
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming Software
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - Firefox
 
Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0
 

Video Streaming

  • 1. Video Streaming Ing. Marco Bertini - Ing. Gianpaolo D’Amico Università degli Studi di Firenze Via S. Marta 3 - 50139 - Firenze - Italy Tel.: +39-055-4796540 Fax: +39-055-4796363 E-mail: bertini@dsi.unifi.it Web: http://viplab.dsi.unifi.it/
  • 2. Program:   Module 1:   What is streaming?   Video and Internet   Transmissions protocols   Module 2:   Shooting, Capturing, Editing, Serving, Playing;   Technologies;   Resources and case studies;
  • 3. What is streaming? Streaming concept Streaming was first introduced by RealNetworks some years ago. It consists of a technique for making video, audio and other multimedia available quickly via the Internet. The advantage of streaming is that it can enable easier access to multimedia resources. Another possibility is the integration of video and audio with other web-based applications, such as chat and other real-time collaboration tools.
  • 4. What is streaming? Streaming vs. downloading What Is The Difference Between Downloading and Streaming? When you download a video, you have to copy the entire file to your hard disk before you can play it.
  • 5. What is streaming? Streaming vs. downloading 2 What Is The Difference Between Downloading and Streaming? When the video is streamed, there is a small wait as the stream 'buffers' but there is no need to save the file. Streaming is the act of sending media files (audio and/or video) over the Internet from one computer to another computer so that the media plays as it is being delivered.
  • 6. What is streaming? Streaming categories Live When an event is delivered via the Internet at the same time it is happening. Example: live concerts, live radio, videoconferences. On Demand When the event is recorded on a digital support and saved in a server and after made accessible by Internet users. Example: video clips, movies trailers.
  • 7. Recap of Streaming Media   Why using this technology? o  To overcome limitations of WWW.   What is streaming media?   Streaming is not o  Download all before playback is able o  Media created with software like Macromedia Flash.   Major streaming formats o  Microsoft Windows Media o  Real Networks o  Apple Quicktime
  • 8. Streaming Video •  Progressive streaming •  Download a compressed video file to your hard drive via HTTP over the Internet •  Use standard web server •  Quality is better than real-time streaming •  Real-time streaming •  Don’t need to download the entire video before playing •  Require a special streaming server
  • 9. Why Streaming Media?   No waiting for complete downloads.   Streamed files are not written to disk.   Presentation of live events is possible.   Enhance static web pages.
  • 10. Video and Internet Possible applications Internet radio Internet tv E-commerce website Training video Video conference Remote presence Classroom setting Realtime collaboration Audio + video + animation = multimedia RIA Rich mouse + keyboard + user = interaction Internet Applications
  • 11. Video and Internet How does streaming work? The streaming media development process
  • 12. Video and Internet How does streaming work? How Is Streaming Different From Broadcasting? Delivery of broadcast TV: - Broadcast “blankets” the area with its signal (persistent); -  TVs are standardized by region. Every TV knows how to receive TV Broadcast; -  Any TV can “reach up and grab” broadcast signal and pulls it down to set; -  broadcast doesn’t reach every “air” is (line of sight); -  TVs outside the broadcast line of sight can’t grab signal
  • 13. Video and Internet How does streaming work? How Is Streaming Different From Broadcasting? Delivery of streaming video: -  server only sends signal out to computers which want it (signal is not persistent); -  computer media players are not compatible with one other; -  computer must request video stream. Media player must be compatible; -  No physical barriers: stream can reach anywhere on the Internet; -  Computers must meet minimum bandwidth requirements
  • 14. Video and Internet How does streaming work? Streaming media playback in theory
  • 15.   Web bandwidth Source: http://www.adobe.com/products/aftereffects/pdfs/ AdobeStr.pdf
  • 16. Internet Media Streaming DSL Streaming client Media Server Internet 56K modem wireless Best-effort packet network Challenges •  low bit-rate •  compression •  variable throughput •  rate scalability •  variable loss •  error resiliency •  variable delay •  low latency
  • 17. Transmissions protocols In general there are two methods to deliver a media file on the Web: by a normal web server with the HTTP protocol, or by a dedicated server (streaming server) with the RTSP protocol (Real Time Streaming Protocol) or another similar streaming protocol. HTTP protocol based on TCP/IP, it was created to deliver text and images files, not streaming media files. The normal process of an HTTP request consists of the communication opening between the client (the browser) and the web server, the file request, the file delivering and the closing of the connection. There’s no space to “play” a file. RTP protocol Layered on top of UDP, so there’s no error handling or reliability. One-to-one or one-to- many (original goal) transmission. Includes payload type identification, sequence numbering and time stamping (SMPTE timecode). RTSP protocol based on TCP for communication and usually layered on top of RTP, it is dedicated to streaming. By this protocol you can control the file time "duration“, which can be played with different speed, can be controlled by the server, can be stopped and played again, and its playing can be changed at runtime depending on different parameters.
  • 18.   RTP is one way stream, RTSP enables control of streaming media (two way, like HTTP)
  • 19. Transmissions protocols   RTSP (Real Time Streaming Protocol) high priority on continuous streaming rather than on absolute document security   RTMP (Real Time Messaging Protocol) Is a proprietary protocol developed by Adobe Systems used with Macromedia Flash Media Server to stream to the Adobe Flash Player client.   MMS (Microsoft Media Server). This server cluster is able to handle up to 30,000 20k streams concurrently
  • 20. Transmissions protocols - TCP - UDP - RTSP (RealTime Streaming Protocol) Real Networks QuickTime Windows Media (default) - MMS (Microsoft Media Server) Microsoft MMSU/MMST MSBD (Media Stream Broadcast Distribution) - RTMP (Real Time Messaging protocol ) Macromedia Flash - HTTP slower transparent to firewall lack of streaming functionalities
  • 21. RTSP / RTP RTSP Control Connection (usually TCP) SETUP PLAY DESCRIBE request request request SETUP PLAY DESCRIBE reply reply reply RTP Data Stream (UDP) Media Packet Media Packet Media Packet Media Packet Report Report
  • 23. Multiple Bit Rate Encoding   Combine several different streams into a single file   The appropriate bit rate stream is automatically selected
  • 24. The development process Content planning 1 - Narrative like conventional film and television, video streaming is all about telling stories. - What is special about streaming? unlike conventional film, some media are often displayed and used with other web resources such as web pages, animation, and messaging, which enrich the user experience. In addition, in digital media there is less emphasis on sequential narrative - Scripts and storyboards What you have to say (script) and what do you want to show (storyboard)
  • 25. The development process Content planning 2 - Shooting video for streaming How you actually shoot your subject depends on the subject and how you intend to use the video. Some tips to consider for a single lecturer for example: •  Composition •  Timing •  Movement •  User-orientation
  • 26. The development process Content planning 3 - Preparing for filming Live broadcasts Location Shooting the subject close up Shooting for streaming keep it simple ! Simple background Tips for shooting even lighting not too much action or camera movement The presenter
  • 27. The development process The equipment Video camera Tripod Microphone Lights Capture card Computer Encoding software Streaming server Shaky camera: troubles for the encoder
  • 28. The development process Capturing the video What computer hardware will you need? Capturing from digital Capturing from analogue What software will I need?
  • 29. Capturing Video   Get all data to the computer digitally.   Use highest possible quality settings.   25 fps for video and 16-bit for audio is suitable.
  • 30. Capturing Video tips   Resize the frame at 4:3 ratio when digitizing it  Keep width and height multiple of 16, for the codec  Eventually crop some pixels before resizing, to keep aspect ratio   Deinterlace
  • 31. The development process Alternatives to filming - Existing video material resources - Audio only - Screen capture software - Macromedia Flash
  • 32. The development process Editing - Editing tips for streaming Save an original copy File formats deinterlace: it’s frame not field ! Crop the film multiple of 16x16 Reduce the picture size. Do not use too many special effects titles outside of video frame Keep the clips short Avoid background sounds such as music or talking Enhance the audio signal
  • 33. The development process   Encoders and players   Encoding, two main questions: What media player will be used (e.g. Windows Media Player, RealOne media player, Flash)? What Internet connection speed will be available? There is usually the option of delivering different quality of streams to users with different connection speeds.   Use the multiple bit rate encoding features of the streaming encoder
  • 34. Edit   AdobePremiere – tool for digital video editing  Putclips together  Make transitions  Add effects  Adding sound   Composea video production for streaming
  • 35. Some Advices :   Don’t add too much effects (transitions, dissolves, 3D-text etc.)   Sometimes video sequences could be replaced with slow-motion or still images   Make titles large and simple   Audio
  • 36. Integration With SMIL   SMIL let you choreograph rich media presentations   SMIL is to streaming servers what HTML is to web servers   You bring together your presentations using SMIL   RealNetworks supports SMIL in its player   Also IE >= 5.5 supports SMIL in HTML files
  • 38. Technologies   Real Networks   Apple Quicktime   RealPlayer   Quicktime Player   RealProducer   QuickTimeStreaming   RealServer Server Helix OpenSource   Darwin OpenSource   Microsoft (WMT)   Macromedia Flash   WindowsMediaPlayer   Flash Player   WindowsMediaEncoder   Communication Server Mx   WindowsMediaServer
  • 39.   Macromedia/Adobe uses On2 VP6 or Sorenson codec for Flash video (FLV)   Flash video does also real streaming   Note: Google Video/YouTube use Flash video (and also all the other video sharing services: the player is embedded in the web page)
  • 40. Streaming Server   To use real time streaming you must use specific streaming servers.   To upload data to a streaming server, you must save the data in a data type format that the server is able to stream.   For example, SMIL -file.
  • 41. Streaming Server…   Microsoft, Real networks and Apple also provide streaming servers.   Streamingservers for real time streaming do not use the same protocols as an ordinary HTTP server.
  • 42. Pros of Streaming Servers   Can broadcast and multicast (one stream to many users)   Doesn’t leave a copy of the users hard drive (if the user does not use straming capture programs…)   Bandwidth usage can adjust to conditions
  • 43. Cons of Streaming Servers   The data that get lost in the transmission get lost forever   Playback or data can be delayed or disrupted because the data rate gets bigger than the bandwidth   Firewalls may not allow streaming files pass
  • 44. Streaming Media Today   Is used for movie trailers   Live broadcasting
  • 45. The Future   Ifthe user has a fast connection, streaming media is a practical way for broadcasting multimedia   The future for streaming is bright   Entire movies can probably be streamed   The technology will be improved   Distance courses by streaming media