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 been trying to play embedded videos in presentations created in pdflatex/Beamer in Okular. I have read this and this but to no avail!

Any suggestions?

The version of Okular being used is 0.13.3 using KDE devlopment platform 4.7.4. I am running Ubuntu 11.10.

My minimum working example is

\documentclass[bookmarks=true]{beamer}

\setbeamertemplate{footline}[page number]
\setbeamercolor{structure}{bg=yellow, fg=black}

\usepackage[english]{babel}
% or whatever

\usepackage[utf8]{inputenc}
% or whatever

\usepackage{times}
\usepackage[T1]{fontenc}
% \usepackage{movie15}
\usepackage{multimedia}
\usepackage{fourier-orns}

%  \usepackage{caption}
\usepackage[font=scriptsize]{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}
\usepackage{amsmath,amssymb}
\usepackage[numbers]{natbib}
%\usepackage{paralist}
\usepackage{color}
\definecolor{olivegreen}{rgb}{85, 107, 47}


\begin{document}

\begin{frame}
\frametitle{Slide Title Here}
% 
% \centering
% \includemovie{6.5cm}{6.5cm}{waves.avi}
\movie{6cm}{6cm}{waves.wmv}

\end{frame}

\end{document}

My video file is uploaded here for you to download and use.

AVI file and wmv file

All I see in Okular is this:

enter image description here

:(

share|improve this question
    
Video inclusion is not well supported by viewers: the usual position is that if you want a multimedia PDF you've got to use Adobe Reader. –  Joseph Wright Mar 1 at 17:35
    
@JosephWright Yes, but it would seem that I need a full version of acrobat reader. All I have is acroread 9.5.4 and that too the free version. –  drN Mar 1 at 17:43
    
@JosephWright: Okular is actually one of the few viewers that support video inclusion. For example, my answer works with Okular, but fails with evince, qpdfview and acroread on Arch Linux. –  BenC Mar 31 at 15:22

1 Answer 1

I managed to get your example working by using:

\movie[
  height = 6cm,
  width = 6cm,
  showcontrols,
  poster
] 
{}{waves.wmv}

Okular success

Note that I did that on Arch Linux with:

$ okular --version
Qt: 4.8.5
KDE Development Platform: 4.12.3
Okular: 0.18.3

For more details on the multimedia package, check this answer or the official documentation.

share|improve this answer
    
Thank you! Will try this soon and mark an answer (your answer) –  drN Mar 31 at 17:48

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.