Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have searched through posts like "embedded video in PDF", it seems that this feature is only available in Adobe Acrobat.

So I just thought the alternative solution: open a video file (using system default video player, e.g VLC video player) via the links of photo or text in the beamer slides, in this way one doesn't have to exit the beamer presentation to open a video file and do a lot switching things.

If this is possible, how to make it?

[OS: Linux Ubuntu, PDF viewer: evince]

Edit1:

 \usepackage{multimedia}
 ...
 \movie{\includegraphics[width=0.8\textwidth]{pic.png}}{movieSample.avi}

Compile without error, but seems there is no link (envice in linux) for the photo to open movie.

share|improve this question

1 Answer 1

Yes, this is possible. See also the answer by Predrag Punosevac here: Embedding videos and animations

He makes use of a script that launches the media player he has installed (MPlayer):

\begin{center}
\href{run:/usr/local/bin/mplayer -fs forced_pendulum.mp4}{
\includegraphics[scale=0.25]
{forced_pendulum.eps}}
\end{center}

This works, but only on your system and others configured exactly like it. User Canageek suggests calling the default player instead of using the entire path.

Bottom line: it's possible, but you need to fiddle around a bit with the path/command to get it right according to your preferences.

share|improve this answer
    
thanks @Emiel! I stored the videos in the same folder (or sub-folder) of the beamer file, so how to get the file path automatically. Besides, how to open the video file in Windows system? –  KOF Jul 14 '13 at 15:15
1  
I tried hyperref solution, but the PDF viewer envince complains: Unable to launch external application. Error when getting information for file '/usr/bin/vlc ~/tex/x.mov': No such file or directory, where the movie file is set as the absolute path. Even adobe reader 9 fails –  KOF Jul 14 '13 at 17:00
    
See this for the right way to do it: tex.stackexchange.com/a/132867/1871 –  alfC Sep 24 '13 at 8:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.