{"id":402,"date":"2015-01-18T18:01:08","date_gmt":"2015-01-19T02:01:08","guid":{"rendered":"http:\/\/brightland.com\/w\/?p=402"},"modified":"2015-02-13T19:18:36","modified_gmt":"2015-02-14T03:18:36","slug":"h-264-vs-prores-equivalent-quality-with-3x-smaller-files","status":"publish","type":"post","link":"https:\/\/brightland.com\/w\/h-264-vs-prores-equivalent-quality-with-3x-smaller-files\/","title":{"rendered":"H.264 vs. ProRes: equivalent quality with 3x smaller files"},"content":{"rendered":"<h4>Canon 5D Mark III 14-bit RAW &#8211; The Baby Alexa<\/h4>\n<p>Canon 5D Mark III ML 14-bit RAW footage looks great. It provides some of the best color and image quality short of an ARRI Alexa\/Amira. Converting the .MLV files to DNG can be pretty fast, however the file sizes are quite large. <a href=\"http:\/\/www.magiclantern.fm\/forum\/index.php?topic=9560.0\">mlrawviewer<\/a>\u00a0provides ProRes 10-bit 444 output which looks great. The resulting files are still very large: ~280Mbps. I did an experiment to see if smaller files with equivalent quality were possible.<\/p>\n<h4><strong>FFMPEG Compiled for 10-bit<\/strong><\/h4>\n<p>FFMPEG is a powerful command line tool. It supports many inputs and outputs, and can be compiled to support 10-bits per pixel. \u00a0Using the 10-bit version of FFMPEG, it&#8217;s possible to output 422 10-bit H.264 files that visually match the quality of ProRes 444 10-bit at ~1\/3 the file size (round 90Mbps)! It&#8217;s also possible to create 444 10-bit H.264 files, which VLC will play, however I have not been able to get an NLE to display them.<\/p>\n<h4><strong>Compiling FFMPEG for 10-bit<\/strong><\/h4>\n<p>FFMPEG must be compiled for 10-bit support. For general use, two versions of FFMPEG are needed: one for 8-bit and one for 10-bit. While it&#8217;s possible to compile FFMPEG for Windows on Windows, it&#8217;s faster and easier to set up and complete the cross-compile on Linux or OSX. Linux is the easiest, and I was able to build 10-bit FFMPEG using this:\u00a0<a href=\"https:\/\/github.com\/rdp\/ffmpeg-windows-build-helpers\">https:\/\/github.com\/rdp\/ffmpeg-windows-build-helpers<\/a>. The only snag was the VMWare Ubuntu Linux VM was initially set up with 1GB of RAM. The build failed with an obscure error message. Googling revealed a possible memory problem. After restarting the VM with 4GB of RAM, it finished without issue. I had also started a build on my 2014 MBP (4-core), which was much faster than the 2-core (max limit) VMWare with Linux (on a faster 12-Core MacPro). Here&#8217;s the additional info necessary to build for 10-bit H264:<a href=\"http:\/\/video.stackexchange.com\/questions\/13164\/encoding-422-in-10-bit-with-libx264\">\u00a0http:\/\/video.stackexchange.com\/questions\/13164\/encoding-422-in-10-bit-with-libx264<\/a>.<\/p>\n<h4>NLE Support<\/h4>\n<p>Premiere Pro CC works great with 10-bit 422 H.264 files, this is the same basic spec as Sony&#8217;s XAVC (vs. XAVC-S which is 420 8-bit). Doing an A\/B compare against ProRes 444 at 3x the bitrate is visually equivalent. Only when zooming in 400% can the fine noise pattern differences be seen. So far I haven&#8217;t be able to create a 10-bit 422 H.264 file that Resolve will display (shows black). I will test with FCPX on OSX shortly.<\/p>\n<h4>Ultimate Quality<\/h4>\n<p>I&#8217;m seeing macroblock edges in the ProRes 444 files from mlrawviewer. I&#8217;m curious if the more modern H.264 can produce macroblockless encodes (which can be fully\u00a0deblocked when decoded). H.264 also supports ALL-I- so perhaps ALL-I H.264 at similar bitrates to ProRes 444 may provide better image quality.<\/p>\n<h4>H.264 10-bit 422 Support for mlrawviewer<\/h4>\n<p>I&#8217;ve looked at the source code for mlrawviewer. \u00a0It would be fairly straightforward\u00a0to add support for high-quality H.264.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Canon 5D Mark III 14-bit RAW &#8211; The Baby Alexa Canon 5D Mark III ML 14-bit RAW footage looks great. It provides some of the best color and image quality short of an ARRI Alexa\/Amira. Converting the .MLV files to DNG can be pretty fast, however the file sizes are quite large. mlrawviewer\u00a0provides ProRes 10-bit &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/brightland.com\/w\/h-264-vs-prores-equivalent-quality-with-3x-smaller-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;H.264 vs. ProRes: equivalent quality with 3x smaller files&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-post-production"],"_links":{"self":[{"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/posts\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":10,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/posts\/402\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brightland.com\/w\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}