Mercurial > repos > public > sbplib
view +anim/make_movie.sh @ 577:e45c9b56d50d feature/grids
Add an Empty grid class
The need turned up for the flexural code when we may or may not have a grid for the open water and want to plot that solution.
In case there is no open water we need an empty grid to plot the empty gridfunction against to avoid errors.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 07 Sep 2017 09:16:12 +0200 |
parents | 480ef676742f |
children |
line wrap: on
line source
#!/bin/bash # $1 is the folder where the PNGS are found #ffmpeg -qp 0 -framerate 30 -i test%04d.png -c:v mpeg4 -r 30 $1_pos.mp4 # ffmpeg -framerate 30 -i $1/test_pos1%04d.png -q:v 0 -c:v mpeg4 -r 30 $1_pos1.mp4 # ffmpeg -framerate 30 -i $1/test_pos2%04d.png -q:v 0 -c:v mpeg4 -r 30 $1_pos2.mp4 ffmpeg -framerate 30 -i $1/fig%04d.png -q:v 0 -c:v mpeg4 -r 30 $1.mp4 # rm -f test*.png # -b 5000k to set bitrate of file. # -q:v 0 to set quality? This is the shit!!! # -crf set quality 23 is default 18 is almost lossless 51 is worst