Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
trixi-framework
GitHub Repository: trixi-framework/Trixi.jl
Path: blob/main/utils/png2mp4.sh
2055 views
1
#!/bin/bash
2
3
if [ $# -lt 1 ]; then
4
echo "missing argument: output filename" >&2
5
exit 2
6
fi
7
8
output_filename="$1"
9
10
ffmpeg -framerate 20 -f image2 -i %*.png -pix_fmt yuv420p "$output_filename"
11
12