diff options
Diffstat (limited to 'tools/esp32cam_captures_to_video.py')
-rwxr-xr-x | tools/esp32cam_captures_to_video.py | 3 |
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', |