Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
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.
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.