Open elmoiv opened 4 months ago
Here is a screenshot of the output:
The code used:
target_fps = 18 camera = dxcam.create(output_idx=0, output_color="BGR") camera.start(target_fps=target_fps, video_mode=True) writer = cv2.VideoWriter( "video.mp4", cv2.VideoWriter_fourcc(*"mp4v"), target_fps, (1920, 1080) ) for _ in range(target_fps * 6): writer.write(camera.get_latest_frame()) camera.stop() writer.release()
The video file:
https://github.com/ra1nty/DXcam/assets/31712173/c50f6b19-31a3-41a8-84ae-ba5577d746ca
Here is a screenshot of the output:![image](https://github.com/ra1nty/DXcam/assets/31712173/e7979621-e995-4d22-8de1-2ec4958cc09e)
The code used:
The video file:
https://github.com/ra1nty/DXcam/assets/31712173/c50f6b19-31a3-41a8-84ae-ba5577d746ca