Bug 421407 - Unable to play embedded audio in pdf
Summary: Unable to play embedded audio in pdf
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 13:04 UTC by Fadlullah Olawumi
Modified: 2020-05-28 03:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example (1.69 MB, application/pdf)
2020-05-12 13:08 UTC, Fadlullah Olawumi
Details
it plays here (69.71 KB, image/jpeg)
2020-05-12 14:16 UTC, Fadlullah Olawumi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fadlullah Olawumi 2020-05-12 13:04:17 UTC
SUMMARY


STEPS TO REPRODUCE
1. Open Okular
2. Open the pdf with audio embedding (The logs only show up if the pdf has audio embedding)
3. Click on show forms
4. No response when you play the audio


OBSERVED RESULT

Audio not played


EXPECTED RESULT

Audio plays


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

PulseAudio Version: PulseAudio 13.0
Kernel Version: 5.6.10-arch1-1
phonon-qt5-vlc: 0.11.1-1
vlc version: 3.0.10-1
PDF backend: Poppler 0.88.0


ADDITIONAL INFORMATION

There seem to be multiple errors trying to connect to pulse audio server when I checked the log, the error looks like
```
[0000562d10291070] vlcpulse audio output error: PulseAudio server connection failure: Connection terminated
[0000562d102edf90] vlcpulse audio output error: PulseAudio server connection failure: Connection terminated

```

But when I checked my journalctl, I found that pulseaudio is dropping the connections because okular is ddosing pulseaudio's server

```

May 12 13:29:13 hostname pulseaudio[632]: W: [pulseaudio] protocol-native.c: Warning! Too many connections (64), dropping incoming connection.
May 12 13:29:13 hostname pulseaudio[632]: W: [pulseaudio] protocol-native.c: Warning! Too many connections (64), dropping incoming connection.
```
Comment 1 Yuri Chornoivan 2020-05-12 13:06:02 UTC
Hi,

Can you share an example for testing?

Thanks in advance for your answer.
Comment 2 Fadlullah Olawumi 2020-05-12 13:08:39 UTC
Created attachment 128388 [details]
example

Yeah, here you go!
Comment 3 Yuri Chornoivan 2020-05-12 13:34:36 UTC
I think that the attached file does not contain sound data. At least neither FoxIt Reader nor PDF-XChange Editor shows them. No attached files found.
Comment 4 Fadlullah Olawumi 2020-05-12 14:06:15 UTC
but it plays on my phone with ezpdfreader, also the site where I downloaded it recommended that I use Adobe Acrobat PC Pro
Comment 5 Fadlullah Olawumi 2020-05-12 14:16:37 UTC
Created attachment 128391 [details]
it plays here
Comment 6 Albert Astals Cid 2020-05-12 17:11:43 UTC
Does using phonon-qt5-gstreamer instead of phonon-qt5-vlc work fixes the issue for you?
Comment 7 Fadlullah Olawumi 2020-05-12 20:21:16 UTC
I just did that, I installed phonon-qt5-gstreamer but there was no difference (I got the same logs/warnings in the terminal). Then I uninstalled phonon-qt5-vlc and there was no logs but still no sound. I checked my journal and the issue pulseaudio logs aren't there either
Comment 8 Bug Janitor Service 2020-05-27 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Fadlullah Olawumi 2020-05-28 03:10:51 UTC
https://bugs.kde.org/show_bug.cgi?id=421407#c7