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
Invalid contents error.
No error on file open.
Version: 126.96.36.199.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
Also happens in older releases: 6.0, 5.0, 4.0, 3.5
Created attachment 169243 [details]
The example file saved by Impress
Created attachment 169244 [details]
Screenshot of the exported document in PowerPoint
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.
Confirm with Version: 188.8.131.52.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