summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-16 15:59:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-26 18:57:22 +0300
commit7e9f1eaba29831ded6ccd7b37e7806ae76278178 (patch)
tree1a856c9fe6c5681c010dffc610fbbf32fb4e824b /tools
parentfd4e6c431f65a23808d79c759797b1f8900a8a3a (diff)
somewhat working kettle communication
- handshake works - it powers on and off - temperature control is still WIP
Diffstat (limited to 'tools')
-rwxr-xr-xtools/esp32cam_captures_to_video.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/esp32cam_captures_to_video.py b/tools/esp32cam_captures_to_video.py
index 86880f2..12c6709 100755
--- a/tools/esp32cam_captures_to_video.py
+++ b/tools/esp32cam_captures_to_video.py
@@ -102,6 +102,9 @@ def merge(groups: list[FileList],
if rotate != 0:
args.extend(['-map_metadata', '0', '-metadata:s:v', f'rotate="{rotate}"'])
+ if rotate != 0:
+ args.extend(['-map_metadata', '0', '-metadata:s:v', f'rotate="{rotate}"', '-codec', 'copy'])
+
cmd = [ffmpeg, '-y',
'-f', 'concat',
'-safe', '0',