improve camerawriterFormat to camerawriterFormatPosixMillis