<?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>Frozentux &#187; Mencoder</title>
	<atom:link href="http://www.frozentux.net/tag/mencoder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozentux.net</link>
	<description>Yet another site</description>
	<lastBuildDate>Mon, 24 May 2010 16:53:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Example transforming videos</title>
		<link>http://www.frozentux.net/2009/09/example-transforming-videos/</link>
		<comments>http://www.frozentux.net/2009/09/example-transforming-videos/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 10:45:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Phone]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[Kino]]></category>
		<category><![CDATA[Mencoder]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=206</guid>
		<description><![CDATA[I recently made some video editing on videos i copied to and from my cell phone and realized some of the stuff might be rather esoteric and hard to find good examples on how to do. Basically just going to post some minor tips and tricks that I picked up, and some very simple commands [...]]]></description>
			<content:encoded><![CDATA[<p>I recently made some video editing on videos i copied to and from my cell phone and realized some of the stuff might be rather esoteric and hard to find good examples on how to do. Basically just going to post some minor tips and tricks that I picked up, and some very simple commands to use with mencoder, ffmpeg and kino.</p>
<p>I used mencoder and ffmpeg to do some of the basic edits, like turning videos around etc. After the basic video snippets where done, throw them into kino and make the final cut, and then recode the video into a distributable format (10 minute video in dv format as used in kino = 2.1gig data, while 10minute divx of the same video = 170 meg).<br />
<blockquote>#Rotate video 90degrees<br />oan@laptop4:~$ mencoder -o lala.avi -vf-add rotate=1 V170709_12.54.AVI -oac copy -ovc lavc</p>
<p>#Postprocessing filters, ac = high quality<br />oan@laptop4:~/Desktop$ mencoder -o lala.avi -vf pp=ac V170709_12.54-recode.AVI -oac copy -ovc lavc</p>
<p>#Transcode video so it works on cellphone (KC910), this &#8220;works for me&#8221;(tm)<br />oan@laptop4:~/Videos$ mencoder -o lala.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4 alice-final.avi</p>
<p># Create a black 2 second frame (25 fps, 50 frames), I used this as a filler between<br /># two movies. There&#8217;s probably easier ways of doing this, but it &#8220;works for me&#8221;(tm)<br />oan@laptop4:~/Pictures/2009-08-01$ ffmpeg -r 25 -loop_input -i black.jpg -vcodec mjpeg -vframes 50 -y -an test.avi</p></blockquote>
<p>Finally I put the videos together in kino in the order I wanted, with black frames in between and effects fading from the videos into black, and so forth, making for smooth transitions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2009/09/example-transforming-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
