media9 is a LaTeX package for embedding interactive Adobe Flash (SWF) and 3D files (Adobe U3D & PRC) as well as video and sound files or streams (FLV, MP4/H.264, MP3) into PDF documents with Adobe Reader-9/X compatibility.

learn more… | top users | synonyms

25
votes
2answers
7k views

Did anyone succeed in playing embedded movies inside Acrobat in Linux?

Some time ago I asked this question How to include a movie in a PDF? Step by step instructions. (I tried everything documented there, and links therein. I can't find the combination of tools to be ...
15
votes
2answers
8k views

How to include a movie in a PDF? Step by step instructions

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 ...
11
votes
2answers
826 views

Media9 and Flash-free OS environments

I've been using Movie 15 to create narrated PDF files. Works well in Adobe Acrobat and may soon work on the iPad, too (pdf readers there are promising to handle embedded sound). But Movie 15 is now ...
10
votes
1answer
820 views

How to play background music across multiple slides when making a beamer presentation?

I made a LaTeX beamer presentation and I would like to add background music to some of the slides. I did manage to play something using the media9 package, but only on a single slide, i.e. the sound ...
8
votes
1answer
67 views

media9 in tables

I am using the media9 package to embed sound files in my documents. This works quite fine in ordinary text, but when trying to run the same commands in a tabular environment, LaTeX apparently ends up ...
7
votes
2answers
429 views

Why does media9 need babel?

I wonder why the media9 package, a new replacement for movie15, needs babel? And what will happen if I would want to load polyglossia instead of babel as it is required for XeLaTeX to compile Russian ...
7
votes
1answer
181 views

Automatic pausing of video with media9?

Is there a way I can pause an embedded beamer video at some specified time point? Video Playing Code (media9): \includemedia[ width=\textwidth,height=0.5625\textwidth, addresource=video.mp4, ...
7
votes
2answers
2k views

Can XeLaTeX | LuaTeX import movies?

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 ...
7
votes
1answer
2k views

Trouble using ffmpeg to encode a h264 video in a .mp4 container to use with media9

I can't get an ffmpeg encoded libx264 video in a .mp4 container to work with media9 and beamer. The pdf is created using pdfLaTeX. It seems to be some kind of ffmpeg issue since the following work ...
6
votes
2answers
238 views

3D-PDF Error when adding 3Dviews to media

I am facing problems when I want to add 3Dviews to my media. I cannot compile the following code, getting an error 'undefined control sequence'. But without the line 3Dviews=test.vws, it works. The ...
6
votes
3answers
3k views

\includemedia won't play video

the code seems to be correct, with compilation no error appears. The code is \documentclass{beamer} \usetheme{Singapore} \usepackage{media9} \usepackage{hyperref} \begin{frame}\frametitle{Title} ...
6
votes
1answer
158 views

Can I define a variable that contains a URL (youtube) and call \includemedia with it?

I can successfully embed a video in my latex file using a syntax like this: \documentclass[10pt,letterpaper]{book} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
6
votes
2answers
597 views

Trying to embed mp4 in a Beamer presentation

Sample document \documentclass{beamer} \usetheme{Amsterdam} \usepackage{media9} \title{TITLE} \author{AUTHOR} \institute{INSTITUTE} \date{DATE} \begin{document} \addtocounter{framenumber}{1} ...
5
votes
1answer
2k views

Can we use media9 to show a video on a PDF but the video is not embedded to the PDF?

I have video tutorials that I want to show in my presentation with beamer class. I don't want the video files get embedded to the PDF because they will make the PDF size very very huge. If you know ...
5
votes
1answer
3k views

Embedding sound files into beamer presentation with media9

I'm trying to embed a sound file inline into a beamer so i don't need to carry the sound file around with the pdf. Currently I place sound files into my beamer with the multimedia package and this ...
5
votes
1answer
2k views

Problems embedding a video with multimedia an media9

I am making a presentation with beamer and have problems embedding a video. When I use the multimedia package, Adobe Reader crashes, when I use the media9 package, it exceeds the memory capacity. ...
5
votes
1answer
920 views

H-264 mp4 video plays on an iPhone when embedded in a PDF via Acrobat, but not via media9

Is there a bug in the media9 package that causes H-264 mp4 files to embed properly and play properly on a computer, but not an iPhone? I embedded the exact same mp4 video file in Acrobat X Pro (Mac OS ...
5
votes
1answer
450 views

Media9 and non youtube videos

I've been already in: 1) Embedding videos using media9 Talks about how to embed a file that is already saved in your computer) 2) Can we use media9 to show a video on a PDF but the video is not ...
5
votes
1answer
10k views

beamer, media9 - play multiple videos at once

I need to play two videos at once on a slide - it is pretty straightforward to show a single video, however, if I want to show two videos on a single slide simultaneously, it doesn't work - only one ...
5
votes
1answer
124 views

Playing portions of MP3 in PDF

I'm working on a book which should allow the playing of MP3s at selected points. I've found a good solution for the general case (i.e. the entire file): Audio examples in phonetics project, however, I ...
5
votes
1answer
308 views

Error on including large videos with media9 [closed]

I am trying to include a video of 17MB using the media9 package in a beamer presentation (I am using MiKTeX 2.9 on Windows 7): \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{media9} ...
4
votes
2answers
244 views

Strange lack of scaling/resizing of an embedded swf-animation

I am a noob in adding animations. I'm making progress, but new problems apparently show up all the time. Hardly a surprise actually. Anyway. System: WinEdt 7.0, MikTeX 2.9, Windows 7 ...
4
votes
1answer
483 views

beamer: How to play movies in their original size?

When using the multimedia package with the beamer class, you must specify the width and height of the movie like this: \movie[width=8.0cm,height=8.0cm]{}{movie.avi} The problem is that the video ...
4
votes
1answer
5k views

Embedding videos using media9

I'm really new to LaTeX and I'm not very good with computers. I'm trying to put videos into my PDF's. I'm using media9 and I've got the following going so far. \usepackage{media9} \includemedia[ ...
4
votes
1answer
416 views

LaTeX 3D PDF with U3D file and media9: add a view at runtime

I am wondering if I could hack media9 package to achieve such a feature: end-users should be able to add a new view of an animated U3D file at runtime. So I'll be editing the VIEWS FILE from a ...
4
votes
1answer
609 views

media9 playPause behaviour inconsistent for embedded mp4 and swf

I'm trying to embed a video in my thesis using the media9 package and have found that the behaviour of the mediacommand playPause changes depending on whether the embedded file is a swf or mp4 format. ...
4
votes
0answers
226 views

Media9 error with two .vws files [closed]

I've tried to include a second U3D model to my document and got the following error: ! LaTeX error: "kernel/command-already-defined" ! ! Control sequence \l_mix_vfile_stream already defined. The ...
3
votes
1answer
139 views

How can I include SWF Animations in a document?

Minimal tex \documentclass{article} \usepackage{media9} \begin{document} \includemedia[ activate=pageopen, width=200pt, height=150pt ]{}{Heartaxis.swf} \end{document} Everything runs fine in ...
3
votes
1answer
1k views

\includemedia does not play video but remains blank

I would like to have a video in my pdf that plays when you click on it. When the video is not playing it should show a figure. When I compile my pdf I do get a figure that I can click on, but it turns ...
3
votes
1answer
1k views

Compilation error with media9 package

While using media9 package, I'm getting the following error : Argument of \bool_if:nTF has an extra } I'm unable to figure out where does the error come from. Here is the minimal example: ...
3
votes
1answer
71 views

Beamer: Media 9 with overlay

I've used \includemedia to insert an animation (.swf file) in my slides. It works. Besides the animation, I also want to include three bullet items that show up one after one, which are done by ...
3
votes
1answer
1k views

media9: “l3kernel too old” (support outdated)

Well, I was trying to follow this answer "beamer, media9 - play multiple videos at once", in order to play two videos at the time in one frame. But the problem is that, after installing the packages ...
3
votes
1answer
495 views

embedding movies using media9 does not work. compiles without errors

Embedding movies using media9 does not work. Linking to online movies does. I am sure that I am using the correct mp4 format and h264 encoding so the problem should not be with the movie files. The ...
3
votes
1answer
207 views

How can I make toggle buttons with images using pdflatex?

I am currently designing an interactive PDF by means of the media9 package in Latex. I have three \mediabutton buttons that I would like to treat as toggle buttons. A picture of the buttons is shown ...
3
votes
1answer
1k views

StrobeMediaPlayback.swf vs Vplayer.swf vs Aplayer.swf

According to the media9 documentation, the media9 package comes with ...an enhanced version of ‘StrobeMediaPlayback.swf’. In addition, two simple player for video and audio, ‘VPlayer.swf’ and ...
3
votes
1answer
9k views

Beamer Multimedia package

I have written the following document \documentclass[aspectratio=1610]{beamer} \usetheme[hideallsubsections]{Berkeley} \useinnertheme{rounded} \usepackage{multimedia} \title[]{{\scshape Infodag ...
3
votes
2answers
468 views

Trying to embed .avi video in beamer presentation with media9

I am trying to embed a video in a beamer presentation. I am using the media9 package. I get the following error message: ! You can't use `\dimexpr' in restricted horizontal mode. <argument> ...
2
votes
1answer
900 views

Using Media9 with Windows and Minimizing the size of the video

I got the following minimum working example from: latex beamer: \includemedia won't play video I use Windows and have Adobe X. I can get the MWE to compile, but in the .pdf, I cannot get it to ...
2
votes
1answer
2k views

media9 installation in Ubuntu 12.04

I'm running Ubuntu 12.04 LTS and Kile for LaTeX document editing. I would like to use the media9 package to embed videos and 3D objects (via .u3d files) in a PDF document. I'm totally new in the LaTeX ...
2
votes
1answer
518 views

Using \visible with media9 embedded videos

I am currently switching to media9 to include video in beamer. I bump into an issue with the visibility option. I want to put two videos on a frame alongside with the list. The first one starts when ...
2
votes
1answer
1k views

Beamer, notes on the second screen and media9 problem

When one is asking beamer to generate notes on a second screen, a small version of the slide is also produced. This is troublesome when it comes to a slide containing a video. In my case (movie9 + ...
2
votes
2answers
647 views

`media9.sty' not found

I am using Texmaker and Gummi on Ubuntu 12.04. I want to embed videos in my PDFs and have downloaded media9.tds.zip, l3kernel.tds.zip, l3packages.ts.zip and l3experimental.tds.zip. I unzipped and ...
2
votes
1answer
57 views

Media button in RTL

It appears that there is a problem with the placement of media buttons in RTL text. Consider this MWE: \documentclass{article} \usepackage{libertine,media9,polyglossia} ...
2
votes
1answer
137 views

Media9 package in beamer class

i want to use a movie in my beamer class presentation. I've worked now a lot in order to create a minimal working example but i failed all the time. I've also read a lot of threads here and elsewhere. ...
2
votes
0answers
71 views

Video not playing

I want to play video in pdf using latex. Following is my sample code. When I try to play it, just an empty screen comes and video is not played. My basic requirement is that it should display picture ...
2
votes
0answers
56 views

How to complete the algorithm using algorithm2e

I wanted to write this flowchart using \usepackage[linesnumbered,ruled,vlined]{algorithm2e} However, I couldn't get what I want, please refer to my code in below \begin{algorithm} ...
2
votes
0answers
113 views

media9 and Acrobat

I often have a problem with video playback integrated in Acrobat by MEDIA9. The file can be read on some items and not others. so I ask these questions What is the minimum version of Acrobat Reader ...
1
vote
1answer
278 views

Beamer slides slow to change when using media9

I'm successfully using the media9 package to compile presentation pdf's with embedded mp4 files. The problem is that after the video is done, and I am ready to change to the next slide, it takes at ...
1
vote
1answer
78 views

media9: Locally enable or disable play button

Is there an existing way (without updating the media9 package) to enable or disable the play button after the package is loaded? The current motivation is to disable the play button for only some ...
1
vote
1answer
187 views

PDF video Embedding Problem

I have embed an mp4 video in the PDF file as given below: \documentclass{beamer} \usetheme{Singapore} \usepackage{media9} \usepackage{hyperref} \begin{document} \begin{frame}\frametitle{Title} ...