<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cognitive Zest &#187; Mpeg2</title>
	<atom:link href="http://jedypod.com/tag/mpeg2/feed" rel="self" type="application/rss+xml" />
	<link>http://jedypod.com</link>
	<description>cerebular exocarp</description>
	<lastBuildDate>Wed, 16 Nov 2011 02:33:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>HV20 Workflow, Processing, and Image Quality</title>
		<link>http://jedypod.com/hv20-workflow-processing-and-image-quality</link>
		<comments>http://jedypod.com/hv20-workflow-processing-and-image-quality#comments</comments>
		<pubDate>Fri, 09 Nov 2007 12:46:35 +0000</pubDate>
		<dc:creator>jedypod</dc:creator>
				<category><![CDATA[Evergreen]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Codecs]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Dream Sublimation]]></category>
		<category><![CDATA[HV20]]></category>
		<category><![CDATA[Mpeg2]]></category>
		<category><![CDATA[Production Entries]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://grace.evergreen.edu/~smijed07/blog/?p=107</guid>
		<description><![CDATA[In a previous post, I briefly discussed some of the specific concerns of working with footage from the Canon HV20. In this post, I will talk about these things in a little more depth, and with some example pictures to more fully demonstrate what I&#8217;m talking about. Here is a full resolution frame-capture of a [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://www.jedypod.com/technical-activities-and-a-new-toy/">previous post</a>, I briefly discussed some of the specific concerns of working with footage from the Canon HV20. In this post, I will talk about these things in a little more depth, and with some example pictures to more fully demonstrate what I&#8217;m talking about.</p>
<p>Here is a full resolution frame-capture of a video stream shot with the HV20 (the image is a link to the full resolution image). All of the images posted here are compressed with jpeg 80% quality, and should have most of their original attributes preserved. Note that the pulldown has been removed with After Effects, and that this was originally a frame comprised of two interlaced fields. Note that this picture is HUGE (1920&#215;1080), so if you have a regular sized monitor, expect to scroll around to look at it completely.<br />
<a href="/media/uploads/2007/11/hv20-test-original.jpg" title="HV20 Screen Capture - Original"><img src="/media/uploads/2007/11/hv20-test-original.jpg" alt="HV20 Screen Capture - Original" width="600" /></a></p>
<p>If you look closely at the image, you can discern fragments of interlacing artifacts left behind from the pulldown removal. This happens because the mpeg2 compression of the interlaced image results in fields that are imperfect with macroblocks and other imperfections. This confuses After Effects&#8217; algorithms, leaving behind chunks of image that still have interlaced areas. Effectively this just looks like bits of the image have weird blocks of &#8216;liney&#8217; areas. Below is a 4:1 crop of the above original frame, doubled in size.</p>
<p><a href="/media/uploads/2007/11/HV20-test-original-crop.jpg" title="HV20 Screen Capture - 4:1 Crop, Original"><img src="/media/uploads/2007/11/HV20-test-original-crop.jpg" alt="HV20 Screen Capture - 4:1 Crop, Original" width="600" /></a></p>
<p>You can notice these artifacts on the edge of the finger. In After Effects, there are plugins to process a frame to remove interlacing artifacts. With one of those applied, the image looks a little cleaner.<br />
<a href="/media/uploads/2007/11/HV20-test-deinterlace-crop.jpg" title="HV20 Screen Capture - 4:1 Crop, Deinterlaced"><img src="/media/uploads/2007/11/HV20-test-deinterlace-crop.jpg" alt="HV20 Screen Capture - 4:1 Crop, Deinterlaced" width="600" /></a></p>
<p>There are still noticeable artifacts from the mpeg2 compression. You can make out macroblocking and chroma abnormalities on the thumb and surrounding areas. If you were to look at the individual color channels, this would be more noticeable. Usually the compression artifacts are worse in the blue channel. There is a plugin that comes with the Magic Bullet Suite called the &#8220;Deartifactor&#8221; that takes a whack at removing compression artifacts such at as these.</p>
<p>Deartifacted:<br />
<a href="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-crop.jpg" title="HV20 Screen Capture - 4:1 Crop, Deinterlaced, with Deartifactor Applied"><img src="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-crop.jpg" alt="HV20 Screen Capture - 4:1 Crop, Deinterlaced, with Deartifactor Applied" width="600" /></a></p>
<p>Non-Deartifacted &#8211; Blue Channel Only:<br />
<a href="/media/uploads/2007/11/HV20-test-deinterlace-crop-blue.jpg" title="HV20 Screen Capture - 4:1 Crop, Deinterlaced - Blue Channel Only"><img src="/media/uploads/2007/11/HV20-test-deinterlace-crop-blue.jpg" alt="HV20 Screen Capture - 4:1 Crop, Deinterlaced - Blue Channel Only" width="600" /></a></p>
<p>Deartifacted &#8211; Blue Channel Only:<br />
<a href="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-crop-blue.jpg" title="HV20 Screen Capture - 4:1 Crop, Deinterlaced, Deartifacted - Blue Channel Only"><img src="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-crop-blue.jpg" alt="HV20 Screen Capture - 4:1 Crop, Deinterlaced, Deartifacted - Blue Channel Only" width="600" /></a></p>
<p>Sometimes it is hard to see what the deartifactor is doing in areas of detail. Here is another comparison in another less detailed area of the image.</p>
<p>Non-Deartifacted &#8211; Blue Channel Only:<br />
<a href="/media/uploads/2007/11/HV20-test2-deinterlace-crop-blue.jpg" title="HV20 Screen Capture - 4:1 Crop of Different Area, Deinterlaced - Blue Channel Only"><img src="/media/uploads/2007/11/HV20-test2-deinterlace-crop-blue.jpg" alt="HV20 Screen Capture - 4:1 Crop of Different Area, Deinterlaced - Blue Channel Only" width="600" /></a></p>
<p>Deartifacted &#8211; Blue Channel Only:<br />
<a href="/media/uploads/2007/11/HV20-test2-deinterlace-deartifact-crop-blue.jpg" title="HV20 Screen Capture - 4:1 Crop of Different Area, Deinterlaced, Deartifacted - Blue Channel Only"><img src="/media/uploads/2007/11/HV20-test2-deinterlace-deartifact-crop-blue.jpg" alt="V20 Screen Capture - 4:1 Crop of Different Area, Deinterlaced, Deartifacted - Blue Channel Only" width="600" /></a></p>
<p>There is also a filter in After Effects called Remove Grain that was once sold as <a href="http://toolfarm.com/plugins/index.php/Visual_Infinity_Grain_Surgery_for_After_Effects">Grain Surgery</a> by <a href="http://www.visinf.com/">Visual Infinity</a>, but is now included for free with After Effects. This plugin is quite amazingly good at removing grain while preserving detail in the image. While the compression artifacting is not quite grain, it does do a fair amount to improve the apparent image clarity, and while it does soften the image some, it can be adjusted for good results.</p>
<p>Remove Grain filter applied:<br />
<a href="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-removeGrain-crop.jpg" title="HV20 Screen Capture - 4:1 Crop, Deinterlaced, Deartifacted, Remove Grain - Blue Channel Only"><img src="/media/uploads/2007/11/HV20-test-deinterlace-deartifact-removeGrain-crop.jpg" alt="HV20 Screen Capture - 4:1 Crop, Deinterlaced, Deartifacted, Remove Grain - Blue Channel Only" width="600" /></a></p>
<p>Here is the final processed image, in full resolution.<br />
<a href="/media/uploads/2007/11/HV20-test-processed.jpg" title="HV20 Screen Capture - Processed Image"><img src="/media/uploads/2007/11/HV20-test-processed.jpg" alt="HV20 Screen Capture - Processed Image" width="600" /></a></p>
<p>Most likely the effective qualitative differences in the image when viewed full-resolution are relatively minor. However, when you get into things like doing dramatic color correction or other processing, or attempting to extract a matte from an image using color keying, it is absolutely essential to have the best quality image that you can to work with. Of course it is not really a great idea to try to use HDV for something requiring excellent chroma key matte extraction, but for 800 dollars, this camera produces some amazing images, and you would be hard pressed to find a better solution for less than several thousand. There is also the possibility of capturing 4:2:2 uncompressed video before the MPEG2 compression stage from the <a href="http://en.wikipedia.org/wiki/Hdmi">HDMI</a> output of this camera, if you have a <a href="http://www.blackmagic-design.com/products/intensity/">Black Magic Intensity</a> card, or an equivalent HDMI capture device, which <a href="http://www.hv20.com/showthread.php?t=273">could theoretically</a> be plugged into a laptop. There has been <a href="http://dvinfo.net/conf/showthread.php?t=93142">some experimentation</a> in this area, but little noticeable benefit is likely to be achieved.</p>
<p>As free alternatives for the post-processing of HDV, there is a plethora of possibility with <a href="http://avisynth.org/mediawiki/Main_Page">AviSynth</a> and various other freeware windows applications. There is quite a bit of activity around the area of using AviSynth for post-processing of HV20 footage.<br />
<a href="http://yousillyman.blogspot.com/2007/05/making-true-24p-sources-out-of-hv20-m2t.html">The Farnsworth plus Sillyman Process</a><br />
<a href="http://www.hv20.com/showthread.php?t=3246" title="Automated 24p pulldown workflow using DGIndex and VirtualDubMod">Automated 24p pulldown workflow using DGIndex and VirtualDubMod</a><br />
<a href="http://www.hv20.com/showthread.php?t=3246"> Morgan MJPEG2000 as an alternative HD Intermediate Codec</a><br />
<a href="http://hv20.com/showthread.php?t=3202"> AVISynth and VDub Templates / Code</a></p>
<p>To end this post, here are some other full-frame image-captures from the HV20, with no processing applied to them other than pulldown removal and deinterlacing.</p>
<p>An indoor image recorded in low light, showing the characteristic of the camera in high-gain mode, which can be avoided if <a href="http://www.hv20.com/showthread.php?t=180">operated properly</a>.<br />
<a href="/media/uploads/2007/11/interior-night.jpg" title="HV20 Screen Capture - Interior, Night"><img src="/media/uploads/2007/11/interior-night.jpg" alt="HV20 Screen Capture - Interior, Night" width="600" /></a></p>
<p>An outdoor image from the camera on a relatively bright day.<br />
<a href="/media/uploads/2007/11/Field-Day.jpg" title="{HV20 Quality} HV20 Screen Capture - Field, Daytime"><img src="/media/uploads/2007/11/Field-Day.jpg" alt="HV20 Screen Capture - Field, Daytime" width="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jedypod.com/hv20-workflow-processing-and-image-quality/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

