Bug 139975 - FILESAVE PPTX Slide containing mpg video generates invalid file error in PP
Summary: FILESAVE PPTX Slide containing mpg video generates invalid file error in PP
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Corrupted
  Show dependency treegraph
 
Reported: 2021-01-28 15:20 UTC by NISZ LibreOffice Team
Modified: 2021-12-05 18:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from PowerPoint (5.45 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-01-28 15:20 UTC, NISZ LibreOffice Team
Details
The example file saved by Impress (5.29 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-01-28 15:20 UTC, NISZ LibreOffice Team
Details
Screenshot of the exported document in PowerPoint (25.72 KB, image/png)
2021-01-28 15:21 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-01-28 15:20:12 UTC
Created attachment 169242 [details]
Example file from PowerPoint

Attached document is minimized from bug #128821
It contains a simple mpg video file, which can be played fine.
Saving the document to PPTX and opening in PowerPoint however gives an “invalid contents” error and choosing to fix it removes the video file.

Steps to reproduce:
    1. Open attached file in Impress
    2. Save as PPTX
    3. Open it in PowerPoint

Actual results:
Invalid contents error.

Expected results:
No error on file open.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7eb289c49cc7245ef3001a39be0c15d06bbe875b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also happens in older releases: 6.0, 5.0, 4.0, 3.5
Comment 1 NISZ LibreOffice Team 2021-01-28 15:20:55 UTC
Created attachment 169243 [details]
The example file saved by Impress
Comment 2 NISZ LibreOffice Team 2021-01-28 15:21:26 UTC
Created attachment 169244 [details]
Screenshot of the exported document in PowerPoint
Comment 3 Miklos Vajna 2021-01-28 15:54:19 UTC
Is this a matter of handling the .mpg extension in oox/ on export? See 56f26399df894d05f24874a3cdc90694158e03bc that fixed this for m4a. If so, that would be easy to fix.
Comment 4 raal 2021-12-05 18:02:40 UTC
Confirm with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ba7db98cca3d8516697c94ef0d6af27db9e1655e
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded