mirror of
https://github.com/muskit/MercuryConverter.git
synced 2026-06-02 20:24:26 -07:00
add video exporting
This commit is contained in:
Executable
+12
@@ -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
|
||||
Reference in New Issue
Block a user