fsphil / fswebcam

A neat and simple webcam app
http://www.sanslogic.co.uk/fswebcam/
GNU General Public License v2.0
416 stars 87 forks source link

V4L2 frame buffer length fix + extra option for faster stdout frame dump #51

Open tudorp opened 4 years ago

tudorp commented 4 years ago

While attempting some integration of fswebcam in a raspberry Pi based project I became interested in a faster way to grab a raw frame dump (no transcoding, no processing, just a fast raw dump from the device directly through stdout). The actual length of the data captured in the V4L2 buffer was the first issue identified. Additionally the need for an option to disable post processing was identified, but the attempted solution might not satisfy everyone.