{"id":263,"date":"2015-08-27T15:07:00","date_gmt":"2015-08-27T15:07:00","guid":{"rendered":"http:\/\/machineryequipmentonline.com\/video-equipment\/uncategorized\/mpeg-encodingvideo-mpeg-2-coding\/"},"modified":"2015-08-27T15:07:00","modified_gmt":"2015-08-27T15:07:00","slug":"mpeg-encodingvideo-mpeg-2-coding","status":"publish","type":"post","link":"http:\/\/machineryequipmentonline.com\/video-equipment\/mpeg-encodingvideo-mpeg-2-coding\/","title":{"rendered":"MPEG encoding:Video MPEG-2 coding"},"content":{"rendered":"<div class=\"kpdku6a0dbc44a8472\" ><script type=\"text\/javascript\">\n\tatOptions = {\n\t\t'key' : '61e5902552e2353963d8d2f1bd1f4a8f',\n\t\t'format' : 'iframe',\n\t\t'height' : 250,\n\t\t'width' : 300,\n\t\t'params' : {}\n\t};\n<\/script>\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/61e5902552e2353963d8d2f1bd1f4a8f\/invoke.js\"><\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.kpdku6a0dbc44a8472 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.kpdku6a0dbc44a8472 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.kpdku6a0dbc44a8472 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.kpdku6a0dbc44a8472 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.kpdku6a0dbc44a8472 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n<h3 align=\"justify\">Video MPEG-2 coding<\/h3>\n<p align=\"justify\">There are two distinguishing features of a video clip, both of which are utilised by MPEG in its data compression technique. The first is that a video piece is a sequence of still images and as such can be compressed using the same technique as that used by JPEG. This is known as <i>spatial inter-fram<\/i><i>e <\/i>compression. The second feature is, in general, successive images of a video piece differ very little, making it possible to dispense with the unchanging or redundant part and send only the difference. This type of compression which is time-related, inter-frame compression known as <i>tempora<\/i><i>l <\/i>DCT compression; DCT (discrete cosine transform) being the name of the mathematical process used.  <\/p>\n<p align=\"justify\">Video MPEG coding consists of three major parts: data preparation, compression (temporal and spatial) and quantisation (Figure 4.2).  <\/p>\n<h3 align=\"justify\">Video data preparation<\/h3>\n<p align=\"justify\">The purpose of video data preparation is to ensure a raw-coded sample of the picture frame organised in a way that is suitable for data compres- sion. The video information enters the video encoder in the form of line- scanned coded samples of luminance Y, and chrominance CR and CB. Video preparation involves regrouping these samples into 8 X 8 blocks to be used in spatial redundancy removal. These blocks are then rearranged into 16 X 16 macroblocks to be used in temporal redundancy removal. The macroblocks are then grouped into slices which are the basic units for data compression. The make up of a macroblock is determined by the chosen MPEG-2 profile. Using 4:2:0 sampling, a macroblock will consist of four  <\/p><div class=\"jmyhx6a0dbc44ab5e5\" ><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-0778475562755157\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- 300x600 television-and-video -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:300px;height:600px\"\n     data-ad-client=\"ca-pub-0778475562755157\"\n     data-ad-slot=\"6549443290\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.jmyhx6a0dbc44ab5e5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.jmyhx6a0dbc44ab5e5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.jmyhx6a0dbc44ab5e5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.jmyhx6a0dbc44ab5e5 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.jmyhx6a0dbc44ab5e5 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n<div class=\"lvdjw6a0dbc44ab50b\" ><script type=\"text\/javascript\">\n\tatOptions = {\n\t\t'key' : '0c1eb4c533eaedb7b996f49a5a4983a9',\n\t\t'format' : 'iframe',\n\t\t'height' : 300,\n\t\t'width' : 160,\n\t\t'params' : {}\n\t};\n<\/script>\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/0c1eb4c533eaedb7b996f49a5a4983a9\/invoke.js\"><\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.lvdjw6a0dbc44ab50b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.lvdjw6a0dbc44ab50b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.lvdjw6a0dbc44ab50b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.lvdjw6a0dbc44ab50b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.lvdjw6a0dbc44ab50b {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n\n<p align=\"justify\"><a href=\"http:\/\/lh3.googleusercontent.com\/-2ENHGuO4cVc\/Vd8nlqqTYJI\/AAAAAAAB3ek\/5CtuyL9tj9U\/s1600-h\/MPEG-encoding-05142.jpg\"><img decoding=\"async\" loading=\"lazy\" style=\"background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"MPEG encoding-0514\" border=\"0\" alt=\"MPEG encoding-0514\" src=\"http:\/\/lh3.googleusercontent.com\/-q5K0oE3OGo8\/Vd8nqYmwIoI\/AAAAAAAB3ew\/FnvIOopexjY\/MPEG-encoding-0514_thumb.jpg?imgmax=800\" width=\"365\" height=\"108\" \/><\/a>  <\/p>\n<p align=\"justify\">blocks of luminance and one block of each of the chrominance components CR and CB. Theoretically, a slice may range from one macroblock up to the whole picture. But in practice a slice will cover a complete picture row or part of a picture row.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Video MPEG-2 coding There are two distinguishing features of a video clip, both of which are utilised by MPEG in its data compression technique. The first is that a video piece is a sequence of still images and as such can be compressed using the same technique as that used by JPEG. This is known [&hellip;]<br \/><a href=\"http:\/\/machineryequipmentonline.com\/video-equipment\/mpeg-encodingvideo-mpeg-2-coding\/\" class=\"more-link\" >Continue reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"aioseo_notices":[],"views":741,"_links":{"self":[{"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/posts\/263"}],"collection":[{"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":0,"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/machineryequipmentonline.com\/video-equipment\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}