<?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>J-Doc &#187; video</title>
	<atom:link href="http://jsilva.komodoopenlab.com/blog/archives/tag/video/feed" rel="self" type="application/rss+xml" />
	<link>http://jsilva.komodoopenlab.com/blog</link>
	<description>inclusion, equity, open source</description>
	<lastBuildDate>Sun, 21 Feb 2010 00:14:51 +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>Grab video from a DV camera with Kino</title>
		<link>http://jsilva.komodoopenlab.com/blog/archives/359</link>
		<comments>http://jsilva.komodoopenlab.com/blog/archives/359#comments</comments>
		<pubDate>Wed, 10 Jun 2009 14:59:49 +0000</pubDate>
		<dc:creator>Jorge</dc:creator>
				<category><![CDATA[GNU | Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[dv]]></category>
		<category><![CDATA[GNU linux]]></category>
		<category><![CDATA[ieee1394]]></category>
		<category><![CDATA[kino]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jsilva.komodoopenlab.com/blog/?p=359</guid>
		<description><![CDATA[First, you need to make sure you have kino installed:
$ sudo apt-get install kino
then, connect your camera with the firewire cable and make sure the iee1394 module is loaded. Doing:
$ lsmod &#124; grep ieee1394
should give you:
ieee1394              108288  4 dv1394,raw1394,sbp2,ohci1394
Now make sure [...]]]></description>
			<content:encoded><![CDATA[<p>First, you need to make sure you have kino installed:</p>
<pre>$ sudo apt-get install kino</pre>
<p>then, connect your camera with the firewire cable and make sure the <code>iee1394</code> module is loaded. Doing:</p>
<pre>$ lsmod | grep ieee1394</pre>
<p>should give you:</p>
<pre>ieee1394              108288  4 dv1394,raw1394,sbp2,ohci1394</pre>
<p>Now make sure the device <code>/dev/raw1394</code> has been created. Doing:</p>
<pre>$ ls -all /dev/raw1394</pre>
<p>should give you something like:</p>
<pre>crw-rw---- 1 root disk 171, 0 2009-06-10 09:56 /dev/raw1394</pre>
<p>Also, make sure <code>/dev/raw1394</code> belongs to either the <code>disk</code> or <code>video</code> groups. You will notice in the output above that my <code>/dev/raw1394</code> belongs to the <code>disk</code> group, so it&#8217;s ok, but if this is not the case for you, then you can fix it by doing:</p>
<pre>$ sudo chown root.disk /dev/raw1394</pre>
<p>Finally, add yourself to the <code>disk</code> or <code>video</code> groups (whichever group you added the device to):</p>
<pre>$sudo useradd -G [group-name] [user-name]</pre>
<p>Now Kino should be able to recognize the camera and you should be able to transfer your videos to your computer!</p>
]]></content:encoded>
			<wfw:commentRss>http://jsilva.komodoopenlab.com/blog/archives/359/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video editing with Linux</title>
		<link>http://jsilva.komodoopenlab.com/blog/archives/245</link>
		<comments>http://jsilva.komodoopenlab.com/blog/archives/245#comments</comments>
		<pubDate>Sun, 22 Feb 2009 23:17:16 +0000</pubDate>
		<dc:creator>Jorge</dc:creator>
				<category><![CDATA[GNU | Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jsilva.komodoopenlab.com/blog/?p=245</guid>
		<description><![CDATA[Join multiple videos:
$ mencoder -oac copy -ovc copy -o joined.avi clip1.avi clip2.avi [...]
Extract a clip from a video:
$ ffmpeg -qscale 1 -acodec mp3 -ab 256k -ss [start time in hh:mm:ss] \
   -t [length in hh:mm:ss] -i video.avi clip.avi 
Dump the audio:
$ mplayer -vc null -vo null -ao pcm -benchmark test.avi 
Grab an image [...]]]></description>
			<content:encoded><![CDATA[<p>Join multiple videos:</p>
<pre>$ mencoder -oac copy -ovc copy -o joined.avi clip1.avi clip2.avi [...]</pre>
<p>Extract a clip from a video:</p>
<pre>$ ffmpeg -qscale 1 -acodec mp3 -ab 256k -ss [start time in hh:mm:ss] \
   -t [length in hh:mm:ss] -i video.avi clip.avi </pre>
<p>Dump the audio:</p>
<pre>$ mplayer -vc null -vo null -ao pcm -benchmark test.avi </pre>
<p>Grab an image from a video:</p>
<pre>$ ffmpeg -i movie.avi -ss [time-in-seconds] -vframes 1 -f image2 frame.jpg</pre>
<p>Overlay an image on a video:</p>
<pre>$ ffmpeg -i input.avi -vhook '/usr/lib/vhook/imlib2.so -x 0 -y 0 -i overlay.png' output.avi</pre>
<p>Encode a Windows-compatible video:</p>
<pre>$ mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=msmpeg4v2:vhq:vbitrate=1600
  -o videoout.avi videoin.xxx</pre>
<p>with a separate audio file:</p>
<pre>$ mencoder -audiofile audiofile.wav -oac mp3lame -ovc lavc
-lavcopts codec=msmpeg4v2:vhq:vbitrate=1600 -o videoout.avi videoin.xxx</pre>
<p>There is also a good guide on how use <code>ffmpeg</code> to create FLV videos for posting online here:<br />
<a href="http://scott.yang.id.au/2006/07/flash-video-ffmpeg-flowplayer/">http://scott.yang.id.au/2006/07/flash-video-ffmpeg-flowplayer/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jsilva.komodoopenlab.com/blog/archives/245/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encode a windows-compatible video</title>
		<link>http://jsilva.komodoopenlab.com/blog/archives/151</link>
		<comments>http://jsilva.komodoopenlab.com/blog/archives/151#comments</comments>
		<pubDate>Fri, 07 Nov 2008 14:32:33 +0000</pubDate>
		<dc:creator>Jorge</dc:creator>
				<category><![CDATA[GNU | Linux]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[GNU linux]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jsilva.komodoopenlab.com/blog/?p=151</guid>
		<description><![CDATA[There are a lot of constantly updated video and audio codecs available in Linux. Unfortunately, the choice in Windows is way more limited. Because of this, it is common that videos compressed with the best and latests codecs in Linux cannot be read by common Windows applications. Luckily, You can encode windows-compatible videos in Linux [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of constantly updated video and audio codecs available in Linux. Unfortunately, the choice in Windows is way more limited. Because of this, it is common that videos compressed with the best and latests codecs in Linux cannot be read by common Windows applications. Luckily, You can encode windows-compatible videos in Linux with <code class="escaped">mencoder</code> by typing the following command:</p>
<pre class="escaped">$ mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=msmpeg4v2:vhq:vbitrate=1600
  -o videoout.avi videoin.xxx</pre>
]]></content:encoded>
			<wfw:commentRss>http://jsilva.komodoopenlab.com/blog/archives/151/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
