Insert FLV video into latex document
I am trying to embed FLV video into a latex document. I've tried the following:
\begin{figure}[h!]
\centering
\includegraphics[scale=1]{animation/animation1.flv}
\caption{My animation}
\label{Anim1}
\end{figure}
But it doesn't work at all! Does anyone know how to do this? I would not want to convert the video, because I do not know what codec the reader will have.
a source to share
Use media9.sty
one available from CTAN . You might need to change a little .sty
to say which is .flv
also a movie file.
I would not want to convert the video, because I do not know what codec the reader will have.
Well, if you care about setting up the reader, you can't even assume that a video embedded in a pdf will work. It is poorly supported apart from Adobe Reader. Even Adobe Reader on Linux doesn't support it.
So, ask the reader what kind of PC environment they are using and prepare and test the file accordingly.
a source to share
Don't use \includegraphics
for this. This command is for images only. This page offers a package that allows you to include video in the generated document. Then the code will look like this (copied from the linked page):
\begin{figure}[ht]
\includemovie[
poster,
text={\small(Loading Circle-m-increase3.mp4)}
]{6cm}{6cm}{Circle-m-increase3.mp4}
\end{figure}
a source to share