<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: On ur laptop, making ur still frames into a movie.</title>
	<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie/</link>
	<description>Comments on Ask MetaFilter post On ur laptop, making ur still frames into a movie.</description>
	<pubDate>Sat, 14 Jul 2007 03:53:40 -0800</pubDate>
	<lastBuildDate>Sat, 14 Jul 2007 03:53:40 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: On ur laptop, making ur still frames into a movie.</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie</link>	
		<description>What&apos;s the quickest, easiest way to turn a directory of sequentially numbered JPG files into a video file?  Linux or Windows. &lt;br /&gt;&lt;br /&gt; I&apos;ve got a stack of files, generated by POVRAY, named as such:&lt;br&gt;
&lt;br&gt;
frame1.jpg&lt;br&gt;
frame2.jpg&lt;br&gt;
...&lt;br&gt;
frame330.jpg&lt;br&gt;
&lt;br&gt;
I want to turn then into a video file.  MPEG-1 is fine - anything that&apos;s reasonably standard will do.  I don&apos;t really want to have to specify anything apart from the directory the files are in, and the frame rate.&lt;br&gt;
&lt;br&gt;
What&apos;s the best way to do this?  A solution for Linux or Windows would both be okay.  Google-disclaimer: The closest I could find was some ancient 16-bit Windows software that produced AVIs from BMPs (not really what I&apos;m after).</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.66969</guid>
		<pubDate>Sat, 14 Jul 2007 03:29:28 -0800</pubDate>
		<dc:creator>Jimbob</dc:creator>
		
			<category>video</category>
		
			<category>animation</category>
		
			<category>stop-motion</category>
		
			<category>linux</category>
		
			<category>windows</category>
		
			<category>software</category>
		
	</item> <item>
		<title>By: popcassady</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1003968</link>	
		<description>On my mac, I use Quicktime Pro. It has an &lt;i&gt;import image sequence&lt;/i&gt; option.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore?productLearnMore=D3381Z/A&quot;&gt;Quicktime Pro for Windows.&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1003968</guid>
		<pubDate>Sat, 14 Jul 2007 03:53:40 -0800</pubDate>
		<dc:creator>popcassady</dc:creator>
	</item><item>
		<title>By: rpn</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1003972</link>	
		<description>&lt;a href=&quot;http://ffmpeg.mplayerhq.hu/faq.html#SEC3&quot;&gt;Ffmpeg&lt;/a&gt; can do it (available for both windows and linux). For example:&lt;br&gt;
&lt;pre&gt;&lt;br&gt;
ffmpeg -f image2 -i frame%d.jpg video.mpg&lt;br&gt;
&lt;/pre&gt;&lt;br&gt;
There are (lots) of options to specify the bitrate, output format and size, frame rate etc. See the &lt;a href=&quot;http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html&quot;&gt;documentation&lt;/a&gt; for the details.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1003972</guid>
		<pubDate>Sat, 14 Jul 2007 04:05:15 -0800</pubDate>
		<dc:creator>rpn</dc:creator>
	</item><item>
		<title>By: Jimbob</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1003973</link>	
		<description>Sorry, I should have also specified free / open souce solutions.  I figure turning JPGs into an MPG can&apos;t be that difficult, it&apos;s not worth US$29.99 for my purposes.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1003973</guid>
		<pubDate>Sat, 14 Jul 2007 04:06:44 -0800</pubDate>
		<dc:creator>Jimbob</dc:creator>
	</item><item>
		<title>By: Jimbob</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1003975</link>	
		<description>I will give ffmpeg a go after POVRAY has finished rendering, rpn, that looks like a reasonably simple command line.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1003975</guid>
		<pubDate>Sat, 14 Jul 2007 04:19:19 -0800</pubDate>
		<dc:creator>Jimbob</dc:creator>
	</item><item>
		<title>By: mmascolino</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1003984</link>	
		<description>Microsoft Windows Movie Maker will do that (although it will produce a WMA file that might be ok for you or at least then you can convert that into something else).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1003984</guid>
		<pubDate>Sat, 14 Jul 2007 04:54:58 -0800</pubDate>
		<dc:creator>mmascolino</dc:creator>
	</item><item>
		<title>By: handee</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004016</link>	
		<description>mencoder on linux can do it too.&lt;br&gt;
&lt;br&gt;
This line does it using mjpeg, you can use whatever codec you want.&lt;br&gt;
&lt;br&gt;
mencoder mf://vq*.jpg -ovc lavc -lavcopts vcodec=mjpeg -o output.avi&lt;br&gt;
&lt;br&gt;
If you want to subsequently be able to play the avi on Windows look at my answer to my own question yesterday: &lt;a href=&quot;http://ask.metafilter.com/66809/Why-do-my-videos-always-look-so-shoddy-in-PowerPoint#1004015&quot;&gt;here&lt;/a&gt;. It&apos;s a two stage process but the output works in windows and looks OK.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004016</guid>
		<pubDate>Sat, 14 Jul 2007 07:02:58 -0800</pubDate>
		<dc:creator>handee</dc:creator>
	</item><item>
		<title>By: handee</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004017</link>	
		<description>Copy and paste mistakee there, sorry. Obviously, vq*.jpg should be replaced by whatever wildcard specifies your stack of jpegs, I tested it on a set which went vq001.jpg etc.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004017</guid>
		<pubDate>Sat, 14 Jul 2007 07:04:47 -0800</pubDate>
		<dc:creator>handee</dc:creator>
	</item><item>
		<title>By: Neon</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004021</link>	
		<description>Doesn&apos;t that * need escaping/quoting, otherwise the shell might expand it? In the mencoder man page, it gives this example at the bottom:&lt;br&gt;
&lt;br&gt;
mencoder &quot;mf://*.jpg&quot; -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004021</guid>
		<pubDate>Sat, 14 Jul 2007 07:16:28 -0800</pubDate>
		<dc:creator>Neon</dc:creator>
	</item><item>
		<title>By: mendel</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004051</link>	
		<description>Neon: It would if &quot;mf://*.jpg&quot; actually matched anything -- that is, if there was a &quot;mf:&quot; directory in the current working directory that contained jpegs. If a wildcard doesn&apos;t match it&apos;s passed along as a literal argument. &lt;br&gt;
&lt;br&gt;
You can test that with &quot;echo mf://*.jpg&quot;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004051</guid>
		<pubDate>Sat, 14 Jul 2007 08:34:26 -0800</pubDate>
		<dc:creator>mendel</dc:creator>
	</item><item>
		<title>By: dorian</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004102</link>	
		<description>be careful with wildcards tho -- based on the filenames you have, the frame order may screw up.&lt;br&gt;
&lt;br&gt;
ls frame*.jpg will give:&lt;br&gt;
&lt;br&gt;
frame100.jpg&lt;br&gt;
frame101.jpg&lt;br&gt;
...&lt;br&gt;
frame109.jpg&lt;br&gt;
frame10.jpg&lt;br&gt;
frame110.jpg&lt;br&gt;
frame111.jpg&lt;br&gt;
...&lt;br&gt;
frame199.jpg&lt;br&gt;
frame1.jpg&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
so either change the naming such that&lt;br&gt;
frame001.jpg&lt;br&gt;
frame002.jpg&lt;br&gt;
...&lt;br&gt;
frame010.jpg&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
or use the ffmpeg example with %d which will &quot;do the right thing&quot; (but %d will not work as a wildcard in regular shell functions...)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004102</guid>
		<pubDate>Sat, 14 Jul 2007 09:34:53 -0800</pubDate>
		<dc:creator>dorian</dc:creator>
	</item><item>
		<title>By: Jimbob</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004376</link>	
		<description>Hmmm.  I&apos;ve finally got around to trying this, and ffmpeg gives doens of the the following errors:&lt;br&gt;
&lt;pre&gt;[mjpeg @ 0x8336308]mjpeg: unsupported coding type (cd)&lt;br&gt;
[mjpeg @ 0x8336308]mjpeg: unsupported coding type (c9)&lt;br&gt;
[mjpeg @ 0x8336308]mjpeg: unsupported coding type (c2)&lt;br&gt;
[mjpeg @ 0x8336308]huffman table decode error&lt;br&gt;
&lt;/pre&gt;&lt;br&gt;
Before spitting out a video file that doesn&apos;t play. mencoder does something pretty similar.  But I think it may be a problem on the POVRAY side of things...maybe I only &lt;i&gt;think&lt;/i&gt; I&apos;m generating JPGs because of the file extension, when I&apos;m really creating BMPs or something.  In the absence of any more suggestions, I&apos;ll keep trying...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004376</guid>
		<pubDate>Sat, 14 Jul 2007 15:52:21 -0800</pubDate>
		<dc:creator>Jimbob</dc:creator>
	</item><item>
		<title>By: Jimbob</title>
		<link>http://ask.metafilter.com/66969/On-ur-laptop-making-ur-still-frames-into-a-movie#1004380</link>	
		<description>Yes...POVRAY was produing PNGs but calling them .JPG.  Once converted to JPG, the ffmpeg solution works great.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.66969-1004380</guid>
		<pubDate>Sat, 14 Jul 2007 15:58:28 -0800</pubDate>
		<dc:creator>Jimbob</dc:creator>
	</item>
	</channel>
</rss>
