26

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?

6
  • 1
    It is told that Okular PDF is working with it. Try with sudo apt-get install okular
    – user224082
    Dec 21, 2013 at 14:48
  • 4
    @DuminduMahawela, I tried. The animation doesn't play.
    – Yotam
    Dec 21, 2013 at 15:01
  • Have you tried Adobe Acrobat for Linux.
    – Mitch
    Dec 21, 2013 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, 2013 at 17:25
  • 2
    Please take a look at this Q&A over at tex.SE. Dec 21, 2013 at 20:49

1 Answer 1

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}

from Animation in PDF presentations, without Adobe Reader?

6
  • 3
    Sadly, 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 9, 2014 at 14:12
  • 1
    With 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. Mar 24, 2017 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 2, 2018 at 14:03
  • 1
    @the.polo sadly no Mar 29, 2019 at 23:59
  • 1
    @the.polo pdfpc.github.io always worked well for me. Among other things it has video playback support Oct 8, 2019 at 8:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .