This component contains the script *make_movie_from_pdfs.sh* that will convert pdf files in a directory into a movie. You must first have installed [parallel](https://www.gnu.org/software/parallel/), [convert](https://linux.die.net/man/1/convert), and [ffmpeg](https://ffmpeg.org).
To use the script, first download it by typing
**curl -o make_movie_from_pdfs.sh -L -J https://osf.io/hndpt/download**
Ensure that it is executable by typing
**chmod +x make_movie_from_pdfs.sh**
Next, run it on the directory (here assumed to be *output*) containing the pdf files:
**./make_movie_from_pdfs.sh output**
The output animation will be *anim.mp4*.
The default frame rate is one frame per second. To change the frame rate, add the desired value to the command line:
**./make_movie_from_pdfs.sh output 10**
You can also output the movie to a different name:
**./make_movie_from_pdfs.sh output 10 my_movie.mp4**
You must include the frame rate per second if you select a different output movie name.