Saving PPTX Using Aspose.Slides for .NET Causes Corrupted File

Hi

Opening and saving a valid file causes broken/corrupted PPTX output.

And “Windows Media Player” objects are not detected as VideoShape, can this be possible ?

Here is object acess:
image.png (20.4 KB)

Here is PPTX:

here is code:

var ppt_path = "path_to_ppt";
var ppt_out_path = "path_to_ppt_out";
Aspose.Slides.LoadOptions _loadOptions = new Aspose.Slides.LoadOptions()
{
    BlobManagementOptions = new BlobManagementOptions
    {
        PresentationLockingBehavior = PresentationLockingBehavior.KeepLocked,
        IsTemporaryFilesAllowed = true,
        MaxBlobsBytesInMemory = 100 * 1024 * 1024
    }
};
using (var stream = new FileStream(ppt_path, FileMode.Open))
{
    Aspose.Slides.Presentation pres = null;
    try
    {
        pres = new Aspose.Slides.Presentation(stream, _loadOptions);
        Aspose.Slides.Export.SaveFormat ppt_file_aspose_format = GetPresFormat(ppt_path);
        pres.Save(ppt_out_path, ppt_file_aspose_format);
        Console.WriteLine("ok");
    }
    catch (Exception ex)
    {
        Console.WriteLine("ko");
    }
}

win10/.net 4.7/Aspose 23.1

Thank you

@pcaillol,
Thank you for contacting support. I am working on the issue and will get back to you as soon as possible.

Big thanks ! Looking forward.

@pcaillol,
I reproduced the corrupted file while saving the presentation.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-43828

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The attached presentation does not contain video frames and presentation resources do not contain videos.

Here is the file and the object in cause:

@pcaillol,
Thank you for the sample presentation file. I’ve attached it to the issue ticket.

The issues you found earlier (filed as SLIDESNET-43828) have been fixed in Aspose.Slides for .NET 23.4 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.