I'm creating a presentation with beamer, where in a frame I want to put a video .avi (I would press play and pause from the frame). I have to discuss this presentation, so I need that the video is embedded in the pdf and that it can also be seen on other devices. I tried in this way, with the movie15 package:



\frametitle{Evolutionary Dynamics of the Network}
\includemovie[poster,text={\small(Loading Video...)}]{6cm}{6cm}{timelapse_(fps_6000).avi}


The video is good but there is no way to pause after it started and maybe I will need to do it. From the manual of movie15 package I see that there is the option autopause, that switching to the next frame while the video runs this is paused, but I need to pause it manually, like a normal video. Someone has advice? Another thing, you believe that if via a USB key, I open the pdf in the device which I will have to discuss the presentation, the video will be present anyway?

  • 1
    Did you try the letters p, l and space bar? I don't remember them but try your keyboard or put a cat on it. It will find it instantly. – percusse Mar 3 '15 at 22:46
  • 2
    Please note: for new documents you should use media9, which supersedes movie15. – Paul Gessler Mar 3 '15 at 23:11

If videos are inserted using the media9 package, they can easily be paused by pressing the mouse button over them. They continue playing after releasing the mouse button again. If they should pause for a longer time, move the mouse pointer out of the video area while keeping the mouse button pressed.

You need to convert your video to MP4/h264 for use with media9. You can do that online, or using ffmpeg or avconv.

Minimal example using your video converted to timelapse.mp4:



\begin{frame}{Evolutionary Dynamics of the Network}

  transparent, %transparent player background
   &scaleMode=letterbox % best choice if the video doesn't fit exactly into the
                        % 6x6cm^2 area set-up by the width and height options



Additionally, you may insert a \mediabutton to play/pause the video, but this is not really necessary. See the documentation for that.

| improve this answer | |
  • AlexG the code is fine but there are still two things that lead me to use movie15 and not media9: the first is that with media9 with converting in .mp4 a top piece of the video is cut, the second is that with the presentation seems to have problems with the colors, some frames have the green of the theme that I have chosen while in others the green becomes clearly darker and this also applies to colors of the graphs that I presented. – Giacomo Rosaspina Mar 4 '15 at 12:11
  • @GiacomoRosaspina Interesting. Which A-Reader version on which platform are you using? – AlexG Mar 4 '15 at 12:17
  • I solve the first problem, I've just set the size video as original in my converter. For the second problem, I've win7 and Adobe Reader X. – Giacomo Rosaspina Mar 4 '15 at 12:23
  • 1
    @GiacomoRosaspina What happens if you use package option noplaybutton ? – AlexG Mar 4 '15 at 12:32
  • Looks great, the green of the theme is maintained in all the frames. Maybe I write something in the box of the video, so initially is not white and empty. – Giacomo Rosaspina Mar 4 '15 at 12:41

I got some advice from professor that worked on movie15.

On \includemovie section, I added mouse=true to give me the option of pausing when clicking on the picture and resuming when clicking outside of the picture.

Hope this helps someone.

| improve this answer | |

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.