<?xml version='1.0' encoding='utf-8'?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://purl.org/rss/1.0/modules/syndication/" xmlns:ns2="com-wordpress:feed-additions:1" xmlns:ns4="http://purl.org/rss/1.0/modules/content/" xmlns:ns5="http://wellformedweb.org/CommentAPI/" xmlns:ns6="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>video – Thameera's Blog</title>
	<ns0:link href="https://blog.thameera.com/tag/video/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.thameera.com</link>
	<description />
	<lastBuildDate>Tue, 02 Nov 2010 04:31:22 +0000</lastBuildDate>
	<language>en-US</language>
	<ns1:updatePeriod>
	hourly	</ns1:updatePeriod>
	<ns1:updateFrequency>
	1	</ns1:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.12</generator>
<ns2:site>139676693</ns2:site>	<item>
		<title>Saving a video into a sequence of images</title>
		<link>https://blog.thameera.com/saving-a-video-into-a-sequence-of-images/</link>
					<comments>https://blog.thameera.com/saving-a-video-into-a-sequence-of-images/#comments</comments>
		
		<dc:creator>thameera</dc:creator>
		<pubDate>Tue, 02 Nov 2010 04:31:22 +0000</pubDate>
				<category>Uncategorized</category>
		<category>ffmpeg</category>
		<category>gif</category>
		<category>gimp</category>
		<category>image</category>
		<category>jpg</category>
		<category>linux</category>
		<category>video</category>
		<guid isPermaLink="false">http://thameera.wordpress.com/?p=150</guid>

					<description>I wanted to create a GIF out of a part of a video sequence. But how could one extract a sequence of images from a video? After some googling FFMPEG turned out to be the savior. Here’s a sample command for taking a series of snapshots out of a video using ffmpeg: ffmpeg -ss 23…&lt;p&gt;&lt;a class="more-link" href="https://blog.thameera.com/saving-a-video-into-a-sequence-of-images/" title="Continue reading ‘Saving a video into a sequence of images’"&gt;Continue reading &lt;span class="meta-nav"&gt;→&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
										<ns4:encoded>&lt;p&gt;&lt;img alt="" class="alignright size-full wp-image-152" decoding="async" height="162" src="https://blog.thameera.com/wp-content/uploads/2010/11/tham.gif" title="tham" width="220"/&gt;I wanted to create a GIF out of a part of a video sequence. But how could one extract a sequence of images from a video? After some googling &lt;a href="http://www.ffmpeg.org/" target="_blank"&gt;FFMPEG&lt;/a&gt; turned out to be the savior. Here’s a sample command for taking a series of snapshots out of a video using ffmpeg:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ffmpeg -ss 23 -i kids.mp4 -f image2 -vframes 50 a%2d.jpg&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;23 is the position in the video to start extracting images (in seconds). &lt;em&gt;kids.mp4&lt;/em&gt; is the input video file. &lt;em&gt;image2&lt;/em&gt; says that the output would be in JPEG format. 50 is the number of frames to capture. &lt;em&gt;a%2d.jpg&lt;/em&gt; is the format of the output file, i.e. in this case the files would be saved as &lt;em&gt;a01.jpg, a02.jpg, &lt;/em&gt;etc.&lt;/p&gt;
&lt;p&gt;The next step would be to convert the sequence of images to a GIF, which can be easily done using GIMP.&lt;/p&gt;
</ns4:encoded>
					
					<ns5:commentRss>https://blog.thameera.com/saving-a-video-into-a-sequence-of-images/feed/</ns5:commentRss>
			<ns6:comments>4</ns6:comments>
		
		
		<ns2:post-id>150</ns2:post-id>	</item>
	</channel>
</rss>