Skip to content

Commit

Permalink
debug hung vhs
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Jan 21, 2025
1 parent 96cfb63 commit ac16b12
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions demo/recordings/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,16 @@ for tape in "${TAPEFILES[@]}"; do
output_file="$MP4_OUTDIR/$base.mp4"

if [[ ! -f "$output_file" || "$tape" -nt "$output_file" ]]; then
echo "Before processing...."
ps uxaww
free
df -h
echo " Processing $tape -> $output_file"
(cd "$REPO_ROOT" && vhs "$tape" --output "$output_file")
echo "After processing...."
ps uxaww
free
df -h
else
echo " Skipping $tape; $output_file is up-to-date."
fi
Expand Down

0 comments on commit ac16b12

Please sign in to comment.