Discussion:
[okular] [Bug 397948] New: Animation stops working in presentation mode
Jay Schieber
2018-08-27 18:41:26 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

Bug ID: 397948
Summary: Animation stops working in presentation mode
Product: okular
Version: 1.3.3
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: PDF backend
Assignee: okular-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

I have had animation working for several years with LaTeX Beamer, when using
the multimedia package. I recently upgraded to Ubuntu 18.04. The animation in
Okular works fine as a window, but when I switch to presentation mode it no
longer works. Some new control buttons show up, but no animation. I could try
to provide a minimal working example, if you need it, but the switches look
like this:

\movie[
showcontrols,
autostart,
loop, % play continuously
]
{\includegraphics[width=\textwidth]{../frame_capture.png}}
{movie.m4v}
--
You are receiving this mail because:
You are the assignee for the bug.
Jay Schieber
2018-08-29 20:59:20 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #1 from Jay Schieber <***@gmail.com> ---
Created attachment 114689
--> https://bugs.kde.org/attachment.cgi?id=114689&action=edit
example problem

Here is an example of a pdf made from latex. There are four slides, and an
animation on each slide. The first slide animation works in presentation mode.
The remaining slides show animation only when not in presentation mode.
If I delete the first slide from latex and recompile, then the new first slide
(the previous second slide) now works in presentation mode, but the others do
not. If I remove the first slide using pdftk, then the same behavior is seen:
whatever the first slide is works, and the remaining do not. I am not able to
check if this problem persists in later versions of okular (say 1.4), since I
am unable to compile it on ubuntu 18.04
--
You are receiving this mail because:
You are the assignee for the bug.
Jay Schieber
2018-08-29 21:20:08 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #2 from Jay Schieber <***@gmail.com> ---
OK, another comment. I installed okular using snap, which was a higher
version, 1.4.4. This worked somewhat better, but still had an issue in one of
the animations.
--
You are receiving this mail because:
You are the assignee for the bug.
Oliver Sander
2018-08-31 11:49:09 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

Oliver Sander <***@tu-dresden.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@tu-dresden.de

--- Comment #3 from Oliver Sander <***@tu-dresden.de> ---
Hi Jay, unfortunately your example does not contain the actual movie files.
Apparently they are not actually embedded with the pdf file.

And what do you mean by "but still had an issue in one of the animations." ?
--
You are receiving this mail because:
You are the assignee for the bug.
Jay Schieber
2018-08-31 14:28:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #4 from Jay Schieber <***@gmail.com> ---
(In reply to Oliver Sander from comment #3)
Post by Oliver Sander
Hi Jay, unfortunately your example does not contain the actual movie files.
Apparently they are not actually embedded with the pdf file.
And what do you mean by "but still had an issue in one of the animations." ?
Hmmm. I am not so sure about the movies being embedded.
I have an old pdf made by latex that certainly has the movies embedded.
I was always able to freely move the pdf file alone and still play the
movies inside them. I have one of those, and it is a very large file (14MB),
which suggests that it has the movies embedded. I was also able to move the
pdf alone from my desktop to my laptop and have it work. However, now if I
move
it to another directory without the movies, okular cannot play them. It seems
as if okular is just assuming that it needs to look externally. Unfortunately,
the only way to track this question down would be to install a whole new OS
(Ubuntu 16.04) on a VM and try changing things there.

I just tried to attach the media files, but they are too large.
The additional problem that I mentioned is that the movie shows up,
but just flashes quickly, as if there were just one or two frames.
--
You are receiving this mail because:
You are the assignee for the bug.
Jay Schieber
2018-08-31 15:41:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #5 from Jay Schieber <***@gmail.com> ---
I think that the real issue for the current problem is that the movie files are
currently stored in another directory. This directory is added to the latex
file for the location of the movie, but that is somehow probably not passed to
the pdf file. I tested this by putting all of the files in the same directory.
Still, all of the movies play in window mode, but only the first in
presentation mode. Unfortunately, I don't know that I have a few videos small
enough to upload here as a minimal working example. Also, part of this seems
to be a latex problem.
--
You are receiving this mail because:
You are the assignee for the bug.
Jay Schieber
2018-08-31 15:49:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #6 from Jay Schieber <***@gmail.com> ---
Sorry, I keep adding to this. I have now found that if I keep all of the movie
files in the same directory, and put the slides in presentation mode, only the
first slide plays correctly. However, if I toggle between presentation and
window modes, it will then play correctly in the presentation mode. This must
be a bug, no?
--
You are receiving this mail because:
You are the assignee for the bug.
Continue reading on narkive:
Loading...