<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pi Camera Board Photography Competition</title><link>/products/raspberry-pi/b/blog/posts/pi-camera-board-photography-competition</link><description>I have been desperate to get my hands on a Raspberry Pi camera module for a project and ended up having to use a USB which caused me some concern as the power requirements of some of the USB ones mean that you can&amp;#39;t run them alongside a wifi dongle l</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pi Camera Board Photography Competition</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/pi-camera-board-photography-competition</link><pubDate>Sat, 01 Jun 2013 15:25:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d3228067-e9af-4f0a-9c72-521ffbcf2ab2</guid><dc:creator>e14 Contributor</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I made some tweaks today so that ffmpeg runs in a loop&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;while true&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;do&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ffmpeg ...&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &amp;quot;Restarting in 1 minute&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep 60&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;done&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also put the script in /etc/init.d so it runs at boot time. The 60 second sleep is there because without it you risk annoying the hell out of bambuser.com. With this script I should have far greater uptime and it means when my wife takes the ducks to school all she needs to do is plug in the power for the RPi and the camera stream will come up automatically.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15937&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>