I'm seeing a problem very similar to Bug 301603, except that one is fixed whereas mine is not. I have an mp4 file I am embedding into a pdf presentation made using Beamer (in LaTeX, compiled with pdflatex) with the multimedia package. I plan to attach a MWE of the LaTeX code, the resulting pdf, and the video, but here's the situation: When embedding a video using the multimedia package, there is an option called "poster", in which case, the pdf viewer should display the first image of the video when it is not playing. However, in okular, I have no image (although the box to click to play it is there, as if the poster option was not set). Running okular from the command line gives these errors: okular(19478)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: ** (okular:19478): WARNING **: gstvideo: failed to get caps of pad xvimagesink1:sink and when I run the video, the following message is output on the command line: ** (okular:19478): WARNING **: gstvideo: failed to get caps of pad xvimagesink0:sink The mp4 file is one that I made myself, using avconv. I have tried using different codecs, including -c:v mpeg4, -c:v msmpeg4 (giving a .asf file), and -c:v libx264. I am happy to use different codecs, etc, provided that the final result plays with okular. Please let me know if you would like a different version of the video, made with some specific codec. The poster option for the multimedia package in beamer was supported as of 2012-08-19 (as per bug report 301603); I am running KDE 4.11.5 and Okular 0.17.5, which came out significantly after this. Reproducible: Always Steps to Reproduce: 1. Open pdf with okular 2. See that there's no image in the box to play video (you can find the box by moving the cursor around and seeing where it changes) Actual Results: No image Expected Results: The first frame of the video should be displayed when the video is not playing
Created attachment 90094 [details] The .pdf made with beamer + multimedia This is the pdf made with beamer and the multimedia package, to be opened in okular. The .mp4 file must be in the same directory for okular to run it.
Created attachment 90095 [details] The .mp4 video to be played in the pdf This must be in the same directory as the pdf for okular to run it.
Created attachment 90096 [details] The LaTeX code to make the pdf This is the LaTeX code (compiled with pdflatex) that produces the attached pdf. Note that the poster option is set in the \movie command.
Works for me with okular 0.20.2 and phonon-gstreamer 4.8.1 + https://git.reviewboard.kde.org/r/121638/ Somehow it broke at some stage in phonon.
Just pushed the phonon-gstreamer fix. Please reopen the bug if you can still reproduce it on okular >= 0.20.2 and phonon-gstreamer >= 4.8.2
Thank you! It works now.