<?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>fengcool.com &#187; ffmpeg</title>
	<atom:link href="http://www.fengcool.com/tag/ffmpeg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fengcool.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 31 May 2010 02:22:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ffmpeg &#8211; capture screenshot from a video file</title>
		<link>http://www.fengcool.com/2008/12/ffmpeg-capture-screenshot-from-a-video-file/</link>
		<comments>http://www.fengcool.com/2008/12/ffmpeg-capture-screenshot-from-a-video-file/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 02:53:58 +0000</pubDate>
		<dc:creator>rick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.fengcool.com/?p=64</guid>
		<description><![CDATA[a linux command to capture screenshot from a video file using ffmpeg]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-i</span> <span style="color: #000000; font-weight: bold;">/</span>my_video_file_dir<span style="color: #000000; font-weight: bold;">/</span>video.flv <span style="color: #660033;">-y</span> <span style="color: #660033;">-f</span> image2 <span style="color: #660033;">-ss</span> <span style="color: #000000;">8</span> <span style="color: #660033;">-sameq</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">0.001</span> <span style="color: #660033;">-s</span> <span style="color: #000000;">320</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000;">240</span> <span style="color: #000000; font-weight: bold;">/</span>image_dir<span style="color: #000000; font-weight: bold;">/</span>screenshot.jpg</pre></td></tr></table></div>

<p>320*240 : image dimension is 320 pixels width and 240 pixels height<br />
-ss 8 : screenshot will be taken at 8 second after video starts.</p>
<a rel="external nofollow" class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.fengcool.com%2F2008%2F12%2Fffmpeg-capture-screenshot-from-a-video-file%2F&amp;linkname=ffmpeg%20%26%238211%3B%20capture%20screenshot%20from%20a%20video%20file"><img src="http://www.fengcool.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.fengcool.com/2008/12/ffmpeg-capture-screenshot-from-a-video-file/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Linux ffmpeg audio conversion &#8211; MP3 to FLV</title>
		<link>http://www.fengcool.com/2008/12/linux-ffmpeg-audio-conversion-mp3-to-flv/</link>
		<comments>http://www.fengcool.com/2008/12/linux-ffmpeg-audio-conversion-mp3-to-flv/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 04:18:59 +0000</pubDate>
		<dc:creator>rick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[flv convertion]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://www.fengcool.com/?p=63</guid>
		<description><![CDATA[Want to play MP3 files on your website? The best and most common way is using flash video file which compress audio and video better for internet use like YouTube. Here is the instruction I used ffmpeg to convert MP3 to FLV file.
ffmpeg &#8211; a program that allow convert audio in numerous formats.
Installing ffmpeg
edit / [...]]]></description>
			<content:encoded><![CDATA[<p>Want to play MP3 files on your website? The best and most common way is using flash video file which compress audio and video better for internet use like YouTube. Here is the instruction I used ffmpeg to convert MP3 to FLV file.</p>
<p><strong>ffmpeg</strong> &#8211; a program that allow convert audio in numerous formats.</p>
<p><strong>Installing ffmpeg</strong><br />
edit / etc/yum.repos.d/CentOS-Base.repo , add following lines at the end of file</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>dag<span style="">&#93;</span></span>
<span style="color: #000099;">name</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">Dag RPM Repository for Centos</span>
<span style="color: #000099;">baseurl</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">http://apt.sw.be/redhat/el$releasever/en/$basearch/dag</span>
<span style="color: #000099;">enabled</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span></pre></td></tr></table></div>

<p>run this command</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span></pre></td></tr></table></div>

<p><strong>Convert MP3 to FLV</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-y</span> <span style="color: #660033;">-i</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>song.mp3 <span style="color: #660033;">-f</span> flv <span style="color: #660033;">-acodec</span> mp3 <span style="color: #660033;">-ab</span> <span style="color: #000000;">64</span> <span style="color: #660033;">-ac</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>song.flv</pre></td></tr></table></div>

<a rel="external nofollow" class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.fengcool.com%2F2008%2F12%2Flinux-ffmpeg-audio-conversion-mp3-to-flv%2F&amp;linkname=Linux%20ffmpeg%20audio%20conversion%20%26%238211%3B%20MP3%20to%20FLV"><img src="http://www.fengcool.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.fengcool.com/2008/12/linux-ffmpeg-audio-conversion-mp3-to-flv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
