Bug 293141 - embedded video: autoplay doesn't work
Summary: embedded video: autoplay doesn't work
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.13.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 13:56 UTC by Wulf Bolte
Modified: 2012-06-14 08:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
generated pdf with linked (embedded) video file, with an without autoplay (255.57 KB, application/x-gzip)
2012-02-02 13:56 UTC, Wulf Bolte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wulf Bolte 2012-02-02 13:56:59 UTC
Created attachment 68433 [details]
generated pdf with linked (embedded) video file, with an without autoplay

Version:           0.13.2 (using KDE 4.7.4) 
OS:                Linux

generated pdf-file with latex-beamer-package "multimedia"
integrated video does play, but documented option "autoplay" is being ignored - video has to be clicked to start.

latex documentation:
http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf #chapter 14.1

Reproducible: Always

Steps to Reproduce:
open pdf-file, wait. ;)

Actual Results:  
nothing happens

Expected Results:  
video starts automatically

OS: Linux (x86_64) release 3.0.0-15-generic
Compiler: gcc
Comment 1 Oliver Sander 2012-02-05 15:39:42 UTC
This is a known shortcoming.  A partial patch has been posted by Edward Hades.  Please see the discussion at the end of bug 136574 for details.
Comment 2 Wulf Bolte 2012-02-08 06:33:38 UTC
So you could Confirm that Bug? 
I think its not a shortcoming - its a Showblocker!
Comment 3 Oliver Sander 2012-04-22 09:59:46 UTC
Thanks to work by Edward Hades and Tobias König, autostarting movies with the MovieAnnotation (i.e., as produced by the 'multimedia' package) is now implemented in okular.  You need the development branch and poppler 0.20.

However: your particular movie still doesn't autostart.  Apparently, the pdf is malformed and doesn't actually contain the necessary entries for autostart.  Does your test case work with Acroread on Windows?  If it doesn't: could you please file a bug for 'multimedia'?
Comment 4 Wulf Bolte 2012-04-23 11:03:29 UTC
Well Thanks in advance for working on this.
The Testfiles don't work on Windows either - so we have to continue searching for a solution.

How can we check if the autostart MovieAnnotation is right integrated? - Possibly we must ask the Latex - Beamer people to fix the malforming. How did you create the working pdf?
Comment 5 Oliver Sander 2012-04-23 11:43:33 UTC
Please report a bug at https://bitbucket.org/rivanvx/beamer/wiki/Home, then, and post the link here.

I was never able to create a working pdf, for the same reasons as you.  And I don't know how the original working pdf (of https://bugs.kde.org/show_bug.cgi?id=136574) was created.
Comment 6 Albert Astals Cid 2012-04-23 16:51:06 UTC
Well, since this is a broken pdf i'm closing this bug as invalid, next time it'd be cool if the pdf files you attach are not broken, i'm sure it helps people trying to implement the feature ;-)
Comment 7 knallio 2012-06-13 20:34:07 UTC
I just found out that you need to use latex+dvitops+pstopdf in order to generate a working pdf with autoplay. pdflatex or pdftex does not work. This seems to be a bug in either the multimedia package or pdftex.
Comment 8 Oliver Sander 2012-06-14 05:57:01 UTC
There used to be a bug in the multimedia package, but that has been fixed recently: https://bitbucket.org/rivanvx/beamer/issue/188/autostart-of-video-files-not-working

Even the fixed package uses a different way to trigger the autostart when compiling with pdflatex than with latex+...  and that different way is not supported by Okular (yet): https://bugs.kde.org/show_bug.cgi?id=300051
Comment 9 Wulf Bolte 2012-06-14 07:00:36 UTC
Well - than how is a autoplay - video - pdf displayed on linux?
Comment 10 Oliver Sander 2012-06-14 08:48:57 UTC
Write your LaTeX file using the 'multimedia' package, but compile it with latex+dvitops+pstopdf.  Then use a (very) recent version of poppler and okular to display.

Alternatively, use the 'movie15' package instead of 'multimedia' (plus again recent poppler and okular).  Then autostart also works for files compiled with pdflatex.