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.4k times
26
-
1It is told that Okular PDF is working with it. Try with `sudo apt-get install okular` – Dec 21 '13 at 14:48
-
4@DuminduMahawela, I tried. The animation doesn't play. – Yotam Dec 21 '13 at 15:01
-
Have you tried Adobe Acrobat for Linux. – Mitch Dec 21 '13 at 17:21
-
@Mitch Yes, but it isn't open source. Also, I find it amusing/disturbing that I cannot "enjoy" LaTeX generated files under Linux. – Yotam Dec 21 '13 at 17:25
-
2Please take a look at [this Q&A](http://tex.stackexchange.com/questions/429/animation-in-pdf-presentations-without-adobe-reader) over at tex.SE. – Glutanimate Dec 21 '13 at 20:49
-
Use adobe reader. It can show animations as well – Beni Bogosel Nov 27 '15 at 17:51
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