Problem
A project I am working on requires me to parse frames and do some very simple image processing from the raspberry pi camera at around 10Hz.
I tried using both the raspistill and the raspiyuv (raw still) applications to produce images, however neither of them were able to reach the 10Hz framerate that I was looking for (even at the low resolution of 128x64 which is all I need, in timelapse mode it was talking ~1/2 a second per image with a setting of 100ms delay for the timelapse).
The raspivid application allows me to output video at higher than the necessary 10 frames/second, however I'm not really sure what the best way to go about grabbing frames for image processing from the .h264 stream.
What I've looked at
I found Capturing jpegs from an h264 stream with gstreamer on a Raspberry Pi where someone managed to get jpegs at 1Hz from the .h264 camera stream using gstreamer, which would suggest that it's possible to simply parse raw frames using gstreamer.
I tried copying what was done, but when I attempt to call his unmodified pipeline, just to ensure it is working correctly before moving on to attempting to modify it it gives me a pipeline error linking from videorate0 to jpegenc0.
Questions
Is what I am attempting possible using gstreamer and available plugins (or should I look at other tools, such as ffmpeg)? If so, could anyone offer assistance with getting this working? Finally, would it be possible to use this tool further to pipe these raw frames straight into a c program for parsing? (Possibly by using ! filesink location=/dev/stdout?)