Video compression formats


Free Download Mp4Gain
picture

Video compression formats

video file formats

Before building a video surveillance system, a technician will have to solve a number of critical problems and tasks. Along with the choice of cameras, servers, and software, it is necessary to select the optimal compression format for the system’s video transmission. The main formats for video surveillance systems are MJPEG, MPEG-4 and H.264 (MPEG-4 part 10). Controversy “Which format is better?” Similar to the disputes “what is the future for: analog or ip?”, have been going on for several years, but experts still cannot reach a consensus. In this article we will talk about the characteristics of the formats, the parameters that must be taken into account when choosing, and the technologies used to analyze video streams.

Video File Formats

Compress video

The videos from the IP surveillance cameras reach the server in compressed form. Compression generally involves removing features that are almost invisible to the human eye, although compression is sometimes done without loss of information. Compressed video stream requires less network bandwidth and less free hard disk space. To view or analyze the video, the resulting stream must be unzipped; apply the reverse conversion algorithm to compression. The combination of compression and decompression algorithms is called a video codec. Video codecs of different standards are not compatible with each other; video information compressed with one codec, as a rule, cannot be decompressed with another.

There are several types of compression.

Lossless compression allows you to obtain an image after decoding that does not differ from the original frame.
Lossy compression loses information after decoding.

Several lossy compression implementations are possible:

lossy percentage compression – loss is so insignificant to the human eye that the frame before and after decoding is virtually indistinguishable to the operator;
lossy compression – the differences between the frames before and after decoding are noticeable, but still not very pronounced, all the information necessary to analyze the events is saved;
Lossy Compression: Low-quality streaming video compression, causing artifacts (noticeable video distortion) during decoding. The appearance of artifacts leads to a decrease in image clarity, the appearance of fields of the same color (when different color tones are combined in one), the appearance of image blockages (pixelation, graininess). The presence of artifacts leads to false results of the analysis of the video stream by the system software.
In the compression process, to reduce the size of the video stream, the amount of color tones in the image are reduced, color resolutions are lowered, and small details in the image that are invisible to the human eye are removed; predict changes based on data already received; remove duplicate pixel values.

Video compression formats

There are many compression formats, MJPEG, MPEG-4 and H.264 are the most popular in video surveillance.

MJPEG format

For the MJPEG compression format, a video sequence is a sequence of still images: JPEG images. Compression occurs individually for each frame (intraframe). We get total independence from individual images. When playing a video file, the image quality is still good: from the MJPEG format you can always get frames with a clear image of the events that take place, it does not require high processor performance, but significantly loads the network and requires a large amount of disk space. This format is characterized by image blocking artifacts, fields of the same color. Camera data is lossy, so it’s impossible to say there is no distortion. Another thing is that if the camera is correctly adjusted, the human eye in JPEG hardly notices distortion.

MPEG-4 and H.264 formats

For MPEG-4 and H.264 formats, compression is performed both within a frame and for a series of frames (between frames). H.264 video (MPEG-4 optimized or MPEG-4part 10) is not a sequence of individual images, but a chain of related data – video streaming. The advantages of this format are that not all frames are saved, but only the reference image and its subsequent changes.

When a significant part of the image remains unchanged, the resulting video size is much smaller than for MJPEG. In case the MJPEG format can send a set of images of 200 KB each, the H.264 format will send a reference image of 200 KB and its subsequent changes, which are much smaller.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What types of formats exist in digital video?

What types of formats exist in digital video?

Who has not ever wondered what H264 means or what is an Mp4, Mkv or Avi file. These are some of the questions that we all ask ourselves when we are talking about digital video in some of the applications that we see online to find out which format or format has more quality or how I can convert a file to another file.

What in my measure can contribute is to shed light on the distinctions that exist when we talk about video formats within the different types that are applied to digital video and that there are three important parts to distinguish between them on the Internet or on a DVD:

The video and its codec (As the video has so much weight, it must always be encoded and subsequently decoded). They are simply mathematical algorithms to compress and decompress the video file.
Audio and its different formats or containers.
The file that contains the audio and the video. The container
Let’s go to see which are the most popular and try to explain them:

Digital Video Formats

MPEG: Moving Pictures Expert Group (Mpeg1, Mpeg2, Mp4 or Mpeg4)
AVI: It is the standard format but the one with the most weight. (Xvid or Divx)
WINDOWS MEDIA: Format developed by Microsoft. (. Mp4 or .asf)
MOV: Format developed by Apple. Quicktime required to read it. Low weight.Ideal for Web (.m4v or .mov)
FLV: Adobe Flash format. Use Sorensen Spark codec. (.flv)
Digital Audio Formats

Mp3 or MPEG-1 Audio Layer 3: Tablet with imperceptible signal loss for humans. (1Mb / Min)
Aiff: Audio Interchange File Format. It has no compression and uses PCM modulation so they are very heavy (10 Mb / Min.)
AAC: Advanced Audio Coding. Mpeg-2 compression. Indicated for surround or surround sounds
Windows Media Audio: The worst quality of all the previous ones, is the Windows format.
Digital Video and Audio Container Formats

.mp4
.mov
.avi
.mkv
.flv
.swf
.m4v

The truth is that it is a whole world and more when the big companies live thinking only about leading their own markets and not from the point of view of the user whom they have had abandoned for years. Obviously these are not all there are but I have wanted to include the best known.

But if we are talking about a file or files that any dvd may have or downloaded from the Internet in any format or container such as Mp4, mkv, avi with greater or lesser quality, it must be remembered that what is important is the amount of information that they contain, is say the Mbs this video is exported to.

It is as if we have a 16 ton truck and we put a box of oranges inside it when it can carry 1000 boxes of oranges. what we are going to see is oranges but with a very low quality.

I hope I have shed some light on this world of digital video and how the next time you face such a file you will be able to understand what each of the things attached to it means. I have to admit that it is not easy, but with that global vision and knowing what each one means, you feel better when facing it.

Video File Formats – Everything you need to know about video formats

 

Digital videos can be saved in files of different formats. Each one corresponds to a specific extension of the file that contains it. There are many types of video formats. Here are some of the most used. Each type of file also supports a different compression codec at all times.

video formats

-AVI (Audio Video Interleaved = Audio and Video Interleaved)

It is the standard format for storing digital video.
When video is captured from a digital camera to the computer, it is usually stored in this format with the DV (Digital Video) codec.
The AVI file can contain video with excellent quality. However, the weight of the file is always very high.
Supports different compression codecs such as CinePak, Intel Indeo 5, DV, etc. The codecs with more compression capacity and acceptable quality are DivX and XviD.
The AVI format can be displayed with most players: Windows Media, QuickTime, etc. as long as the appropriate codecs for each type of player are installed on the computer.
It is ideal for saving original videos that have been captured from the digital camera (encoded with DV).
It is not advisable to publish them on the Internet in this format due to their enormous weight.
The CinePak, Intel Indeo, DV codecs, etc. They do not offer great compression. The DivX and XviD codecs, on the other hand, achieve optimal compression although they are usually used primarily for the coding of long-term films.

-MPEG (Moving Pictures Expert Group = Movie Expert Group)

It is a standard format for digital video compression.
They are * .MPG or * .MPEG extension files.
Supports different types of compression codecs: MPEG-1 (CD quality), MPEG-2 (DVD quality), MPEG-3 (MP3 audio oriented) and MPEG-4 (more web oriented).
They play with Windows Media Player and QuickTime.

-MOV

It is the video and audio format developed by Apple.
It uses its own codec that evolves in versions quite quickly.
These types of files can also have * .QT extension
It is recommended to use the QuickTime player. There is a free version of it that can be downloaded from the Internet.
It is ideal for posting videos on the Internet for its reasonable quality / weight.
Support streaming

-WMV

It has been recently developed by Microsoft.
It uses the MPEG-4 codec for video compression.
It can also have * .ASF extension
It can only be viewed with an updated version of Windows Media 7 or higher. This application is integrated into Windows.
It is ideal for posting videos on the Internet for reasonable quality / weight.
Support streaming

-RM

It is the proposal of Real Networks for video files.
Use your own codec to compress the audio.
This type of files has * .RM and * .RAM extension.
It is displayed with a specific player: Real Player. There is a free version of it that can be downloaded from the Internet.
It can be used to publish videos on the Internet for its acceptable quality / weight.
Support streaming

-FLV

It is a format used by the Adobe Flash player to view video on the Internet.
It uses the Sorenson Spark codec and the On2 VP6 codec. Both allow high visual quality with reduced bitrates.
They are * .FLV extension files.
They can be played from different local players: MPlayer, VLC media player, Riva, Xine, etc.
Recommended option for the web for its accessibility. When viewed through the Flash player, it is accessible from most operating systems and web browsers.
The best known video repositories on the Internet use this format for the dissemination of videos: YouTube, Google Video, iFilm, etc.
Allows you to configure different video parameters to achieve acceptable quality / weight.
Support streaming