The LaTeX 'multimedia' package allows to embed movie files in pdf documents. One of its option, viz. the 'poster' argument, requests that the first image of the movie be shown when the movie is not actually playing. This does not work. The movie plays when you click on it, but before the first frame is not shown.
Created attachment 71710 [details]
Example file, compiled with pdflatex
Created attachment 71711 [details]
Example movie file
Created attachment 71712 [details]
The LaTeX source file
Created attachment 72555 [details]
This patch implements the poster functionality for videos embedded in PDF files
The patch extends the VideoWidget to either show the actual video player and keep it hidden while not playing (in non-poster mode) or show an image of the first frame all the time and overlay it with the video player (in poster mode).
Can i convince you to put it up on reviewboard? Makes for so much easier reviewing :-)
Git commit 8dbd83ab2a57d691ad2dfdbfa3bd0d5204573950 by Tobias Koenig.
Committed on 29/06/2012 at 11:16.
Pushed by tokoe into branch 'master'.
Implement support for poster image of videos in PDF documents
With this commit Okular will show a so called poster image for PDF documents
containing movie annotations. The image will be a screenshot of the first frame
of the video.
M +1 -0 CMakeLists.txt
M +16 -3 cmake/modules/FindPoppler.cmake
M +24 -1 core/movie.cpp
M +30 -0 core/movie.h
M +3 -0 generators/poppler/config-okular-poppler.h.cmake
M +4 -0 generators/poppler/generator_pdf.cpp
M +2 -2 ui/pageview.cpp
M +2 -2 ui/presentationwidget.cpp
A +31 -0 ui/snapshottaker.cpp [License: UNKNOWN] *
A +27 -0 ui/snapshottaker.h [License: UNKNOWN] *
M +121 -7 ui/videowidget.cpp
M +6 -0 ui/videowidget.h
The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.