GNOME Bugzilla – Bug 573748
Movies embedded in LaTeX with movie15 do not play
Last modified: 2017-10-18 16:49:12 UTC
Please describe the problem: I'm using LaTeX to make reports and presentations (using the beamer class). In my presentations, I'd like to include movies to show them to my public. LaTeX has a package 'movie15' which introduces this functionality into LaTeX. Acrobat Reader can show those movies on Windows and Mac OSX, but not on Linux. Steps to reproduce: 1. Make a LaTeX presentation file with a movie: \documentclass{beamer} \usepackage{movie15} \title{Movie} \begin{document} \begin{frame} \includemovie{640pt}{480pt}{Filmpje.avi} \end{frame} \end{document} 2. Open the file with evince Actual results: No movie is shown (instead an empty space) Expected results: To see the movie I specified in the LaTeX source file Does this happen every time? Yes Other information:
I'm using ubuntu 8.10/Gnome and envice as my default pdf/djvu viewer. I get exactly the same result as was discussed above by Ernst. I complile a very similar latex code, and envice dont show the movie (.avi,.mpg,etc). It seems that linux pdf viewers cannot play embedded multimidia yet. I'd appreciate if envince could play a embedded multimidia. Thanks.
I'm using Debian Lenny, Ubuntu Intrepid and Ubuntu Jaunty. Evince is usually my default pdf viewer. As Ernst and Raphael, I use LaTeX/Beamer to make presentations and wanted now to add external animations to my presentations. Using pdf is a much better solution for sharing documents even than OpenDocument, so embedding animations on this documents is an important feature. This functionnality seams to exist since Acrobat 5.0. Adobe(tm) add the silly idea to make animations work only with RealPlayer(tm), witch couldn't be a worst choice, and it is not usable at all with GNU/Linux. Making Evince able to read animations on pdf documents would be really great. It seems to be on the "todolist" of Okular. Thanks.
This clearly happens with the latest version of evince, why is this bug still "unconfirmed"? I am sure the developers of evince are aware that this feature is not implemented, please at least change to confirmed.
I would like to confirm an additional strong interest in this feature. I moved from Kubuntu to Ubuntu and lost the possibility to play my video ! Under Kubuntu I had: Latex+beamer+multimedia packgae +okular under ubuntu I tried almost all the possibilities (both multimedia and movie15), okular, acrobat and evince and none is working. Of course it would be better to have the gnome pdf viewer playing videos instead of trying to install code from the medibuntu repository. Thanks, gianluca
Can anybody please upload a (small!) sample PDF file? Also, what is the last version this bug can be confirmed against? Thanks in advance
Created attachment 151117 [details] movie.pdf: sample PDF file with embedded movie Origin: http://www.math.northwestern.edu/~wphooper/code/latex/mathematica_movie/#step3 http://www.math.northwestern.edu/~wphooper/code/latex/mathematica_movie/movie.pdf
About the sample file, I should note that Adobe Acrobat 9 (for Linux) shows output.avi as an attachment and I can save it separately, although it didn't play it inplace. But opening it in Evince, the Attachments sidebar is still disabled. I'm testing on 2.28.1 (Ubuntu 9.10).
Created attachment 160383 [details] [review] Experimental patch adding Movie support. In evince git master with poppler git master, there is support for file attachments. The following is a EXPERIMENTAL patch adding support for Screen Annotations with media rendition actions (which is the way movie15 embeds video in pdf). Please, this patch is EXPERIMENTAL, the view code is fairly ugly, but the libdocument code and backend are better, but still no promises it won't crash (and for the moment the patch only supports one movie per pdf)... I attach it in hope that someone wants to improve it. I also mention that the patch uses the GtkVideoWidget from David Schleef (in particular, I don't know how this file is licensed, although a big chunk of it is included in the Gstreamer Base Plugin reference Manua, so there should be no problems to include it in Evince)
Created attachment 181135 [details] [review] First patch: add ev_view_put_at_doc_rect.
(In reply to comment #9) > Created an attachment (id=181135) [details] [review] > First patch: add ev_view_put_at_doc_rect. Thanks for the patch, I've just pushed a different patch based on this idea, see: http://git.gnome.org/browse/evince/commit/?id=de237e03970b02ee0823c79a3917d3d45aba999b
Carlos, thanks for adapting the patch. The next thing I have in mind in preparation for this is to let the FormWidgets to hide themselves when losing focus instead of letting ev_view to remove them all from itself... since when the widgets for Screen Annotations and Movie Annotations are there, the remove them all won't work. What do you think?
Yes, I noticed it yesterday too, ev_view_remove_all() doesn't make sense and it won't work if there are other widgets that are not form fields.
*** Bug 645608 has been marked as a duplicate of this bug. ***
José, what's the status of this?
I haven't work on this for sometime... Anyway, there is a branch with the work so far in github. The libdocument part is more or less finished.
I can click on the placeholder of the embedded movie in evince 2.32.0 and it opens the video in totem (the movieplayer). Can this be closed as FIXED?
(In reply to comment #16) > I can click on the placeholder of the embedded movie in evince 2.32.0 and it > opens the video in totem (the movieplayer). > Can this be closed as FIXED? IMO nope, I'd like the movie to play inline - as powerpoint / acrobat do.
André, this is definitely not fixed, as John points out, the pdf spec talks about having an embeded video player.
I've just pushed an initial implementation of PDF multimedia to git master, supporting both Movie and Screen annotations. But like with the links and forms, videos are not considered annotations internally.
I’m not sure what is the status here. Using Evince 3.26, I’m facing different issues: 1. https://bugzilla.gnome.org/show_bug.cgi?id=661618 2. The player is not inline (actually it opens mpv on my system, not sure whether that’s expected) 3. I cannot launch the video while in presentation mode. 4. After viewing a video an annotation box opens, which is annoying. Should I open new bugs for 2+?