element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Pi Camera Board Photography Competition
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 28 May 2013 3:27 PM Date Created
  • Views 501 views
  • Likes 0 likes
  • Comments 1 comment
Related
Recommended
  • raspberry_pi

Pi Camera Board Photography Competition

Former Member
Former Member
28 May 2013

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't run them alongside a wifi dongle like my WiPi. Fortunately I managed to procure a Logitech C110 to tide me over until my PiCam arrives and now Duck Cam is up and running.

I started with one of my four Raspberry Pi and the latest image file. The webcam and WiPi both worked out of the box and all was looking good. I installed ffmpeg from the repo to stream to bambuser.com using RTMP but it kept failing after a single frame.

Getting the latest source from git and compiling my own ffmpeg meant that it then worked perfectly and using my cheap cam I have managed to stream up to 640x480 at 15fps (that's all this cam can do). I am lookng forward to getting a PiCam so I can up the resolution and frame rate to the limits of my home internet connection.

For those that want to do something similar you'll need to follow these instructions to compile ffmpeg and then sign up for a bambuser account and follow these instructions to get the streaming working.

So what am I streaming? My wife and I are currently looking after two cayuga ducklings called Bramble and Dandelion so I have rigged up their box with the RPi and camera as seen below.

 

image

 

 

The resulting stream can be seen at http://bambuser.com/channel/duckcamuk

  • Sign in to reply
  • Former Member
    Former Member over 12 years ago

    I made some tweaks today so that ffmpeg runs in a loop

     

    while true

    do

         ffmpeg ...

         echo "Restarting in 1 minute"

         sleep 60

    done

     

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube