I'm creating a presentation and need to include some animations. I placed the animation in the pdf file using Beamer (after storing the animation in a bunch of png files). Now, when I open the file on Okular or Evince, I don't see any animation. Searching around, I read that Evince doesn't support animations but Okular might support them. Is this true? Is there any other tool you can use?
Asked
Active
Viewed 1.6k times
26
1 Answers
6
You can use the Multimedia package to embed movies (mpg, mp4) in a way that you can play them in Okular. Minimal example:
\documentclass{article}
\usepackage{multimedia}
\begin{document}
\movie[height = 0.6 \textwidth,width = 1.0 \textwidth]{}{animation.mpg}
\end{document}
-
3Sadly, this doesn't really work. The main disadvantage is that the movie doesn't play automatically, but there some other issues as well. – Yotam Jan 09 '14 at 14:12
-
1With TeX Live 2015 and Okular Version 0.24.2 this solution does not work. There are no compilation errors, but Okular only displays a blank space. – Luís de Sousa Mar 24 '17 at 13:21
-
Hi, I've been trying this solution with okular 1.5.3 and TeX Live 2018 and it does not work. After 4 years, do we finally have a working solution to this problem?? – the.polo Dec 02 '18 at 14:03
-
1
-
1@the.polo https://pdfpc.github.io/ always worked well for me. Among other things it has video playback support – Waldez Junior Oct 08 '19 at 08:03
-
@WaldezJunior Great suggestion. This should be an answer by itself. – Tasos Papastylianou May 10 '20 at 11:25
sudo apt-get install okular– Dec 21 '13 at 14:48