Bug 126165 - FILESAVE PPTX: Embedded MP3 audio or a link to it not saved in presentation
Summary: FILESAVE PPTX: Embedded MP3 audio or a link to it not saved in presentation
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: Media PPTX-OLE
  Show dependency treegraph
 
Reported: 2019-06-29 23:54 UTC by Aron Budea
Modified: 2022-03-31 08:21 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODP (758.54 KB, application/vnd.oasis.opendocument.presentation)
2019-06-29 23:54 UTC, Aron Budea
Details
Sample PPTX (saved in PP) (791.67 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2019-06-29 23:56 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2019-06-29 23:54:27 UTC
Created attachment 152471 [details]
Sample ODP

- Insert an MP3 file in a presentation, eg. one from [1], or open attached ODP, which contains one.
- Save it as PPTX, and reload.

=> No sign of the MP3 in the presentation (the archive doesn't contain the MP3 file).

In PPT embedding media isn't possible, so this isn't relevant there.

Observed using LO 6.4.0.0.alpha0+ (58ef8c188b6bb2ed307f5e825cc7e475c33d0c33), 4.0.0.3 / Windows 7.

[1] https://file-examples.com/index.php/sample-audio-files/sample-mp3-download/
Comment 1 Aron Budea 2019-06-29 23:56:14 UTC
Created attachment 152472 [details]
Sample PPTX (saved in PP)

Here's how PowerPoint saves a file with embedded MP3.
Comment 2 Aron Budea 2019-06-30 14:22:34 UTC
Actually, the same happens if the MP3 is linked, let's include that issue here.
Comment 3 Julien Nabet 2019-07-01 11:46:41 UTC
On Win10 with master sources updated 3 days ago, I could reproduce this.

I noticed this log on console:
warn:sd.eppt:3468:6236:sd/source/filter/eppt/pptx-epptooxml.cxx:324: unknown shape not handled: com.sun.star.drawing.MediaShape
Comment 4 norman 2020-09-03 10:12:47 UTC
I can confirm that this bug still exists in LO versions 6.4.6 and 7.0.1.2.
The audio appears to be embedded when first placed on a slide and tested while LO still running. However reopening the pptx file reveals that the audio is no longer embedded.

Can the bug be escalated as it has a new importance with educational institutions going online?
Comment 5 norman 2020-09-03 14:07:15 UTC Comment hidden (obsolete)
Comment 6 Julien Nabet 2020-09-03 15:37:07 UTC
norman: no need to repeat yourself.
This bug is not a priority since:
- it's not a crash
- not a regression
- you may use odp (the native format for LO) as a workaround
Comment 7 Gabor Kelemen (allotropia) 2022-03-30 07:50:01 UTC
This was fixed by:

https://git.libreoffice.org/core/commit/bc72514f90d90e1ab3fed8167663e835edf03508

tdf#53970 PPTX: fix export of embedded media files

Wrong bug number went here.

Thanks for the fix Tunde!
Comment 8 NISZ LibreOffice Team 2022-03-31 08:21:12 UTC
Verified in:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a3988b2d147a2442b348d58b79dbd6e71472b7af
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded