<?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>Something better to do &#187; WMV</title>
	<atom:link href="http://blog.kamens.us/tag/wmv/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kamens.us</link>
	<description>Musings of an indignant mind</description>
	<lastBuildDate>Tue, 17 Aug 2010 12:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
			<item>
		<title>Script for using ffmpeg to crop, pan and scale WMV to MOV</title>
		<link>http://blog.kamens.us/2009/09/21/script-for-using-ffmpeg-to-crop-pan-and-scale-wmv-to-mov/</link>
		<comments>http://blog.kamens.us/2009/09/21/script-for-using-ffmpeg-to-crop-pan-and-scale-wmv-to-mov/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 17:40:54 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Free software]]></category>
		<category><![CDATA[Video editing]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[MOV]]></category>
		<category><![CDATA[QuickTime]]></category>
		<category><![CDATA[WMV]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=853</guid>
		<description><![CDATA[I&#8217;m responsible for coordinating weekly new-functionality demos for my company&#8217;s R&#38;D organization.  Each week, a developer or product manager presents a half-hour demo of some new functionality to a local audience in one of our offices, using a big 1920&#215;1080 digital TV as the local display, with a GoToMeeting session set up so that people [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m responsible for coordinating weekly new-functionality demos for my company&#8217;s R&amp;D organization.  Each week, a developer or product manager presents a half-hour demo of some new functionality to a local audience in one of our offices, using a big 1920&#215;1080 digital TV as the local display, with a GoToMeeting session set up so that people in other offices can watch the demos.  We record the GoToMeeting session, and then after the demo we publish it internally for people who weren&#8217;t able to watch it live or who want to watch it again.</p>
<p>A 30-minute 1920&#215;1080 WMV is very large, like around 50MB.  We want it to be smaller before we publish it.  One way to make it smaller is to simply scale it down, but when the entire 1920&#215;1080 canvas is shrunk down to a reasonable size, text which was perfectly legible before becomes unreadable.  Since the text is usually a crucial part of the demo, that&#8217;s unacceptable.</p>
<p>Usually, the presenter isn&#8217;t using the whole screen at any given time.  Rather, he&#8217;ll be focused on the content in one particular window for an extended period of time, and that window often takes up only around half of the screen.  Therefore, cropping the WMV to the active area is a possible way to the video file smaller without sacrificing legibility.  There&#8217;s just one problem &#8212; what happens when the presenter jumps around from window to window during the demo?</p>
<p>There are various expensive commercial video editors which will let you crop different segments of the video differently and then glom them all together into one video at the end.  However, I don&#8217;t like using commercial software when I can do it for free (this is probably about half on principle and half out of stubbornness).  Therefore, I set out to figure out how to do this with free tools.  The result is a script called <a href="http://stuff.mit.edu/~jik/software/wmv-to-panned-mov.pl.txt" target="_blank">wmv-to-panned-mov.pl</a>.</p>
<p>This script uses the excellent free tool <a href="http://ffmpeg.org/" target="_blank">ffmpeg</a> to slice and dice the input video with the appropriate cropping and produces a much smaller MOV file (i.e., QuickTime video) as its output.  You feed the script a CSV file indicating the start times, end times, and cropping areas of the various slices, and it does the rest.  There&#8217;s more information in the comment at the top of the script about how to use it.</p>
<p>Please comment here to let me know if you find this useful.  If the time I spent writing this script saves you some time or money, please consider sending a little something to my tip jar (but if you don&#8217;t, that&#8217;s OK too).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/09/21/script-for-using-ffmpeg-to-crop-pan-and-scale-wmv-to-mov/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
			<item>
		<title>AVS Video Converter to the rescue</title>
		<link>http://blog.kamens.us/2009/07/29/avs-video-converter-to-the-rescue/</link>
		<comments>http://blog.kamens.us/2009/07/29/avs-video-converter-to-the-rescue/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 04:40:48 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Video editing]]></category>
		<category><![CDATA[AVS Video Converter]]></category>
		<category><![CDATA[GoToMeeting]]></category>
		<category><![CDATA[video conversion]]></category>
		<category><![CDATA[WMV]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=781</guid>
		<description><![CDATA[I found a decent tool to solve the video conversion problem I&#8217;ve wasted days on which I complained about yesterday. What&#8217;s amusing is that the way I found it through a Google AdSense ad that appeared alongside my complaint . AVS Video Converter will convert from just about any format to just about any other [...]]]></description>
			<content:encoded><![CDATA[<p>I found a decent tool to solve the video conversion problem I&#8217;ve wasted days on which I <a href="/2009/07/29/why-is-it-so-friggin-hard-to-make-trivial-changes-to-a-video/">complained about yesterday</a>.</p>
<p>What&#8217;s amusing is that the way I found it through a Google AdSense ad that appeared alongside my complaint <img src='http://blog.kamens.us/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a href="http://www.avs4you.com/" target="_blank">AVS Video Converter</a> will convert from just about any format to just about any other format, including allowing segments of the video to be clipped during the conversion. Furthermore, it gives you complete control over all the encoding parameters in an obvious way, so you can play with them to figure out the settings that are best for you.</p>
<p><span id="more-781"></span>The same company makes a different product called AVS Video ReMaker, which does <em>exactly</em> what I wanted to do, i.e., allowing videos to be clipped without re-encoding them, but unfortunately it doesn&#8217;t support WMV files, so I had to go with AVS Video Converter, which does have to re-encode but produces a good enough result.</p>
<p>For anyone else needs to do what I did, I will share the specific settings I used to re-encode the WMV file produced by GoToMeeting, so you can use them as a starting point in your efforts to find the right settings for you:</p>
<ul>
<li>Encode to WMV</li>
<li>Windows Media Video 9 video codec</li>
<li>Original frame size</li>
<li>3 frames per second (the 30fps in the video produced by GTM is quite excessive for most purposes, although you can certainly increase this if you find that your converted video is choppy)</li>
<li>Bitrate 1200, quality level 50</li>
<li>Click on the &#8220;Advanced&#8230;&#8221; video codec settings button, enable VBR (which stands for &#8220;variable bit rate&#8221;), and choose the &#8220;Quality&#8221; setting with a quality level of 50</li>
<li>WMA audio codec</li>
<li>Mono, 16 bit sample size, 22050 Hz sample rate, 16 kbps Bitrate</li>
</ul>
<p>This produces a video which, admittedly, isn&#8217;t quite as crisp as the original produced by GoToMeeting, but considering that it&#8217;s more than 40% smaller, I&#8217;m willing to sacrifice a little crispness. Of course, if you&#8217;re not you can increase the quality level.</p>
<p>Note that the company that produces the software is currently having a sale where you can buy an unlimited, perpetual license for all of their programs for one computer (if you buy a different computer, you have to buy a new license) for only $59.</p>
<p>I do have a few minor complaints about AVS Video Converter which I will mention here in the spirit of full disclosure:</p>
<ol>
<li>When you edit the audio encoding parameters by hand and choose a combination that isn&#8217;t valid for the codec you&#8217;re using, it tells you that the combination is invalid but doesn&#8217;t tell you why or what to do about it.</li>
<li>It would be nice if the authors gave a bit more guidance about what all the knobs and dials mean, which might have saved me some trial-and-error time.</li>
<li>I found a few combinations of codecs and encoder settings which caused the program to crash or report internal errors.  I just worked around this by using a different codec or changing the settings, and so many of them are supported that it wasn&#8217;t a major obstacle.</li>
</ol>
<p>Overall, though, it&#8217;s a pretty decent program, especially since it actually does what I need!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/07/29/avs-video-converter-to-the-rescue/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
