2019年4月3日星期三

What is Video Encoding?Video Coding Format Intro: MPEG-2, MPEG-4, H.264 | Soukacatv.com

What is video encoding?
Video encoding is the process of converting digital video files from one format to another. Encoding is also known as “transcoding” or “video conversion.” At the time of recording, the device gives the video file a particular format and other specifications. If the video owner wants to publish the video, s/he must consider the various devices on which the video might play. All of the videos we watch on our computers, tablets, and mobile phones have gone through an encoding process that converts the original source video so that it is viewable on various output formats. This is because many device and browser types only support specific video formats. Often, the goal of the video publisher is to ensure compatibility with a variety of common formats.

Digital video may exist in many different formats-each with specific variables such as containers (.MOV, .FLV, .MP4, .OGG, .WMV, WebM), codecs (H264, VP6) and bitrates (in megabits or kilobits per second). Different devices and browsers have varying specifications, most of which involve one or more of these variables—and other variables. When you encode video, you need to consider (a) the original source format and capture method, (b) any later encoding operations that may have been done on the video source, and (c) the output formats that you require. With Encoding.com, you get full control across many of these variables to help you efficiently convert your source videos from one format to one or more output formats.

A video coding format(or sometimes video compression format) is a content representation format for storage or transmission of digital video content (such as in a data file or bitstream). Examples of video coding formats include MPEG-2 Part 2, MPEG-4 Part 2, H.264 (MPEG-4 Part 10), HEVC, Theora, RealVideo RV40, VP9, and AV1. A specific software or hardware implementation capable of video compression and/or decompression to/from a specific video coding format is called a video codec; an example of a video codec is Xvid, which is one of several different codecs which implements encoding and decoding videos in the MPEG-4 Part 2 video coding format in software.

SKD121X Encoding & Multiplexing Modulator


Household Universal Encoding & Modulation Modulator

HDMI Encoder Modulator,16in1 Digital Headend,HD RF Modulator at Soukacatv.com

Some video coding formats are documented by a detailed technical specification document known as a video coding specification. Some such specifications are written and approved by standardization organizations as technical standards, and are thus known as a video coding standard. The term 'standard' is also sometimes used for de facto standards as well as formal standards.

Video content encoded using a particular video coding format is normally bundled with an audio stream (encoded using an audio coding format) inside a multimedia container format such as AVI, MP4, FLV, RealMedia, or Matroska. As such, the user normally doesn't have a H.264 file, but instead has a .mp4 video file, which is an MP4 container containing H.264-encoded video, normally alongside AAC-encoded audio. Multimedia container formats can contain any one of a number of different video coding formats; for example the MP4 container format can contain video in either the MPEG-2 Part 2 or the H.264 video coding format, among others. Another example is the initial specification for the file type WebM, which specified the container format (Matroska), but also exactly which video (VP8) and audio (Vorbis) compression format is used inside the Matroska container, even though the Matroska container format itself is capable of containing other video coding formats (VP9 video and Opus audio support was later added to the WebM specification).

Distinction between "format" and "codec"
Although video coding formats such as H.264 are sometimes referred to as codecs, there is a clear conceptual difference between a specification and its implementations. Video coding formats are described in specifications, and software or hardware to encode/decode data in a given video coding format from/to uncompressed video are implementations of those specifications. As an analogy, the video coding format H.264 (specification) is to the codec OpenH264 (specific implementation) what the C Programming Language (specification) is to the compiler GCC (specific implementation). Note that for each specification (e.g. H.264), there can be many codecs implementing that specification (e.g. x264, OpenH264, H.264/MPEG-4 AVC products and implementations).

This distinction is not consistently reflected terminologically in the literature. The H.264 specification calls H.261, H.262, H.263, and H.264 video coding standards and does not contain the word codec.The Alliance for Open Media clearly distinguishes between the AV1 video coding format and the accompanying codec they are developing, but calls the video coding format itself a video codec specification.The VP9 specification calls the video coding format VP9 itself a codec.

As an example of conflation, Chromium's and Mozilla's pages listing their video format support both call video coding formats such as H.264 codecs. As another example, in Cisco's announcement of a free-as-in-beer video codec, the press release refers to the H.264 video coding format as a "codec" ("choice of a common video codec"), but calls Cisco's implementation of a H.264 encoder/decoder a "codec" shortly thereafter ("open-source our H.264 codec").

A video coding format does not dictate all algorithms used by a codec implementing the format. For example, a large part of how video compression typically works is by finding similarities between video frames (block-matching), and then achieving compression by copying previously-coded similar subimages (e.g., macroblocks) and adding small differences when necessary. Finding optimal combinations of such predictors and differences is an NP-hard problem,meaning that it is practically impossible to find an optimal solution. While the video coding format must support such compression across frames in the bitstream format, by not needlessly mandating specific algorithms for finding such block-matches and other encoding steps, the codecs implementing the video coding specification have some freedom to optimize and innovate in their choice of algorithms. For example, section 0.5 of the H.264 specification says that encoding algorithms are not part of the specification.Free choice of algorithm also allows different space–time complexity trade-offs for the same video coding format, so a live feed can use a fast but space-inefficient algorithm, while a one-time DVD encoding for later mass production can trade long encoding-time for space-efficient encoding.

History
The first digital video coding standard was H.120, created by ITU in 1984.H.120 was not usable in practice, as its performance was too poor. Its 1988 successor, ITU's H.261, was the first practical video coding standard.MPEG-1, designed by the Motion Picture Experts Group, followed in 1991, and MPEG-2/H.262 in 1994.

Perhaps the most widely used video coding format as of 2016 is H.264. H.264 is one of the video encoding standards for Blu-ray Discs; all Blu-ray Disc players must be able to decode H.264. It is also widely used by streaming internet sources, such as videos from YouTube, Netflix, Vimeo, and the iTunes Store, web software such as the Adobe Flash Player and Microsoft Silverlight, and also various HDTV broadcasts over terrestrial (Advanced Television Systems Committee standards, ISDB-T, DVB-T or DVB-T2), cable (DVB-C), and satellite (DVB-S2).

A main problem for many video coding formats has been patents, making it expensive to use and/or potentially risking a patent lawsuit due to submarine patents. The motivation behind many recently designed video coding formats such as Theora, VP8, and VP9 have been to create a (libre) video coding standard covered only by royalty-free patents.Patent status has also been a major point of contention for the choice of which video formats the mainstream web browsers will support inside the HTML5 video tag.

In the near future, the main contenders for the next generation video coding format looks to be the heavily patented HEVC (H.265) and the aiming-to-be-freely-licensed AV1.
Timeline of international video compression standards
Year
Standard
Publisher
Popular implementations
1984
H.120
ITU-T

1988
H.261
ITU-T
Videoconferencing, videotelephony
1993
MPEG-1 Part 2
ISO, IEC
Video-CD
1995
H.262/MPEG-2 Part 2
ISO, IEC, ITU-T
DVD Video, Blu-ray, DVB, ATSC, SVCD
1996
H.263
ITU-T
Videoconferencing, videotelephony, video on mobile phones (3GP)
1999
MPEG-4 Part 2
ISO, IEC
Video on Internet (DivX, Xvid ...)
2003
H.264/MPEG-4 AVC
ISO, IEC, ITU-T
Blu-ray, HD DVD, DVB, ATSC, iPod Video, Apple TV, videoconferencing
2006
VC-1
SMPTE
Blu-ray, video on Internet
2013
H.265/MPEG-H HEVC
ISO, IEC, ITU-T
Ultra HD Blu-ray, DVB, ATSC 3.0, UHD streaming, High Efficiency Image Format, macOS High Sierra, iOS 11|-
2018
AV1
Alliance for Open Media
HTML5 video

Lossless, lossy, and uncompressed video coding formats
Consumer video is generally compressed using lossy video codecs, since that results in significantly smaller files than lossless compression. While there are video coding formats designed explicitly for either lossy or lossless compression, some video coding formats such as Dirac and H.264 support both.

Uncompressed video formats, such as Clean HDMI, is a form of lossless video used in some circumstances such as when sending video to a display over a HDMI connection. Some high-end cameras can also capture video directly in this format.

Intra-frame video coding formats
Interframe compression complicates editing of an encoded video sequence.One subclass of relatively simple video coding formats are the intra-frame video formats, such as DV, in which each frame of the video stream is compressed independently without referring to other frames in the stream, and no attempt is made to take advantage of correlations between successive pictures over time for better compression. One example is Motion JPEG, which is simply a sequence of individually JPEG-compressed images. This approach is quick and simple, at the expense the encoded video being much larger than a video coding format supporting Inter frame coding.

Because interframe compression copies data from one frame to another, if the original frame is simply cut out (or lost in transmission), the following frames cannot be reconstructed properly. Making 'cuts' in intraframe-compressed video while video editing is almost as easy as editing uncompressed video: one finds the beginning and ending of each frame, and simply copies bit-for-bit each frame that one wants to keep, and discards the frames one doesn't want. Another difference between intraframe and interframe compression is that, with intraframe systems, each frame uses a similar amount of data. In most interframe systems, certain frames (such as "I frames" in MPEG-2) aren't allowed to copy data from other frames, so they require much more data than other frames nearby.

It is possible to build a computer-based video editor that spots problems caused when I frames are edited out while other frames need them. This has allowed newer formats like HDV to be used for editing. However, this process demands a lot more computing power than editing intraframe compressed video with the same picture quality.

Established in 2000, the Soukacatv.com main products are modulators both in analog and digital ones, amplifier and combiner. We are the very first one in manufacturing the headend system in China. Our 16 in 1 and 24 in 1 now are the most popular products all over the world.
For more, please access to https://www.soukacatv.com.

CONTACT US
Company:Dingshengwei Electronics Co., Ltd
Address : BldgA,the first industry park of Guanlong,Xili Town,Nanshan,Shenzhen,Guangdong,China
Tel : +86 0755 26909863
Fax : +86 0755 26984949
Mobile : 13410066011
Email : ken@soukacatv.com

Source: Wikipedia



















MPEG2 VS. MPEG4: All You Want to Know Are Here | Soukacatv.com

MPEG stands for the Moving Pictures Experts Group, a working group of authorities that was formed by ISO and IEC to set standards for audio and video compression and transmission. It was established in 1988 by the initiative of Hiroshi Yasuda (Nippon Telegraph and Telephone) and Leonardo Chiariglione, group Chair since its inception. The first MPEG meeting was in May 1988 in Ottawa, Canada. As of late 2005, MPEG has grown to include approximately 350 members per meeting from various industries, universities, and research institutions.

MPEG Format is used on several media. This picture relates some of the most known media to the MPEG Format version and container format (TS and PS) used.

Household Universal Encoding & Modulation Modulator


Single HD To RF MEPG2 ATSC/QAM Modulator


SKD19 Series 1U Rack 12CH Encode Modulator

The MPEG standards consist of different Parts: MPEG-1, MPEG-2, MPEG-3, MPEG-4, MPEG-7, MPEG-21. Each part covers a certain aspect of the whole specification. Among them, the two most popular compression and decompression technologies are called MPEG2 and MPEG4.

HDMI Encoder Modulator,16in1 Digital Headend,HD RF Modulator at Soukacatv.com

What is MPEG2?

MPEG2 was released in 1995, a standard for "the generic coding of moving pictures and associated audio information". Transport, video and audio standards for broadcast-quality television. MPEG2 standard was considerably broader in scope and of wider appeal – supporting interlacing and high definition. MPEG-2 is considered important because it has been chosen as the compression scheme for over-the-air digital television ATSC, DVB and ISDB, digital satellite TV services like Dish Network, digital cable television signals, SVCD and DVD Video. It is also used on Blu-ray Discs, but these normally use MPEG-4 Part 10 or SMPTE VC-1 for high-definition content.

HD Encoder To DVB-C Modulator


Part 2. What is MPEG4?

MPEG4 was released in 1999 and it is a method of defining compression of audio and visual (AV) digital data. MPEG4 uses further coding tools with additional complexity to achieve higher compression factors than MPEG2. In addition to more efficient coding of video, MPEG4 moves closer to computer graphics applications. In more complex profiles, the MPEG4 decoder effectively becomes a rendering processor and the compressed bitstream describes three-dimensional shapes and surface texture. MPEG4 supports Intellectual Property Management and Protection (IPMP), which provides the facility to use proprietary technologies to manage and protect content like digital rights management.

Differences Between MPEG2 and MPEG4

Now we will explain how MPEG2 and MPEG4 encoders handle compression, file size, quality, bit rate, bandwidth, filename extensions and application.

MPEG2 vs MPEG4 – Compression

Both MPEG2 and MPEG4 can maintain the same quality of audio or video in the encoding. The MPEG2 uses H.262 encoding while MPEG4 uses H.264. Though MPEG2's compression is much simpler than MPEG4, MPEG4's compression is an improvement over MPEG2 format. This is because the algorithm MPEG4 used will guarantee high quality video effect with a relatively lower file size, at the same time keep low bits video flow. Compared to MPEG2, MPEG4 is a far more versatile encoding format.

MPEG2 vs MPEG4 - File Size

MPEG2 encoded video files are much bigger compared to MPEG4. Because MPEG4's compression algorithm is designed to create files which can be used in online/network related media transfers. MPEG2 files always stored on DVDs, resulting in a larger capacity.

MPEG2 vs MPEG4 – Quality

MPEG2 produces impeccable quality that is superior to MPEG-4. MPEG2 is the industry standard and capable of handling video streams from local sources like DVDs and broadcast applications. Yet unfortunately, due to the larger file size, it is not suitable for internet or network applications. On the other hand, MPEG4 utilizes its high rate of compression and smaller file sizes to provide high-quality video and audio across multimedia streaming applications on the Internet.

MPEG2 vs MPEG4 – Bit Rate & Bandwidth

MPEG2 format encoded files have a bitrate ranging from 5 to 80 Mbits/sec, while the MPEG4 files are substantially low relative to MPEG-2 (some Kilobytes per second). Therefore, MPEG4 format is designed for network applications.

If you make the MPEG2 vs MPEG4 bandwidth comparison, you will find an enormous difference as they are designed for different platforms. MPEG2 requires a lot more bandwidth for streaming compared to MPEG4. MPEG2 has a bandwidth of up to 40 MB per second, but MPEG4 has the bandwidth of around 64 kbps.

MPEG2 vs MPEG4 – Filename Extensions

MPEG2: .mpg, .mpeg, .m2v, .mp2, mp3 are some of a number of filename extensions used for MPEG-1 or MPEG-2 audio and video file formats.
MPEG4: .mp4, .m4a, .m4b, .m4r, .m4v are some file extensions of MPEG4 video/audio.

MPEG2 vs MPEG4 – Application

Both formats are in use today for different applications. MPEG-2 is still used for DVDs and television broadcast, while MPEG4 is the encoding method of choice for portable devices and Internet streaming.

One thing is certain, compared to MPEG2, MPEG4 is a more efficient and universal video format for its video coding technology with the characters of high compression ratio, small size, low requirement for transmission bandwidth and extensive applications. As MPEG2 is the encoding method for DVDs, so if you have some DVDs and want to play it on portable devices or for online use, how to do that? Ripping DVD to MPEG4 would be a good choice. Anyway, both MPEG2 and MPEG4 are popular formats that apply to different fields. The difference lies within your specific requirements.

Established in 2000, the Soukacatv.com main products are modulators both in analog and digital ones, amplifier and combiner. We are the very first one in manufacturing the headend system in China. Our 16 in 1 and 24 in 1 now are the most popular products all over the world.

For more, please access to https://www.soukacatv.com.

CONTACT US
Company:Dingshengwei Electronics Co., Ltd
Address : BldgA,the first industry park of Guanlong,Xili Town,Nanshan,Shenzhen,Guangdong,China
Tel : +86 0755 26909863
Fax : +86 0755 26984949
Mobile : 13410066011
Email : ken@soukacatv.com

Source: videosolo


















2019年4月2日星期二

What’s the difference between MPEG2 and MPEG4? | Soukacatv.com

MPEG2 vs. MPEG4

The Moving Pictures Experts Group, or MPEG, is the body responsible for the standards that we often use for video encoding. MPEG2 is the standard that was created to encode high quality videos, meant to be used for the, then emerging, DVD media. MPEG4 was developed much later, as an encoding method for devices with limited resources. Portable devices, like media players and mobile phones, use this format, as well as online stores who provide the hiring of video and audio files.

SKD201X Household Universal Encoding & Modulation Modulator


HDMI Encoder Modulator,16in1 Digital Headend,HD RF Modulator at Soukacatv.com

MPEG4 is the preferred format for devices, as it yields a file that is under 1G for most full length movies. This is a far cry from MPEG2, which can only produce files with five times the size. Storing MPEG2 files will not be a problem on DVDs, as the usual DVD capacity is over 4GB, but is a major issue with portable devices. MPEG4 also made it practical to buy and download videos online, as MPEG2 videos are quite large, and take a long time to download. The small file size of MPEG4 files directly translates to a lower bandwidth needed, when streaming recorded or real-time videos through the internet.


SKD2618 Single HD To RF MEPG2 ATSC/QAM Modulator


SKD2711 HD Encoder To DVB-C Modulator

Setting file size aside when considering the better format, MPEG2 wins hands-down, as it provides a far superior image quality. The difference in quality is minor when viewing the files through a tiny screen, like those installed in mobile phones and even netbooks, but when it comes to large displays, like most current HDTV displays, you can clearly notice the difference in the final picture. We can attribute this to the amount of data lost, since both MPEG2 and MPEG4 are compression methods that lose data. MPEG4 simply discards more information, which results in poorer picture.

MPEG2 compresses the video by discarding the information in portions of the image that do not change from one frame to another, and saving only the portions of the image where new information is added. The MPEG4 compression mechanism is a bit more complicated compared to that of MPEG2, as it needs better algorithms to scan and determine which pixels can be discarded, to reduce the data even further.

Summary:
1. MPEG2 is the encoding method for DVDs, while MPEG4 is the encoding method of choice for portable devices and online use.
2. MPEG2 encoded video files are much bigger compared to MPEG4.
3. MPEG2 requires a lot more bandwidth for streaming compared to MPEG4.
4. MPEG2 produces the best video quality compared to MPEG4.
5. MPEG2’s compression is much simpler compared to MPEG4.

16 IN 1 Digital Modulator Headend System


HD Encoder To DVB-T RF Modulator

Established in 2000, the Soukacatv.com main products are modulators both in analog and digital ones, amplifier and combiner. We are the very first one in manufacturing the headend system in China. Our 16 in 1 and 24 in 1 now are the most popular products all over the world.
For more, please access to https://www.soukacatv.com.

CONTACT US
Company:Dingshengwei Electronics Co., Ltd
Address : BldgA,the first industry park of Guanlong,Xili Town,Nanshan,Shenzhen,Guangdong,China
Tel : +86 0755 26909863
Fax : +86 0755 26984949
Mobile : 13410066011
Email : ken@soukacatv.com

Source: differencebetween