From f68e561b42e5ac8eb5864f448a46424c1e768225 Mon Sep 17 00:00:00 2001 From: erikrodriquez Date: Mon, 12 Jun 2023 09:16:53 -0700 Subject: [PATCH] Added real 8k 10fps option --- .../low_fps_video/fileFormat.8k_10_fps.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 X-specific/low_fps_video/fileFormat.8k_10_fps.js diff --git a/X-specific/low_fps_video/fileFormat.8k_10_fps.js b/X-specific/low_fps_video/fileFormat.8k_10_fps.js new file mode 100644 index 0000000..32eb385 --- /dev/null +++ b/X-specific/low_fps_video/fileFormat.8k_10_fps.js @@ -0,0 +1,17 @@ +const body = {'name': 'camera.setOptions', + "parameters": { + "options": { + "fileFormat": {"type": "mp4","width": 7680,"height": 3840, "_codec": "H.264/MPEG-4 AVC", "_frameRate": 10} + } + } +} + +const response = await fetch('http://192.168.1.1/osc/commands/execute', + {method: 'POST', + body: JSON.stringify(body), + headers: {'Content-Type': 'application/json'} +}); + +const data = await response.json(); + +console.log(data); \ No newline at end of file