There are a few question/answers regarding the embedding movies in PDF with pdflatex and special packages. However I find the information dispersed all around and confusing. And so far, in the best cases I get a "3D rendering error in Acrobat Reader" and I don't know what step is failing.
Maybe this particular case serves as guide for a step by step explanation:
- pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian), Acrobat Reader 9.5.1, Linux (Ubuntu 12.04). Need to upgrade something?
Let's start with a movie file:
movie.avi
with FFmpeg MPEG-4 encoding. Does it need to be encoded in some other way? what is the best tool to reencode? what encodings are going to work? Is a conversion toflv
format really necessary?pdflatex: what packages need to be included,
media9
,movie15
(obsolete?),flashmovie
?what is the latex command to include the movie? Can one have the option to keep the file inside the PDF or external?
How does one get the playback controls rendered with the movie inside the page? Does one really have to use a third party flash-based movie player? If so which player works with Acrobat 9.5.1?
Can I expect the movie to be player inside the PDF page in the monitor? Can one expect to have a preview of the movie (first frame) in the static rendering of the page.
Can one expect the resulting PDF and embedded movie to work when switching to Windows/Linux/OSX?
Does one need to change (hidden?) security preferences in Acrobat to see the movie?
A solution compatible with beamer
is also desirable.