i want to use a movie in my beamer class presentation. I've worked now a lot in order to create a minimal working example but i failed all the time. I've also read a lot of threads here and elsewhere.
I'm using Ubuntu 12.04, Texlive 2012/Debian, Adobe Reader 9.4.1 .
I want to include a video and tried using .mp4 and .mov.
Compiling with no problems. Under Ubuntu: When I start the Adobe Reader in Fullscreeen, changing to the slide with the video lets adobe loads somehow, but nothing happens. Also under Windows, the Reader loads somehow, but does not play the video. Does somebody has an idea?
And is there maybe another way of including videos in a beamer class presentation in a way that the success of the presentation is not dependent on the Reader (e.g. Okular)?
Thanks a lot for your help.
Here my Example
\documentclass[slidestop,compress,10pt,xcolor=dvipsnames]{beamer}
\usepackage{media9}
\begin{document}
\frame{
\titlepage
}
\frame
{
\includemedia[
label=some_dice,
width=5cm,
addresource=output.mp4,
transparent,
activate=pageopen,
flashvars={
source=output.mp4
&loop=true % loop video
&scaleMode=letterbox
}
]{}{VPlayer.swf}
}
\end{document}
Best Answer
Most likely a video encoding issue, if the example above works using
random.mp4
from themedia9
package. Recent versions offfmpeg
were reported to produce faulty MP4 files.The following workaround worked for me (starting from a numbered PNG sequence
file-0.png
,file-1.png
, ...,file-99.png
):