I have a speech to present and would like to produce animations that I can put into my Beamer presentation (or gifs, but it seems that gifs aren't compatible in beamer). I realise this question has been asked multiple times, specifically here, here and here, and I apologise for asking the question again, but nothing is working for me. I have 2000 .png images stored in the same folder as my beamer presentation tex and pdf file. In my texworks file, it is set to pdflatex. I tried using the animate package
\documentclass[11pt,A4paper]{beamer}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{float}
\usepackage{animate}
\begin{document}
\begin{frame}
\begin{center}
\animategraphics[autoplay,loop]{50}{myplot}{1}{200}
\end{center}
\end{frame}
\end{document}
but this just gives me a stationary picture that doesn't even fit in the slide. So what I'm asking is
- How do I get the animate function to work? I really need to have all 2000 slides run consecutively and quickly. I need to do this for a couple of problems and only have half an hour for my talk.
- How do I resize the image so that it fits on the slide?
Thankyou in advance.
Best Answer
(1)
Are the files contiguously numbered and named as
myplot1.png
,myplot2.png
, ...,myplot200.png
?50 fps is far too much. Standard video formats have something between 25 and 30. Besides, Adobe Reader may not achieve this rate after all.
Thus:
(2) Resize the animation using the
scale
orwidth
option. Put, e.g.,with one empty line before and one after on a line of its own.
Or resample the images to a lower resolution using an external programme in order to make them fit without scaling. This may improve animation performance (achievable frame rate).
Most importantly: Use Adobe Reader for viewing and presenting.