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.

It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that currently there is no package that could import movies under XeLaTeX. Is that correct? And what about LuaLaTeX?

UPDATE: This question became obsolete with the advent of media9 package.

share|improve this question

2 Answers 2

up vote 7 down vote accepted

There is a version of movie15.sty called movie15_dvipdfmx.sty, see http://www.ctan.org/tex-archive/graphics/asymptote/patches/, that allows the inclusion of movies with xelatex with \includemovie.

Since it may not be clear, as there is no documentation, the package movie15_dvipdfmx.sty should be passed the option dvipdfmx for use with xelatex, that is, \usepackage[dvipdfmx]{movie15_dvipdfmx}.

share|improve this answer
    
No, it does not work. \documentclass[unicode]{article} \usepackage{graphicx} \usepackage{hyperref} \usepackage{movie15_dvipdfmx} \begin{document} \begin{figure}\centering \includemovie[label=movie-04-03 ,text={\includegraphics[width=\textwidth]{2010-04-03.png} ]{}{}{Video/2010-04-03-xvid.avi} \caption{\movieref[pause]{movie-04-03}{Run}} \label{fig:04-03} \end{figure} \end{document} produces no output with xelatex. It terminates with the error ! Undefined control sequence. <argument> \pdfmark –  Igor Kotelnikov Mar 7 '11 at 16:30
1  
@Igor \usepackage[dvipdfmx]{movie15_dvipdfmx} works for me. –  cefstat Mar 7 '11 at 18:59
4  
A very odd requirement that a package designed to work with dvipdfmx should require it as an option! –  Alan Munn Mar 7 '11 at 20:22
    
@Alan: \usepackage[dvipdfmx]{movie15_dvipdfmx} with xelatex has limited functionality as compared to pdflatex. Bottom produced with \movieref[pause]{movie-04-03}{\RunVideo} wehre \RunVideo puts a pictures seemed to be not operational. –  Igor Kotelnikov Mar 8 '11 at 11:04
    
@Alan: the recommendation is that you rename or symlink that package to movie15.sty and put it upstream in your input path. Then you call it with \usepackage{dvipdfmx}[movie15] as usual. –  Matthew Leingang Apr 11 '11 at 12:07

Lualatex works perfectly with multimedia package.

share|improve this answer

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.