[Tex/LaTex] Beamer Multimedia package

animationsbeamermedia9multimedia

I have written the following document

\documentclass[aspectratio=1610]{beamer}

\usetheme[hideallsubsections]{Berkeley}
\useinnertheme{rounded}
\usepackage{multimedia}
\title[]{{\scshape Infodag wiskunde}}
\date{{\scshape 16 maart 2013}}

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}\label{chaosfrag1}\frametitle{{\scshape Chaos 1 - }}
\begin{center}
\movie[showcontrols]{\includegraphics[width=0.8\textwidth]{chaos1.png}}{chaos1.mpg}
\end{center}
\end{frame}

\end{document}

For some reason however, neither Adobe Reader nor Foxit PDF Reader are able to display the movie on click. I figured the issue was probably with the pdf readers, but last year I made a similar document, and though I no longer have the TeXcode, I still have the pdf, and this does work. (the embedded media there is also .mpg).
I already tried different media types (.avi, .mp4, .flv) but none of them work.

I know about the media9 package, however, as my final document will contain about 18 movies of each 10 minutes, the resulting pdf would be 2GB. Whenever I open it, it takes at least 10 seconds to start playing the media, and even then, it doesn't work (I just get a gray rectangle).

EDIT: Okay, appearantly i was using a wrong code for media9, so now I can play the video (though the filesize still is huge). But still, it would be nice to see if I made a mistake somewhere in the \movie command or something…

I hope someone can help 🙂

Best Answer

With multimedia, only videos in the AVI format, encoded using one of the standard codecs available on Windows (MS Video 1, Full Frames (Uncompressed)) will successfully play on Windows. MPEG does definitely not work.

\movie{\includegraphics[width=0.8\textwidth]{chaos1.png}}{chaos1.avi}

I successfully produced an AVI from a BMP sequence using pjBmp2Avi.exe and selecting 'MS Video 1'.