<?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>gHacks technology news &#187; avatars</title>
	<atom:link href="http://www.ghacks.net/tag/avatars/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 03:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Animated Gifs from Movie Clips</title>
		<link>http://www.ghacks.net/2008/04/08/create-animated-gifs-from-movie-clips/</link>
		<comments>http://www.ghacks.net/2008/04/08/create-animated-gifs-from-movie-clips/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 17:21:43 +0000</pubDate>
		<dc:creator>Cheryl</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[animated gifs]]></category>
		<category><![CDATA[avatars]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=3758</guid>
		<description><![CDATA[Animated gif files are a great way to get your profile pic or avatar to really stand out from the rest of the crowd. I’ve seen software that will make gifs for you but Noah has figured out a method to create animated gifs from a video clip using two of the most popular open [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Animated gif files are a great way to get your profile pic or avatar to really stand out from the rest of the crowd. I’ve seen software that will make gifs for you but <a href="http://blog.ahfr.org/" target="_blank">Noah</a> has figured out a method to create animated gifs from a video clip using two of the most popular open source programs, Mplayer and Gimp. Noah’s method is primarily written for the Linux user but it works fine on Windows as well.</p>
<p class="MsoNormal">Before I give Noah’s method, I’d like to mention that there is a way to create animated gifs directly with <a href="http://www.mplayerhq.hu/" target="_blank">MPlayer</a>. However, the resultant gif file can sometimes be very strange-looking so it’s not very reliable. Anyway, once you figure out what video clip to use, let’s begin. Fire up MPlayer and switch to command-line operation. Then type in the following command:</p>
<p class="MsoNormal"><strong>mplayer -ao null -loop 0 -ss 0:</strong><strong>11:22</strong><strong> -endpos 5 file.avi</strong></p>
<p class="MsoNormal"><span id="more-3758"></span></p>
<p class="MsoNormal">This command allows you to preview what your final gif will look like. In this instance, I’ve selected a 5 second clip and looped it so it keeps repeating. If you’re satisfied with the clip, proceed to the next step.</p>
<p class="MsoNormal"><strong>mplayer -ao null -ss 0:</strong><strong>11:22</strong><strong> -endpos 5 file.avi -vo jpeg:outdir=gifmovie</strong></p>
<p class="MsoNormal">This command tells MPlayer to export your 5-second clip as a series of jpeg images to the specified folder, which in this case is ‘gifmovie’. After this step, MPlayer’s work is done and it’s time to switch to <a href="http://www.gimp.org/" target="_blank">Gimp</a>. This is where you convert the jpeg files into your gif.</p>
<p class="MsoNormal">Open the first jpeg image in your directory using Gimp. Then, open the rest of the images in the folder as layers (File &gt; Open as layer). Now, all you have to do is save the file as a gif (File &gt; Save As). In the resultant dialog box, check the ‘save as animation’ and ‘loop forever’ options. Then, click on ‘Export’ and your animated gif is ready.</p>
<p class="MsoNormal">You need to play around a bit with the options in Gimp if you want to add fancy effects and things like that. I tried this out and I was quite happy with my gif file. It requires a bit of practice but once you have a basic idea of where things are, it’s a breeze. Have you ever tried making an animated gif file? What program did you use? What do you think of Noah’s method?</p>

	Tags: <a href="http://www.ghacks.net/tag/animated-gifs/" title="animated gifs" rel="tag">animated gifs</a>, <a href="http://www.ghacks.net/tag/avatars/" title="avatars" rel="tag">avatars</a>, <a href="http://www.ghacks.net/tag/gimp/" title="gimp" rel="tag">gimp</a>, <a href="http://www.ghacks.net/tag/mplayer/" title="mplayer" rel="tag">mplayer</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/12/08/use-mpui-as-a-portable-media-player/" title="Use MPUI as a Portable Media Player (December 8, 2007)">Use MPUI as a Portable Media Player</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/04/12/tired-of-photoshop-and-gimp-try-paintnet/" title="Tired of Photoshop and GIMP? Try Paint.net (April 12, 2009)">Tired of Photoshop and GIMP? Try Paint.net</a> (14)</li>
	<li><a href="http://www.ghacks.net/2008/05/07/smplayer-uncommon-codecs-package/" title="SMPlayer Uncommon Codecs Package (May 7, 2008)">SMPlayer Uncommon Codecs Package</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/08/20/smplayer-portable/" title="SMPlayer Portable (August 20, 2008)">SMPlayer Portable</a> (16)</li>
	<li><a href="http://www.ghacks.net/2009/03/19/smplayer-067-out/" title="SMPlayer 0.6.7 out (March 19, 2009)">SMPlayer 0.6.7 out</a> (17)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/04/08/create-animated-gifs-from-movie-clips/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
