-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunCreateVideos.sh
More file actions
executable file
·14 lines (12 loc) · 1.2 KB
/
runCreateVideos.sh
File metadata and controls
executable file
·14 lines (12 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
echo "Hello World"
#filename=outputAddMagnetNoFoilNode35_Parts_3_XDipole_10
#filename=outputAddMagnetNoFoilNode35_Parts_3_Dipole_10
filename=outputAddMagnetNoFoilNode35_Parts_3_NoDipole_10
framerate=10
ffmpeg -y -framerate "$framerate" -i "$filename/XvsY/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename/XvsY/"atemp.mp4
ffmpeg -y -framerate "$framerate" -i "$filename/XvsPX/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename/XvsPX/"atemp.mp4
ffmpeg -y -framerate "$framerate" -i "$filename/YvsPY/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename/YvsPY/"atemp.mp4
ffmpeg -y -framerate "$framerate" -i "$filename""_first_Bunch_Only/XvsY/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename""_first_Bunch_Only/XvsY/"atemp.mp4
ffmpeg -y -framerate "$framerate" -i "$filename""_first_Bunch_Only/XvsPX/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename""_first_Bunch_Only/XvsPX/"atemp.mp4
ffmpeg -y -framerate "$framerate" -i "$filename""_first_Bunch_Only/YvsPY/"temp%00d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "$filename""_first_Bunch_Only/YvsPY/"atemp.mp4