This seems like a better option than mounting a GoPro to your bike. This is the Fly12 bicycle light with 1080p HD camera. Think of it as a dashcam for your bike (a handble-bar cam?). It records to microSD...for up to 10 hours?! How is this possible? I need more info on this.
PS: If you want a rear dashcam version of this, the same company makes the Fly6 rear light and camera.