-->
Save your seat for Streaming Media NYC this May. Register Now!

Intro to Encoding

Encoding
Encoding is a fancy name to describe the compression of files into specific formats. In the case of streaming media, encoding refers to the compression of media files into a streaming format. Prior to streaming, a typical video file (*.avi) was completely downloaded from the Internet before it could be played. With streaming, only the first few seconds are downloaded (buffered) before the video begins to play. As the streaming file is being viewed, it is also downloading in the background.

Codec: short for compression/decompression
Codecs are mathematical algorithms created to allow media files to squeeze into a smaller streaming format for decoding by the end-user's player. Encoding software uses codecs for compressing the file. Decompression occurs during the viewing process on the end user's computer. Standard Encoding Software: Microsoft Encoder, Real PublisherEncoding is commonly accomplished with software such as Microsoft Encoder (in the Windows Media Tools download bundle) or Real Publisher--both free for download. Encoders accept stored content as well as live feeds as inputs.

On-demand encoding
Encoding from a file is as easy as pointing to the source file, setting a name for the destination file, picking audio and video codecs, choosing the bitrate, and clicking start. Most encoding software carries built-in wizard templates to make the job even easier; simply pick the template describing the target audience and the codecs and bitrates are automatically defined.

Live encoding
Live encoding is a little trickier than on-demand because the input to the encoder comes from audio and video capture cards within the encoding computer. Be aware of settings on these cards-an incorrect set-up can lead to missing video or audio.

What do you do with the file once it has been encoded?
After the file has been encoded you need to get it on the Internet for streaming distribution. The best method of deployment is to upload to a true streaming server. A streaming server adds functionality to your stream with features such as fast forward and rewind. A streaming server also negotiates with the end users player for optimum audio and video.

Streaming Covers
Free
for qualified subscribers
Subscribe Now Current Issue Past Issues