<?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0"><channel><title>Puppy Linux Blog</title><description>Pritlog</description><link>http://mainetrapshooting.com/blog/index.php/RSS</link><item><link>http://mainetrapshooting.com/blog/index.php/RSS/ffmviewEntry/00017/webcam-screenshots</link><title>webcam screenshots</title><category>ffmpeg</category><description>Using ffmpeg with webcam&lt;br&gt;&lt;br&gt;take one image per second&lt;br&gt;-r 1&lt;br&gt;to take images for 3 seconds&lt;br&gt;-t 3&lt;br&gt;&lt;br&gt;so this will give you 3 jpegs in your root directory at vga resolution&lt;br&gt;Code:&lt;br&gt;&lt;br&gt;ffmpeg -y -r 1 -t 3 -f video4linux2 -s vga -i /dev/video0 ~/camshot%d.jpeg&lt;br&gt;&lt;br&gt;&lt;br&gt;similarly here is a cheap way to capture webcam video:&lt;br&gt;&lt;br&gt;rxvt +sb -bg orange -geometry 80x2 -e ffmpeg -y -f oss -i /dev/audio -f video4linux2 -s qvga -i /dev/video0 ~/a.avi&lt;br&gt;---------------------------------------&lt;br&gt;&lt;br&gt;Using mplayer with webcam&lt;br&gt;&lt;br&gt;changing -frames to different values changes number of screenshots.&lt;br&gt;&lt;br&gt;mplayer -fps 1 tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:outfmt=rgb24 -frames 5 -vo jpeg&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><link>http://mainetrapshooting.com/blog/index.php/RSS/ffmviewEntry/00014/Convert--ogg-to--mp3</link><title>Convert .ogg to .mp3</title><category>ffmpeg</category><description>for x in *.ogg; do ffmpeg -i &quot;$x&quot; -ab 128 &quot;`basename &quot;$x&quot; .ogg`.mp3&quot;; done&lt;br&gt;&lt;br&gt;This does an entire dir at once. You must be inside the dir you want to convert. Substitute whatever you want your target bitrate to be up where 128 is.&lt;br&gt;</description></item></channel></rss>


