add video exporting

This commit is contained in:
Alex
2025-08-31 22:07:14 -07:00
parent 11a9af5778
commit 1c2400cb3f
6 changed files with 91 additions and 15 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# Set paths here first before running!!!
video_path="App/WindowsNoEditor/Mercury/Content/Movie/"
output_path="./data/movies/"
for file in "$video_path"/*.usm; do
output_file="$output_path/$(basename "$file" .usm).mp4"
echo $file
echo $output_file
ffmpeg -n -f mpegvideo -i "$file" "$output_file"
done