clydenielson40
@clydenielson40
Профиль
Регистрация: 2 года, 8 месяцев назад
Transcoding - Why Is It Vital for Streaming
Should you’re thinking about streaming media, you probably fall into one in every of two camps: Either you already know something about transcoding, otherwise you’re wondering why you keep hearing about it. If you happen to aren’t sure you want it, bear with me for a number of paragraphs. I’ll clarify what transcoding is (and isn’t), and why it is perhaps critical for your streaming success — particularly if you wish to deliver adaptive streams to any device.
So, What Is Transcoding?
First, the word transcoding is commonly used as an umbrella time period that covers a number of digital media tasks:
Transcoding, at a high level, is taking already-compressed (or encoded) content; decompressing (decoding) it; and then one way or the other altering and recompressing it. For example, you might change the audio and/or video format (codec) from one to a different, equivalent to converting from an MPEG2 supply (commonly used in broadforged television) to H.264 video and AAC audio (the preferred codecs for streaming). Different primary tasks may embody adding watermarks, logos, or different graphics to your video.
Transrating refers specifically to changing bitrates, equivalent to taking a 4K video enter stream at 13 Mbps and converting it into one or more decrease-bitrate streams (additionally known as renditions): HD at 6Mbps, or other renditions at 3 Mbps, 1.8 Mbps, 1 Mbps, 600 kbps, etc.
Transsizing refers specifically to resizing the video frame; say, from a resolution of 3840×2160 (fourK UHD) down to 1920×1080 (1080p) or 1280×720 (720p).
So, if you say "transcoding," you might be referring to any combination of the above tasks — and typically are. Video conversion is computationally intensive, so transcoding normally requires more powerful hardware resources, including faster CPUs or graphics acceleration capabilities.
What Transcoding Is Not
Transcoding should not be confused with transmuxing, which will also be referred to as repackaging, packetizing or rewrapping. Transmuxing is when you take compressed audio and video and — without changing the actual audio or video content — (re)package it into completely different delivery formats.
For example, you might have H.264/AAC content material, and by altering the container it’s packaged in, you can deliver it as HTTP Live Streaming (HLS), Smooth Streaming, HTTP Dynamic Streaming (HDS) or Dynamic Adaptive Streaming over HTTP (DASH). The computational overhead for transmuxing is far smaller than for transcoding.
When Is Transcoding Critical?
Merely put: Transcoding is critical whenever you want your content to reach more end users.
For example, let’s say you wish to do a live broadforged utilizing a camera and encoder. You may be compressing your content with a RTMP encoder, and select the H.264 video codec at 1080p.
This must be delivered to online viewers. But when you try to stream it directly, you will have just a few problems. First, viewers without adequate bandwidth aren’t going to be able to view the stream. Their players will be buffering constantly as they wait for packets of that 1080p video to arrive. Secondly, the RTMP protocol is now not widely supported for playback. Apple’s HLS is way more widely used. Without transcoding and transmuxing the video, you will exclude almost anybody with slower data speeds, tablets, mobile phones, and connected TV devices.
Using a transcoding software or service, you'll be able to concurrently create a set of time-aligned video streams, every with a different bitrate and frame measurement, while changing the codecs and protocols to succeed in additional viewers. This set of internet-pleasant streams can then be packaged into a number of adaptive streaming codecs (e.g., HLS), permitting playback on almost any screen on the planet.
One other widespread instance is broadcasting live streams using an IP camera, as could be the case with surveillance cameras and traffic cams. Again, to reach the largest number of viewers with the best possible quality allowed by their bandwidth and units, you’d want to support adaptive streaming. You’d deliver one HD H.264/AAC stream to your transcoder (typically situated on a server image in the cloud), which in flip would create a number of H.264/AAC renditions at totally different bitrates and resolutions. Then you definately’d have your media server (which might be the identical server as your transcoder) package these renditions into one or more adaptive streaming codecs earlier than delivering them to finish users.
Should you loved this post and you would love to receive more information concerning Traffic Camera Transcoding please visit our own web site.
Сайт: https://www.winkstreaming.com/live_video_streaming/live_transcoding/
Форумы
Тем начато: 0
Ответов написано: 0
Роль форума: Участник