Furia Pijao Solo Tolima

Video Codec/ Container


With no form of compression in video streaming, the network can not transfer the raw information. Likewise, as a result of large data dimensions, saving information on minimal capacity of disk drives is not possible. That’s why we should utilize compression, specifically in video monitoring systems. Video compression removes repetitive video information, to ensure that the video data could be sent or saved effectively. Video clip material is inscribed and decoded using a video clip codec method, inside a container layout, so the video top quality is not degraded at the time of moving over the network. We study the principle and some different kinds of video clip codecs as well as video containers together with their differences.

Exactly what is video codec?

A codec is a software application used to press or unwind an electronic media apply for transmission over a data network. As a matter of fact, a set of inscribing as well as deciphering algorithms that collaborate is called a video codec, to ensure that encoder utilizes these algorithms to effectively press the size of the video data, and afterwards decoder unwind it when required. Some codecs include both of these elements as well as others consist of one of them. Moreover, codecs are split into 2 classifications: lossless as well as lossy codec. In lossless codec all the information is maintained in the initial stream, therefore the video clip quality is maintained. On the other hand, in lossy codec as a result of utilizing reduced data bandwidth as well as missing out on several of the initial data to accomplish the most effective compression, the high quality will certainly be decreased.

There are different requirements of codec which utilize various modern technologies to encode and decode the video file related to desired application. Given that video material that is pressed using one criterion could not be decompressed with other standard, various implementation of video codecs are normally not suitable with each other. Due to the fact that, one formula can not appropriately decode the result from an additional algorithm.

However, implementing many different algorithms in the same software or hardware is possible, so several styles could be pressed. Using various approaches of compressing information causes variant bitrate, top quality and also latency. The time it requires to press, send out, decompress as well as display a file, called latency.

How video compression can help video monitoring?

Video clip compression techniques make use of a codec to minimize or get rid of unnecessary files or frameworks from video clip documents, without any substantial destruction in final video clip. This makes the video documents smaller, so more video clip can be stored on NVR disk drives or data can be kept for longer amount of times.

Because of big capacity of high resolution video clip files, video clip compression is an useful device when the monitoring system has storage space and bandwidth constraint. It is worth discussing that to attain desired picture high quality in spite of compression, the best equilibrium of picture quality and also compression approach need to be discovered.

In IP video, encoding would be done by the IP electronic camera encoder as well as the decoding is usually done on the computer system or tool which is showing the online video clip.

Pressing video causes file transferring over network without substantial delay, resulting in broadband information transfer, which is particularly important in mobile viewing with a mobile phone in video clip surveillance.

Different sorts of video codec:

Much like an electronic picture video camera, a network electronic camera records individual pictures as well as presses them right into a format. The cam catches and also presses specific pictures each 2nd (fps), and after that make them a constant circulation of pictures over a network to a checking out terminal. At a frame price of about 16 fps and above, the customer will regard complete movement video clip. Considering that each specific picture is a complete compressed picture, they will have the very same top quality, established by the compression degree defined for the network cam. So, Video compression is carried out instantly by surveillance electronic camera as well as picking the compression degree is a crucial problem to achieve the most effective video high quality. Below, we study some of video clip compression approaches.


Activity JPEG (MJPEG) is a video clip codec where each video clip field (frame) is separately compressed right into a JPEG image. As JPEG is a compression technique to compress the photos, MJPEG is an algorithm to press numerous frames of video clips and send them as specific JPEG pictures. The resulting top quality of videos is independent from the activity in the picture, so top quality is not decreased when the video has lots of activity.

As a result of offering minimal latency in photo processing and keeping picture quality during transmission over low data transfer schedule, MJPEG is still a usable compression format despite being an old lossy codec.


MPEG, meaning Relocating Photo Experts Group, is among the largest families in video codec as well as the most typical video layout. Its algorithms compress information into smidgens that can be easily sent and afterwards decompressed. Given that some of information will certainly be removed in MPEG, this approach is a lossy compression, however this flaw is normally invisible to the human eye. One of the most usual kinds of MPEG consist of MPEG1 (used in the manufacturing of VCD and the download of some video clips), MPEG2 (used in the manufacturing of the DVD and also in a few of the HDTV and also high need video clip editing and enhancing), and MPEG4. MPEG4 sends video clip and images over a narrow bandwidth, suggesting that it decreases the network data transfer utilized by the monitoring system. Also, MPEG4 decreases the quantity of required storage and boosts the amount of time that video clip could be kept, which make it advantageous for video clip monitoring. On the other hand, MPEG4 could determine and also manage separate audio and also video clip things in the frame, which enables individual components to be compressed a lot more successfully. Thus, it can blend video clip with message, graphics as well as 2-D and also 3-D animation layers.

It is also essential to explain that, because of making use of video sequencing compression which delivers only the modifications in the series, MPEG uses much less network transmission capacity and storage space compared to MJPEG. Nevertheless, the top quality commonly decreased where there great deals of motion readily available in video, it is a downside of MPEG.


DivX as the preferred MPEG4 based codec created by DivX, Inc, enables user to play as well as develop top quality videos in a fast way and also the best top quality. DivX can press a DVD film to fit on a CD, and also DivX HD could reduce an HD flick to fit on a DVD.


It is an open source variation of DivX, so videos which encoded by XviD could be deciphered by all MPEG4 compatible decoder. The XviD codec could compress a full size DVD quality film to fit on a solitary CD, while original photo top quality is still maintained. It is made use of for pressing video clip information in order to facilitate video data transferring and also storage renovation on hard drives.

H. 264:

H. 264 is the newest and most reliable compression technique especially in video security. This innovation assesses little teams of structures together as a series to remove replicate content in each framework without altering. Reduced data transfer usage, lowered storage space demands, higher resolution as well as much better high quality pictures encourage the safety surveillance applications to use H. 264 codec.

Why H. 264 video compression is advised in video security?

To detect the prevalence of one compression format to another, some aspects need to be taken into consideration such as transmission capacity usage, storage demand, latency and also image top quality.

The popular video compression requirements are MJPEG, MPEG4, and also H. 264, while some functions of H. 264 make it more popular in video clip safety systems.

The H. 264 video compression conventional gives around two times the compression of the previous MPEG4 criterion for the same video clip top quality.

The bitrate is the complete variety of little bits which moved in between two devices. The bitrate of an IP camera directly impacts the maximum amount of data which can move over network at any kind of given time (bandwidth). If security system uses more data transfer compared to offered, video feeds will lost. So, by reducing the bitrate much more information can be transmitted as well as the transmission rate will certainly be increased. H. 264 provides reduced bitrate for reduction in data transfer usage, 80% less than MJPEG video clip and also 30-50% below MPEG4. The lower bitrate is preferred for protection applications which require quick frame price such as online caso, website traffic monitoring, object counting (such as automobiles, people), etc

. On the other hand, in video clip monitoring system the optimum quantity of storage capacity suggests the amount of taped days can be retained, so the amount of called for storage space for recording needs to be thought about. Reduced bitrate minimizes the file dimensions being saved, to ensure that making use of H. 264 will certainly give 30-80% total conserving on storage area compared with standard compression layouts. Therefore, the preservation duration for taped archive will be raised.

Low latency is a requirement for video monitoring, since pictures ought to show up in real time in security monitoring. H. 264 gives reduced latency, so this compression method is called for in video clip security. Also, picture quality is a vital variable for any kind of video clip security system in addition to savings in data transfer and also storage area, so the effective compression method need to give high video clip resolution. High definition video encoding by H. 264 makes it possible for the IP cam to record information as well as supplies excellent quality images which makes it an excellent video clip codec for goal critical video monitoring.

H. 264 gives techniques to produce far better video encoders, causing higher quality video clip streams, higher framework price and higher resolution at lower bit rate compared with various other video codecs.

Technically, H. 264 presents a new and also innovative intra forecast system that is a vital part of its effectiveness in video clip monitoring. The new intra forecast is utilized to inscribe I-frames (the very first photo in a video clip series is constantly an I-frame) which substantially minimizes the bit size of an I-frame and also preserves top quality via consecutive prediction of smaller blocks of pixels within each macro block in a framework.

Lowering information when there is a lot of movement in a video clip is other vital factor in video compression techniques. This requires strategies such as block based motion payment, which divides a structure into a series or macro block. This strategy has actually been boosted in H. 264 encoder, confirming its efficiency in congested monitoring scenes where the premium quality is required. Also a particular filter utilized in H. 264, smoothes block side making use of an adaptive strength to accomplish a practically fantastic decompressed video.

Distinctions between H. 264 and also H. 265:

H. 265 or HEVC (High Effectiveness Video Coding) as the future generation of H. 264, is a video clip compression requirement which supplies video top quality similar to H. 264 at only half the bitrate, indicating that the data transfer usage is divided in half. Need for much better compression, higher picture quality and also data transfer conserving causes H. 264 change to H. 265 compression.

Just what is video container (file) layout?

Container style is a type of file layout which contains various kind of information compressed by different codecs. Video container format consists of numerous elements of a video clip such as the stream of photos, the audio, and anything else.

There are various kinds of video documents format which are described in this section briefly.

AVI layout (. avi):.

AVI which represents Audio Video Interleaved, as a multimedia container style shops data that could be inscribed in a number of different codecs and could contain both audio and video data. The opportunity of picking codec for AVI container, could obtain the high price compression as an advantage of AVI style. Nevertheless, as a drawback, if AVI files compress under specific restrictions, the video high quality will be shed.

MP4 format (. mp4):.

The MP4 container uses MPEG4 or H. 264 for video clip encoding, along with AAC for audio compression. It is extensively supported on the majority of customer devices, and the most common container made use of for audio and aesthetic streams online.

MKV format (. mkv):.

MKV is a container that sustains any type of audio or video clip layout, so it is among the most effective container to store audio as well as video data. Additionally it supports mistake recuperation property, indicating that repeating corrupted data is practical. Thus, MKV is a versatile and also effective container that has swiftly became one of the most effective containers currently available.

WMV style (. wmv):.

WMV means Windows Media Video and these files commonly have Windows Media Video and also Windows Media Sound. WMV has data which support electronic rights monitoring, protecting against customers from duplicating the information. The advantage of this format is that it can compress huge video documents by preserving substantially excellent quality.

Blink video clip style (. flv,. swf):.

FLV is a file layout utilized by Adobe Flash Gamer to save and also provide synchronized sound and also video streams online. The benefit of this format is its little dimension, so it could be conveniently viewed or downloaded and install. There are two different video clip file formats referred to as Flash Video: FLV and F4V. One of the most current FLV data styles can support H. 264 video encoding and AAC sound coding.

ASF layout (. asf):.

The Advanced System Format (ASF) was formerly called innovative streaming format or energetic streaming format created mainly to shop and play electronic media streams and also transfer them over networks, so it sustains data transfer over a vast array of networks and methods. ASF submits support playback from digital media offers, HTTP web servers, and storage tools. It is not O.S dependent.

One of the benefit of ASF style is that playing the video clip is feasible before it is streamed to the end, enabling the customer to playback and watch the data when a certain amount of bytes have been downloaded and install and also the file continues to download and install while watching, which makes it optimal for web usage. (For example like YouTube).

Although ASF does not define just how the video or audio ought to be inscribed with the codec, it specifies the framework of the video and sound stream. ASF container typically includes Windows Media Sound (WMA) and also Windows Media Video (WMV) data which could be pressed by utilizing a selection of video clip codecs. Nevertheless, the best compression is achieved BY the Microsoft Windows Media Sound codec. Also ASF data can contain any kind of information kind like text streams, manuscript command, web page, title cd (for audio track) along with video clip as well as sound stream types.

The disadvantage of ASF layout is that given that it is developed primarily for streaming capacities, the maximum resolution is little at 352×288.

This style has actually been changed by WMA as well as WMV documents.

Distinctions in between video codec and also video clip container format:.

Codecs and containers are not equal. Video file layout specifies exactly how the information is saved along with the sound and also video data. It does not specify the compression approach of data, while codec executes encoding and also deciphering the video clip as well as sound streams in a video clip file. To puts it simply, information that has actually been pressed using a particular codec is located inside the container. Good container formats can handle documents compressed by a selection of different codecs. Often container and also codec have the exact same name, as an example, a documents format such as Windows Media Audio (WMA) consists of data that is pressed using the Windows Media Audio codec. Nevertheless, a documents style such as Sound Video Clip Interleaved (AVI) can consist of data that is compressed by any one of a variety of various codecs, including MPEG-2, DivX, or XviD codecs.


Monitoring systems need to be designed around the offered storage ability or bandwidth allocation. Minimizing the storage space need and also being able to lower the bitrate while preserving high resolution are the essential issues for these systems. Video compression methods makes it possible for inscribing video clip streams to transfer over the network and decoding the streams to watch without significant degradation in high quality. Video compression is accomplished by getting rid of unnecessary parts of the photo and decreasing the shade resolution.

Amongst various video codecs, Movement JPEG supplies excellent compression price and quality, but H. 264 presents a valuable progression in video clip compression modern technology due to extra accurate prediction capacities. H. 264 is now the most widespread compression technique in network video camera due to substantial renovations in coding efficiency, latency, complexity as well as robustness. It delivers an ordinary little bit price decrease of 50% compared with older video clip codec criteria, indicating that better is attained at the kept bitrate or on the other hand, the very same top quality video clip at a lower bitrate.

On the various other hand, the marketplace requirement for much better picture top quality, greater structure prices and also higher resolutions with decreased bandwidth consumption leads to the arrival of H. 265 as the future generation of H. 264. It accomplishes greater resolution at only the half of H. 264 bitrate, resulting in transmission capacity saving.

Finally, it must you could check here mention that today video network products which support a number of compression format see post specifically H. 264 and also H. 265 are suitable to accomplish optimum versatility and Recommended Site effectiveness.