3

I've recently been using my iPad with TexPad to do a lot of tex work. One thing that I do not know how to deal with is the issue of animations on the iPad, as my current method for embedding animations (usually mp4's) in the document is to use the media9 package which accomplishes this with flash. Since iOS does not support flash, none of the standard PDF readers, including Acrobat, are capable of displaying the animation. I was wondering if anyone had a strategy for putting animation in beamer in a way that the iPad can render it?

Note, I am really asking for alternatives to using a flash based solution entirely, rather than just querying how to run flash content on iOS. I am open to using image sequences, other media formats, etc.

4

You indicated that a sequence of images would be fine. In the spirit of your avatar image, I take the video from https://www.eso.org/public/videos/eso50supernova/ for the following example.

  1. Converting mp4 to a series of images

There are many tools out there, one possibility is to use ffmpeg:

ffmpeg -ss 00:04 -t 00:10 -i eso50supernova.mp4 -r 1 image-%d.jpeg

This configuration will give you one image per second. For the selected time frame this makes 13 images called image-1.jpeg etc. For a higher image rate, adjust the value for -r.

  1. Using these images in beamer
\documentclass{beamer}
\usepackage{xmpmulti}
\begin{document}

    %asuming you images are called "image-1.jpeg" up to "image-13.jpeg" 
    \begin{frame}
        \transduration<0-13>{0}
        \multiinclude[<+->][format=jpeg,start=1, graphics={width=\textwidth}]{image}
    \end{frame}

\end{document}

enter image description here

  1. Viewing

Try with acrobat in presentation mode for the automatic slide change. Based on experience with OSX, apples pdf viewer is not capable to do the automatic changing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.