rename split to segment

This commit is contained in:
2024-10-20 13:00:23 -07:00
parent 8cd0f1aaa0
commit b152278480
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ output_folder="$1"
for segment_dir in "$output_folder"/segment_*; do
if [ -d "$segment_dir" ]; then
# Find the output_N.mp4 file in the segment folder
segment_file=$(find "$segment_dir" -name "output_*.mp4" -print -quit)
segment_file=$(find "$segment_dir" -name "segment_*.mp4" -print -quit)
if [ -n "$segment_file" ]; then
# Create the frames directory