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 :)
nginx, on your presentation laptop. This allows you to play video files from the local hard disc instead of embedded ones using themedia9package. Loading is much faster then, because files don't need be extracted and decompressed. Read on here. – AlexG Mar 12 '13 at 12:30\includemedia[ addresource=chaos1.mp4, flashvars={ source=chaos1.mp4 &autoPlay=true &scaleMode=letterbox } ]{\includegraphics[width=0.8\textwidth]{chaos1.png}}{VPlayer.swf}But this still embeds into the pdf (pdf size is still huge).
– janker Mar 12 '13 at 12:55addresource=...embeds the video file, and FlashVarsource=...letsVPlayer.swfknow what to play. What you want issource=http://localhost/chaos1.mp4withoutaddresource(no embedding). For this to work you will have to run a web server, as explained in the topic linked in my first comment. – AlexG Mar 12 '13 at 13:12sourceto the remote URL of the video file. Playback will start while a large video file is still being downloaded. – AlexG Mar 12 '13 at 14:51multimediaormedia9? – AlexG Mar 14 '13 at 08:19multimediaexample see below.media9example with external (not embedded) video file, see here. – AlexG Mar 14 '13 at 12:08