Bug 44223 - FILESAVE, FILEOPEN: No sound in presentations saved in .pptx format
Summary: FILESAVE, FILEOPEN: No sound in presentations saved in .pptx format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
3.5.0 Beta2
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:ppt, filter:pptx
: 74379 103142 (view as bug list)
Depends on:
Blocks: PPTX PPT
  Show dependency treegraph
Reported: 2011-12-28 08:28 UTC by rfvuhbtg
Modified: 2018-10-15 05:44 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:

Sample PPTX with animation and transition sound (62.23 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-10-13 19:08 UTC, Luke
PPT format correctly imported (126.00 KB, application/vnd.ms-powerpoint)
2018-10-13 19:12 UTC, Luke

Note You need to log in before you can comment on or make changes to this bug.
Description rfvuhbtg 2011-12-28 08:28:38 UTC
Steps to reproduce:

1)  Create a new presentation in impress.
2)  Create one or more slides.
3)  On one of the slides (the first one is fine), click on Slide Transition in the sidebar then click on the Sound drop down selector.
4)  Choose a sound to play on that slide, either a built-in sound or choose "Other Sound" and pick an audio file on your computer.
5) Preview the slideshow to see that the sound is now playing on that slide.
6) Save the presentation as a .pptx file then close and reopen it.

What is expected to happen:  
The sound plays on the specified slide as it is supposed to.

What actually happens:
There is no sound on that slide.

Note that the sound plays just fine if the presentation is saved as a .odp or .ppt file.
Comment 1 Cor Nouws 2011-12-28 15:08:28 UTC

Thanks for reporting. I can confrim this.

Saving as PPT does preserve the attached sound
Saving as PPTX does not.

Trying to attach sound after reopnening the saved PPTX, does not seem to work ..

Better not save as PPTX is the solution :-) 
If opening works fine, we are already lucky, IMNSHO.
Comment 2 A (Andy) 2013-03-24 19:44:01 UTC
reproducible with LO (Win7 Home, 64bit)

@Thorsten: Could this maybe be an issue for you?
Comment 3 vulcain 2014-01-30 11:11:06 UTC
Duplicate of bug 67544 ??
Comment 4 QA Administrators 2015-07-18 17:42:49 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2016-09-20 10:18:05 UTC Comment hidden (obsolete)
Comment 6 Phil Davis 2016-10-12 03:37:59 UTC
Tested and bug confirmed with LibreOffice on Windows10.
After saving as PPTX, the sound selection in "slide transition" is still shown with the correct sound file.
But after closing and then re-opening the PPTX file, the sound selection shows "no sound".

Similarly, start with an Impress file:
1) Insert, "Audio or Video..."
2) Select an audio file (I selected an MP3 format Audio file)
3) The file shows as an embedded object on the slide
4) Save as PPTX
5) Play the slide show, the sound plays along with the relevant slide - good.
6) Close LibreOffice Impress
7) Open the PPTX file
The embedded sound object does not appear on the slide, and it does not play.

So it seems that embedded audio objects are not being saved into PPTX files.

Note: I received a PPTX file with embedded audio from an associate who uses MS PowerPoint. The embedded audio in the file was seen and played correctly with LibreOffice Impress. So Impress is capable of reading embedded audio in PPTX files.

I added some audio to other slides and it all worked for me in "real time". Then after saving, closing and re-opening, all the audio was gone - confirming my conclusion that embedded audio objects are not being saved to PPTX files.
Comment 7 Xisco Faulí 2016-10-25 11:25:15 UTC
*** Bug 103142 has been marked as a duplicate of this bug. ***
Comment 8 Xisco Faulí 2016-10-25 11:26:58 UTC
*** Bug 74379 has been marked as a duplicate of this bug. ***
Comment 9 Phil Davis 2017-05-11 15:28:18 UTC
Tested this again just now on V5.3.3.2 on Windows10
The problem is still the same as reported last year.
Comment 10 Michael Meeks 2017-10-02 08:04:06 UTC
IIRC you did some work wrt. preserving these Kendy (?) =)
Comment 11 uf1wfitd6bmi 2018-06-14 15:51:52 UTC
As of June 2018, the Bug still persists (Checked with V Please Check (Hint: In the exported pptx file, there is missing the link to the "media" file in the slides file  AND the media file itself in the "media"-Folder within the odp-file)
Comment 12 Jan Holesovsky 2018-06-18 08:13:20 UTC
I've fixed the bug 106867 that was for videos, but the audio uses a different markup I'm afraid :-(
Comment 13 Jan Holesovsky 2018-06-18 08:17:53 UTC Comment hidden (obsolete)
Comment 14 Xisco Faulí 2018-06-19 13:25:40 UTC
(In reply to Jan Holesovsky from comment #13)
> To help solving this bug, can anyone attach a pptx presentation created in
> PowerPoint that has some sound? - so that we can implement the preservation
> of that...

What about attachment 93222 [details] from bug 74379 or the attachments in bug 103142 ?
Comment 15 Luke 2018-10-13 19:08:33 UTC
Created attachment 145684 [details]
Sample PPTX with animation and transition sound

This should play a wind as an animation and clapping as a transition.
Comment 16 Luke 2018-10-13 19:12:18 UTC
Created attachment 145685 [details]
PPT format correctly imported
Comment 17 Luke 2018-10-13 20:09:41 UTC
Plain inserted audio like attachment 145688 [details], already works for PPTX. We are missing the logic to tie it to the animations and transitions.