<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.pterodactylus.net/index.php?action=history&amp;feed=atom&amp;title=Creating_Moviegrams</id>
		<title>Creating Moviegrams - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.pterodactylus.net/index.php?action=history&amp;feed=atom&amp;title=Creating_Moviegrams"/>
		<link rel="alternate" type="text/html" href="https://wiki.pterodactylus.net/index.php?title=Creating_Moviegrams&amp;action=history"/>
		<updated>2026-04-18T15:27:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>https://wiki.pterodactylus.net/index.php?title=Creating_Moviegrams&amp;diff=43&amp;oldid=prev</id>
		<title>Bombe: Print progress while cutting columns.</title>
		<link rel="alternate" type="text/html" href="https://wiki.pterodactylus.net/index.php?title=Creating_Moviegrams&amp;diff=43&amp;oldid=prev"/>
				<updated>2012-11-04T22:02:51Z</updated>
		
		<summary type="html">&lt;p&gt;Print progress while cutting columns.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:02, 4 November 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Cut a single column from all those frames:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Cut a single column from all those frames:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # for i in `seq 1 ''width''`; do f=&amp;quot;$(seq -f %04g $i $i)&amp;quot;; pamcut -left &amp;quot;$(($i- 1))&amp;quot; -width 1 &amp;lt; &amp;quot;image-${f}.pnm&amp;quot; &amp;gt; &amp;quot;col-${f}.pnm&amp;quot;; done&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # for i in `seq 1 ''width''`; do f=&amp;quot;$(seq -f %04g $i $i)&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; echo $f&lt;/ins&gt;; pamcut -left &amp;quot;$(($i- 1))&amp;quot; -width 1 &amp;lt; &amp;quot;image-${f}.pnm&amp;quot; &amp;gt; &amp;quot;col-${f}.pnm&amp;quot;; done&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Combine all the columns into a single image:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Combine all the columns into a single image:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bombe</name></author>	</entry>

	<entry>
		<id>https://wiki.pterodactylus.net/index.php?title=Creating_Moviegrams&amp;diff=42&amp;oldid=prev</id>
		<title>Bombe: Created page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pterodactylus.net/index.php?title=Creating_Moviegrams&amp;diff=42&amp;oldid=prev"/>
				<updated>2012-11-04T21:49:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;First get the width, length and framerate of the movie you want to create a moviegram of:&lt;br /&gt;
&lt;br /&gt;
 # mediainfo -f movie.avi | grep '\(Width\|Frame \(rate\|count\)\)'&lt;br /&gt;
&lt;br /&gt;
Find out the ratio at which to play the movie:&lt;br /&gt;
&lt;br /&gt;
 # echo '3 k ''&amp;lt;fps&amp;gt;'' ''&amp;lt;number of frames&amp;gt;'' ''&amp;lt;movie width&amp;gt;'' / / p' | dc&lt;br /&gt;
&lt;br /&gt;
This will probably result in a number smaller than &amp;lt;code&amp;gt;1.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now cut the single frames out of the movie:&lt;br /&gt;
&lt;br /&gt;
 # avconv -i movie.avi -vsync 1 -r ''rate'' image-%04.pnm&lt;br /&gt;
&lt;br /&gt;
Cut a single column from all those frames:&lt;br /&gt;
&lt;br /&gt;
 # for i in `seq 1 ''width''`; do f=&amp;quot;$(seq -f %04g $i $i)&amp;quot;; pamcut -left &amp;quot;$(($i- 1))&amp;quot; -width 1 &amp;lt; &amp;quot;image-${f}.pnm&amp;quot; &amp;gt; &amp;quot;col-${f}.pnm&amp;quot;; done&lt;br /&gt;
&lt;br /&gt;
Combine all the columns into a single image:&lt;br /&gt;
&lt;br /&gt;
 # pnmcat -lr col-0*.pnm &amp;gt; part-1.pnm # pnmcat can only open 1024 files at once so we have to process it in smaller batches&lt;br /&gt;
 # pnmcat -lr col-1*.pnm &amp;gt; part-2.pnm&lt;br /&gt;
 # pnmcat -lr part-*.pnm | pnmtopng &amp;gt; moviegram.png&lt;/div&gt;</summary>
		<author><name>Bombe</name></author>	</entry>

	</feed>