diff options
author | David Timber <dxdt@dev.snart.me> | 2025-06-05 23:35:25 +0900 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2025-06-05 23:35:25 +0900 |
commit | 41f9ef0b6205378459399506c848f218ff6c754b (patch) | |
tree | 159e300d0fb0c446be9fd0ea1d220df7166daa80 | |
parent | 9cb1228294e248e82f701093cb983c1317ee65c0 (diff) |
Kdenlive rejects them for reasons unknown. Better let it generate them
in the first place
-rwxr-xr-x | stab-aftg/stab-aftg | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/stab-aftg/stab-aftg b/stab-aftg/stab-aftg index b669f4c..307a51c 100755 --- a/stab-aftg/stab-aftg +++ b/stab-aftg/stab-aftg @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/bin/env python3 ''' Stabilize all action cam(Gopro) footage in the current working directory using Gyroflow, produce low resolution video(LRV) files using FFmpeg. @@ -126,13 +126,14 @@ for f in list_footage: shutil.move(src, dst) # LRV - src = f.basename + suffix_stabilized + ext_tmp + ext_lrv - dst = f.path_lrv - invoke_cmd('''%s -i %s %s %s''' % - (exec_ffmpeg, f.path_stabilized, opts_ffmpeg, src)) - sys.stderr.write('''mv %s %s''' % (src, dst) + os.linesep) - if not params.get('dryrun'): - shutil.move(src, dst) + if False: + src = f.basename + suffix_stabilized + ext_tmp + ext_lrv + dst = f.path_lrv + invoke_cmd('''%s -i %s %s %s''' % + (exec_ffmpeg, f.path_stabilized, opts_ffmpeg, src)) + sys.stderr.write('''mv %s %s''' % (src, dst) + os.linesep) + if not params.get('dryrun'): + shutil.move(src, dst) f_end = datetime.datetime.now() f_elapsed = f_end - f_start |