Bug 418017 - Okular does not play sound of an embedded media file
Summary: Okular does not play sound of an embedded media file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.9.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 01:16 UTC by Alexander Willamowski
Modified: 2020-02-25 20:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Willamowski 2020-02-22 01:16:01 UTC
SUMMARY
Okular does not play sound of an embedded media file. Works with Acrobat at my Mac and other versions of Okular (19.08.3-1.fc31) which can be directly installed through DNF. However, this program has other issue. 

STEPS TO REPRODUCE
1. Open PDF with embedded media window referring to an external MOV file in subfolder beside the actual PDF document.
2. Press start button of embedded movie
3. 

OBSERVED RESULT
No sound of embedded film while it plays (see moving pictures though)


EXPECTED RESULT
Hearing sound of embedded film while it plays


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 31 (Gnome Version 3.34.3) 64 Bit
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: N/A
Qt Version: N/A

ADDITIONAL INFORMATION
Comment 1 Oliver Sander 2020-02-22 05:14:52 UTC
Can you post such a file?

Also, it is not clear to me which Okular fails for you.  Are you saying that the one from your distribution does work?
Comment 2 Albert Astals Cid 2020-02-22 09:13:17 UTC
Waiting on answers to Oliver's questions
Comment 3 Alexander Willamowski 2020-02-22 21:00:18 UTC
Hi Oliver,

thanks for your quick response!
The one that can be downloaded from the Fedora Software App Store (Okular
version 1.9.2) has the issue. I don't understand why it has a complete other versioning than the one which can be downloaded directly through DNF (19.08.3-1.fc31) and the homepage of Okular. However, the first one has the audio issue.

Here are some more details about the codec that comes with the MOV file: VLC reports that the MOV file contains a
MPEG H264 - MPEG-4 AVC (part10)(avc1) 
MPEG ACC Audio stream, Stereo 44100 Hz 32 Bit/sample

Okular version 19.08.3 does support the above mentioned audio stream. However, when I use this, something other strange happens to my file system which I might report through another bug ticket. This issue concerns me a bit more and this is why I refuse use version 19.08.3 available from DNF repos for now.

Thanks for your support!

Okular is great reader tool! I do love it!

Regards,

Alexander
Comment 4 Albert Astals Cid 2020-02-23 11:37:38 UTC
I think the  Fedora Software App Store one may be coming from flathub.

Anyhow, we still need the pdf file and the emvedded media file to try ourselves.
Comment 5 Alexander Willamowski 2020-02-23 23:10:23 UTC
Hi Okular developers,

I put just an extract of my PDF presentation plus a small movie clip on my cloud driver of my email hoster
https://c.gmx.net/@334653985707267862/KNsiHTvPRY23lHTYKsfJFA
since even this does not fit to the limitations of file attachments of bugs.kde.org

This time the movie is of type mp4 but it has the same issue: Video plays fine but no sound at all. I hope that this example works for you locally since I don't know if the PDF embeddeds the movie directly or just references to it (so as I hoped to use it not to blow up the PDF size itself).

Again thanks for your support and good luck!

Kind regards,

Alexander
Comment 6 Albert Astals Cid 2020-02-24 22:27:36 UTC
I can confirm that the flathub packages don't play sound because of missing audio permissions.

A new build is getting that fixed as we speak.
Comment 7 Alexander Willamowski 2020-02-24 22:49:41 UTC
Awesome! Cheers!(y)
Comment 8 Albert Astals Cid 2020-02-24 23:14:03 UTC
If you run flatpak update (or however you update your flatpaks) you'll get a new okular that has pulseaudio permissions and thus can play the audio.
Comment 9 Alexander Willamowski 2020-02-25 20:00:49 UTC
Thank you guys! 

Works as expected after receiving the update today! :-)

Regards,

Alexander