Monday, October 25, 2010

Including videos in PDF using pdflatex

The mandatory reference for this topic is: http://pages.uoregon.edu/noeckel/PDFmovie.html

The summary is that, the movie15 parckages allows to produce a PDF files with links to videos and animations. The videos must be located on the same directory as the PDF, and for building pdflatex must be invoked several times (4 in my case). As a result the movie is encapsulated in the PDF file, and in order to view the embedded movie, you need to open it with Adobe Reader or Acrobat.


\documentclass[12pt,landscape]{article}
\usepackage{geometry}
\geometry{verbose,letterpaper}
\usepackage{movie15}
\usepackage{hyperref}


\begin{document}
    \includemovie[ poster,  text={Loading Video} ]{6cm}{6cm}{Circle-m-increase3.mp4}
    % ALSO WORKS WITH .avi AND .mov IN OSX
\end{document}

No comments:

Post a Comment