paint-brush
What is Transcoding and Why is it Important for Video Streaming?by@antmedia
1,099 reads
1,099 reads

What is Transcoding and Why is it Important for Video Streaming?

by Ant Media ServerJanuary 7th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Transcoding is the process of converting an audio or video file from one encoding format to another in order to increase the number of compatible target devices

Company Mentioned

Mention Thumbnail
featured image - What is Transcoding and Why is it Important for Video Streaming?
Ant Media Server HackerNoon profile picture

To really understand what transcoding is and how it affects the success of your streams, firstly we need to talk about encoding and need to understand what encoding is. We cannot talk about transcoding without talking about encoding.

What Is Encoding?

Encoders are devices that convert video files from one format to another. They can be either hardware or software-based. Encoders are essential for converting the RAW video files from your camera to streamable digital files.

Your encoder takes the necessary format and converts it into codecs through a compression/decompression process. The standard streaming protocol for internet sources is H.264. 

We also recommended the video compression format for HD streaming. The H.264 protocol can create what’s called “lossless compression.” For audio-only streaming, there are two popular choices: MP3 (MPEG Audio Layer III) and AAC (Advanced Audio Coding).

There are two important protocols for broadcasting to keep in mind: WebRTC and HLS streaming protocols. Both of them are HTML5 based protocols.

What Is Transcoding?

Transcoding is the process of converting an audio or video file from one encoding format to another in order to increase the number of compatible target devices on which a media file can be played.

Transcoding term includes these two terms: Transrating and Transsizing.

Transrating specifically refers to changing bitrates, such as taking a 2k video input stream at 16 Mbps and converting it into lower-bitrate streams like 720p at 5 Mbps (the process is also called renditions). 

Transsizing specifically means resizing the video frame; for example, from a resolution of 2560×1440 (2K UHD) down to 1920×1080 (1080p), 1280×720 (720p) or 720×480(480p)