Spire.Presentation for Java 11.3.5 supports saving PPTX to video formats

Spire.Presentation for Java 11.3.5 supports saving PPTX to video formats

2026-03-27 04:53:15

We’re pleased to announce the release of Spire.Presentation for Java 11.3.5. This update adds a new feature to support saving PPTX files as video formats, such as MP4 and WMV. More details are as follows.

Here is a list of changes made in this release

Category ID Description
New Feature - Added support for saving PPTX to video formats.
String inputFile = "input.pptx";
String outputFile = "output.mp4";  

Presentation presentation = new Presentation();
presentation.loadFromFile(inputFile);

SaveToVideoOption saveOption = new SaveToVideoOption.Builder("D:\\tools\\ffmpeg-7.1.1-essentials_build\\bin")  // Set ffmpeg path
.setFps()  // Frame rate
.setThreadsCount()  // Number of threads
.setDurationForEachSlide()  // Duration for each slide
.build(); 
presentation.setSaveToVideoOption(saveOption);
presentation.saveToFile(outputFile, FileFormat.AUTO);
Click the link below to download Spire.Presentation for Java 11.3.5: