Skip to content

Commit

Permalink
Merge pull request #31 from humphrem/humphd/rename-output-files
Browse files Browse the repository at this point in the history
Use set.mov and bat.mov for processed filenames
  • Loading branch information
humphrem authored Oct 28, 2024
2 parents 4fc2def + 3c009d7 commit 5a9ea84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/process-videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
Output Videos:
-------------
1. {prefix}-settling-period.MOV:
1. {prefix}-set.MOV:
- 5-minute clip starting at specified time from the first video
- Used to capture initial settling period of experiment
2. {prefix}-merged.MOV:
2. {prefix}-bat.MOV:
- Remainder of first video (after settling period)
- Concatenated with all subsequent videos
- Maintains video quality and synchronization
Expand Down Expand Up @@ -758,8 +758,8 @@ def main():
processor.check_output_permissions(output_dir)

# Define output filenames using prefix and output directory
settling_output = os.path.join(output_dir, f"{args.prefix}-settling-period.MOV")
merged_output = os.path.join(output_dir, f"{args.prefix}-merged.MOV")
settling_output = os.path.join(output_dir, f"{args.prefix}-set.MOV")
merged_output = os.path.join(output_dir, f"{args.prefix}-bat.MOV")

# Check if output files already exist
for output_file in [settling_output, merged_output]:
Expand Down

0 comments on commit 5a9ea84

Please sign in to comment.