Español

Tutorials

 
Tutorials

Video on demand (VOD): Progressive download vs streaming

NOTE: This page is not being maintained anymore, an updated document regarding "Progressive download vs streaming", made by WebTV Solutions, can be found in the following page:
https://www.webtvsolutions.com/support.php?s=other_docs&d=streaming_progressive_vs_streaming&lang=en
One of the most frequent questions regarding video on demand playback is: What is the difference between progressive download and streaming?. You will find the answer bellow.

Progressive download (HTTP)

When you store your video files on a conventional Web server and the files are downloaded through HTTP, then we are talking about "progressive download". This is the default method on Simple Web TV because it only requires a conventional Web server in order to playback your videos. Progressive (HTTP) download is the most common method for transferring files over Internet: when you visit a Web site, all of its elements, text and images, are transferred in this way.

¿What happens when a video is played back through HTTP?
Very simple: the WebTV (the video player) request the file to the Web server and the server start transferring the whole file to the WebTV.

Pros:
- All you need is a conventional Web server.
- Once the video file has been fully transferred (downloaded), it is possible to start playback at any point without having to wait (remember: the whole video has been stored in the computer).
Cons:
- In order to start the playback from a particular point of the video you will need to wait until it that point has been downloaded; if the video has a duration of 30minutes and you wish to start playback at min. 25, you will have to wait... wait until almost the whole file has been downloaded (until minute 25) in order to start the playback.
- Since the whole video file is downloaded, it is very easy to copy.
- Huge waste of bandwidth, specially on large video files. ¿Why? Let´s explain this with an example... Supose a user has a fast Internet connection and starts playing back one of your "long" videos (several minutes in length), but this user, after watching for just 30sec. , leave your WebTV or start playing back another video. If the Internet connection speed is fast enough, maybe those 30 seconds were enough for downloading the whole video file of several minutes in length, therefore causing a huge waste of bandwidth.

Streaming

Contrary to progressive download, streaming is done through specialized servers (media servers) which are optimized for transferring digital video/audio. The transference is done by messages that are sent/received between the WebTV (the video player) and the media server. The "digital conversation" has two sides: one is for transferring data and the other is for sending control messages like "play", "pause", "seek"... Simple Web TV, through the LiveClips extension, allows you to use media servers to playback videos using streaming.

¿What happens when a video is played back using streaming?
The WebTV (the video player) connects with the media server and the server starts transferring, to the WebTV, the "fragment" of video being watched. The "fragment" of video correspond to the current playing time plus a "buffer" of some seconds in length, to guarantee a smooth playback. The video file is never transferred as a whole.

Pros:
- It is possible to start playback at any point of the video without having to wait for the full download. Playback is almost immediate.
- Bandwidth saving because only the video that is being watched (plus a small buffer) is transferred to the users.
- Better protection for your videos, because the video file is not stored in the users´s computer; therefore, it is more difficult to copy.
Cons:
- More costly: a media server or CDN (with streaming support) is required.



 
WebTV | Video Portal | IPTV | Streaming | Internet TV | Video Web | H.264 FLV F4V Flash TMKPlayer | HD Video