Google Answers Logo
View Question
 
Q: Television Broadcasting via the Internet ( Answered 4 out of 5 stars,   3 Comments )
Question  
Subject: Television Broadcasting via the Internet
Category: Computers > Internet
Asked by: toffo-ga
List Price: $30.00
Posted: 14 Jun 2002 12:35 PDT
Expires: 21 Jun 2002 12:35 PDT
Question ID: 26024
How does the technology that allows you to broadcast television
signals over the internet work? Including information of bandwidth,
and compression techniques
Answer  
Subject: Re: Television Broadcasting via the Internet
Answered By: wengland-ga on 14 Jun 2002 13:42 PDT
Rated:4 out of 5 stars
 
Greetings!

Finally, a question I already know the answer to.  I've been working
with digital video since about 1999 and broadcast video since the late
1980s.

Broadcasting live or pre-recorded television signals over the internet
has been going on for many years now, and is getting very specialied. 
In a nutshell, you begin with an analog TV signal off of video tape or
a camera.  This signal is converted into digital data.  The digital
signal is then specially processed to optimize it for compression. 
The signal is then compressed and transmitted over the Internet.

Digital video compression is a huge field of study.  Simply put, NTSC
video is made up of 30 frames of information, or pictures, per second.
 Most of this information is redundant and can be easily represented
by a formula, rather than discrete bits.  For example, if the top
1/3rd of a picture is a uniform blue, instead of storing all the bits
that say 'blue', you convert that into a formula that says the same
thing.  This is how JPEG compression works.  You do loose some
information this way - the colors or shapes are averaged out over
certain areas.  There may be 200 shades of blue in that top 1/3rd, but
they are close enough together to represent them as a single blue.
That is why this type of compression is called 'lossy' - you discard a
certain amount of the information.

Additionally, in TV, many of the frames consist of the same thing -
static backgrounds, unmoving characters, etc.  Thus, you can encode
across many frames information that does not change.  This is the
basis of MPEG compression as well as many other proprietary
compression schemes.  MPEG compression takes one frame, an 'I' frame
every so often, and compresses it like a JPEG.  Then, each frame that
follows, up until the next 'I' frame, is compared to the first I frame
and compressed accordingly.  MPEG is also a lossy compression routine.

Other compression routines may vary slightly in their implementation,
but most work in this general manner.

Bandwidth for transmitting a signal is directly related to how
compressed the signal is.  All consumer digital video is compressed to
some degree or another.  Even the excellent picture from a DVD is
compressed to about 6 megabits a second via MPEG-2 compression.  Raw
digital video takes an enormous amount of space.

Determining the compression to use is often based upon the audience
you are attempting to reach.  If they all are on 56k dialup lines, you
will reduce the size of your video, reduce the frame rate and employ
very high compression.  This results in poor video quality, but it is
viewable.  However, if you are targeting an intranet where all the PCs
are connected via 100 megabit ethernet connections on a LAN, you can
use much larger video, at full frame rate, and with less compression.

One minute of uncompressed full frame NTSC video takes roughly 1.8
gigabytes of data.  However, one minute of well compressed video data
can take as little 120 kilobytes.

Beyond compression and basic bandwidth issues is the aggregate impact
of that bandwidth on your backbone connection.  If you have 100 users
all viewing a 100kbyte stream, you've quickly used up a huge amount of
bandwidth.  This is very expensive and not cost effective.  There are
two general ways around this.

First, you can disperse the streaming servers around so that many
people will connect to many different servers.  This is the way the
most video broadcasts over the Internet work.

Secondly, you can use 'multicasting', where one signal is sent from
your server, and is divide up down stream by the routers to the
individual viewers.  Unfortunatley, multicasting is not widely
supported on the Internet yet.  There are a variety of whitepapers
discussion multicasting strategies at
http://www.itpapers.com/cgi/SubcatIT.pl?scid=62
(free registration required)

Below is a lot of further reading - this topic can take months to
understand and years to master.  Best of luck, and if you need further
clarification, please feel free to ask.


Basics of compression:
http://desktopvideo.about.com/library/weekly/aa030997.htm?terms=video+compression

Streaming your video on the internet:
http://desktopvideo.about.com/library/weekly/aa092900a.htm?terms=video+compression

Streaming Media 101:
http://builder.cnet.com/webbuilding/pages/Graphics/StreamingMedia/index.html

Video codecs:
http://home.earthlink.net/~radse/Page9.html

The math behind compression:
http://www.cs.sfu.ca/undergrad/CourseMaterials/CMPT479/material/notes/Chap4/Chap4.2/Chap4.2.html

MPEG FAQ:
http://www.crs4.it/~luigi/MPEG/mpegfaq.html

Another MPEG FAQ:
http://www.faqs.org/faqs/mpeg-faq/

MPEG Starting Points:
http://www.mpeg.org/MPEG/starting-points.html

Video over the Internet (From 1996, but good backgound)
http://www.rad.com/networks/1996/video/video.htm


Search Terms Used:
video compression internet
toffo-ga rated this answer:4 out of 5 stars
Good indepth answer, with many further references

Comments  
Subject: Re: Television Broadcasting via the Internet
From: rajesh_k-ga on 14 Jun 2002 12:51 PDT
 
This is an example of convergence (i.e. converging, merging two
technologies - internet/television in this case). In recent times
internet has become a major medium for disseminating fast information
and due to recent developments/increase in broadband capabilities for
sending information over the internet it became an easy option.
Traditionally, data from the TV station is broadcast thru the
satellites/cable lines to the various household.
     Lately, it has become quite easy to send data thru' internet and
that too at very high speeds. The data from the TV station is modified
with the help of converters to IP (Internet protocol) packets. This is
required because only bytes (a combination of 1's and 0's) can be
transmitted thru' the internet. At the receiving end, these packets
are again converted to the electric signals and can be easily
displayed on the Television screens.
Subject: Re: Television Broadcasting via the Internet
From: cakeboy-ga on 17 Jun 2002 06:48 PDT
 
".........For example, if the top
1/3rd of a picture is a uniform blue, instead of storing all the bits
that say 'blue', you convert that into a formula that says the same
thing.  This is how JPEG compression works............."

this is not how JPEG works.  This is how GIF works. JPEG works by
taking the Fourier transform (actually, it's the cosine transform....)
and converts the picture into the frequency domain.  When in the F
domain, you can selectively delete parts of the image components that
are not noticed by human perception.  GIF works by instead of
individually saying each pixel in the top half of the screen is blue,
it say 'every pixel in top half is blue' (coding redundancy).


hth
Subject: Re: Television Broadcasting via the Internet
From: wengland-ga on 17 Jun 2002 07:21 PDT
 
Ok - I was working from memory there.  :-)  I also didn't want to get
too indepth for the math; just trying to give a general overview.

Thanks for the pointer, tho!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy