Raspberry pi ffmpeg omx. 1 now supports hardware assist h264 encoding.