View Single Post
  #6   Spotlight this post!  
Unread 27-01-2017, 15:11
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 102
sparkytwd will become famous soon enough
Re: OpenCV VideoWriter Raspberry Pi

Be careful with MJPEG for recording on an embedded arm device. MJPEG is bitrate hungry and ranges anywhere from 10x to 20x larger than something like h264 or v8. This can easily saturate your SD card's throughput.

WebM might be an option. Another possibility is to use the v4l2-loopback and gstreamer to record locally with x264 in a separate thread, while having your vision processing run on a forked stream.
Reply With Quote