leopoldoglaze72
@leopoldoglaze72
Профиль
Регистрация: 3 года, 8 месяцев назад
Transcoding - Why Is It Vital for Streaming
In case 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. In case you aren’t sure you want it, bear with me for a few paragraphs. I’ll clarify what transcoding is (and isn’t), and why it is likely to be critical on 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 term that covers a number of digital media tasks:
Transcoding, at a high level, is taking already-compressed (or encoded) content material; decompressing (decoding) it; and then somehow altering and recompressing it. For example, you might change the audio and/or video format (codec) from one to another, reminiscent of changing from an MPEG2 supply (commonly used in broadsolid television) to H.264 video and AAC audio (the preferred codecs for streaming). Other primary tasks may embody adding watermarks, logos, or other graphics to your video.
Transrating refers specifically to changing bitrates, equivalent to taking a fourK video input stream at thirteen 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 decision of 3840×2160 (fourK UHD) down to 1920×1080 (1080p) or 1280×720 (720p).
So, while you say "transcoding," you is likely to be referring to any mixture of the above tasks — and typically are. Video conversion is computationally intensive, so transcoding normally requires more highly effective hardware resources, together with faster CPUs or graphics acceleration capabilities.
What Transcoding Is Not
Transcoding shouldn't be confused with transmuxing, which can be referred to as repackaging, packetizing or rewrapping. Transmuxing is if you take compressed audio and video and — without changing the actual audio or video content material — (re)package it into completely different delivery formats.
For example, you may need H.264/AAC content material, and by altering the container it’s packaged in, you can deliver it as HTTP Live Streaming (HLS), Clean Streaming, HTTP Dynamic Streaming (HDS) or Dynamic Adaptive Streaming over HTTP (DASH). The computational overhead for transmuxing is way smaller than for transcoding.
When Is Transcoding Critical?
Merely put: Transcoding is critical when you want your content material to achieve more end users.
For instance, let’s say you want to do a live broadsolid utilizing a camera and encoder. You may be compressing your content material with a RTMP encoder, and select the H.264 video codec at 1080p.
This must be delivered to online viewers. However in the event you try to stream it directly, you will have just a few problems. First, viewers without ample bandwidth aren’t going to be able to view the stream. Their players will be buffering always as they wait for packets of that 1080p video to arrive. Secondly, the RTMP protocol is no longer 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 simultaneously create a set of time-aligned video streams, every with a different bitrate and frame size, while changing the codecs and protocols to achieve additional viewers. This set of internet-pleasant streams can then be packaged into several adaptive streaming formats (e.g., HLS), permitting playback on nearly any screen on the planet.
One other widespread example is broadcasting live streams using an IP camera, as can be the case with surveillance cameras and traffic cams. Once more, to achieve the most important number of viewers with the very best quality allowed by their bandwidth and units, you’d wish 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 multiple H.264/AAC renditions at completely different bitrates and resolutions. Then you definitely’d have your media server (which is likely to be the same server as your transcoder) package these renditions into one or more adaptive streaming codecs before delivering them to end users.
If you have any kind of concerns pertaining to where and ways to use Traffic Camera Transcoding, you can call us at the web-page.
Сайт: https://www.winkstreaming.com/live_video_streaming/live_transcoding/
Форумы
Тем начато: 0
Ответов написано: 0
Роль форума: Участник