TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use movie15 to embed vector animations in my presentation. The trouble is that embedded SWF files refuse to display on Acrobat Reader X sometimes with a "This Media requires an additional player" message. Eg. this example file doesn't work. Animated GIFs won't display either, with no error message.

Maybe this is an Acrobat issue but I tried the flashmovie package with the same SWF files and that does work (but only with the embedded player option so no controls are visible). But flashmovie is supposedly unstable with beamer so I was wondering if someone had run into the same problem with movie15.

I am using Windows 7, Acrobat 10.1.2 and MiKTeX.

share|improve this question

The replacement package is available on CTAN. It is called media9 and documented on CTAN.

Use the MiKTeX package manager for installation.

A simple example embedding an SWF would be:

%\usepackage[dvipdfmx]{media9} % only for latex->dvipdfmx


A minimal example for embedding a video file, using the video player component VPlayer.swf shipping with media9 and using the pdflatex, lualatex, latex-->dvips-->ps2pdf or latex->dvipdfmx/xelatex (TeXLive-2012) work-flows would be

%\usepackage[dvipdfmx]{media9} % only for latex->dvipdfmx


     source=mymovie.mp4% same path as in addresource!
%   &autoPlay=true%    % optional configuration
%   &loop=true%        % variables


Video files must be in the MP4 or FLV formats. Videos in other formats must be converted to MP4 or FLV, or recreated from the raw material. The H.264 codec gives high quality video at stunningly small file size. With ffmpeg, video files can be created easily.

From an existing video file, such as Sample.avi:

ffmpeg -i Sample.avi -vcodec libx264 Sample.mp4

From a numbered sequence of bitmaps, such as frame-0.png, frame-1.png, ... :

ffmpeg -i frame-%d.png -vcodec libx264 myvideo.mp4
share|improve this answer
Could you give MWE for inclusion avi movie? Should I use VPlayer.swf to play avi? – Igor Kotelnikov Mar 27 '12 at 6:10
Avi cannot be played by FlashPlayer. You should convert all your video files into MP4, preferably using the H.246 codec, or better recreate them from the raw material (numbered sequence of PNG/JPEG or uncompressed video). You can use VPlayer.swf as a video player or any other player available on the net. I recommend open-source StrobeMediaPlayback.swf from Adobe, hosted on SourceForge.net. – AlexG Mar 28 '12 at 6:56
Thank you! This helped. I used Nero Recode to convert my original avi to mp4. – Igor Kotelnikov Mar 28 '12 at 16:29
When I follow these instructions, it compiles but Acrobat spits a window with the message "A 3D data parsing error has occurred.". (Acrobat Reader 9.5.1 Linux, pdflatex from TeXLive 2013, media9 v0.7) – alfC Aug 18 '12 at 4:30
I got same PDF error as alfC's above. – Yan King Yin Dec 11 '15 at 13:00

protected by Martin Scharrer Jan 3 '13 at 13:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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