Java based on FMJ implementation to open the camera for real-time recording