We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Export a Presentation to a Video and Preserve Animations

Thank you for your reply.
I’m looking forward to it.

@Greeeeen,
Thank you for using Aspose.Slides.

The issues you have found earlier (filed as SLIDESNET-36753) have been fixed in Aspose.Slides for .NET 22.11 (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.

Will Aspose.Slides for Java also be enhanced to support this capability?

Thanks!

@echin.allego,
Yes, Aspose.Slides for Java will provide the same features.

Thank you for your response.

You don’t output the video directly, but you output images for each frame once, right?
Do you feel that the part that converts the image into a movie is done outside the scope of Aspose using another library such as ffmpeg?

@Greeeeen,
Yes, you are right, these details have been announced in Release Notes:

Hi Andrey, I will be processing PPTs where its a mix of slides where some slides have no animation while others do. Is there any way to optimize the processing such that it only creates one frame from the static slide, such that the FPS will only be applicable when there are animations in play? From playing around with the new API so far I don’t see a way, but that could just be me. Attached is an example pptx that i was working with - ideally, I would like to just create just 8 frame files from this single pptx (one for each slideshow click). Is that possible? MySimpleExample.pptx.zip (27.4 KB)

@echin.allego,
I need some time to check the issue you encountered. We will reply to you a bit later.

@echin.allego,
Thank you for your patience. As far as I know the FPS setting determines how many frames/images to display per second in a video. Since all slides fall into one uniform video sequence, a static slide also needs to be displayed for a certain time. If, for example, FPS = 10, and the slide needs to be shown for 2 seconds, 20 images will be created.

In your example "FPS = 10, and the slide needs to be shown for 2 seconds, 20 images will be created. " I see in the code where I can set FPS=10, but how do I set the 2 seconds that the slide needs to be shown? If that value is not settable, and is implied by the duration of the animations being rendered, then what is implied for a static image where there are no animations? Thank you.

@echin.allego,
I did not find an exact answer to your question either. It looks like the default for a static slide is 2 seconds. I’ve added a ticket with ID SLIDESNET-43645 to our issue-tracking system. Our developers will look into your questions. We will reply to you as soon as possible.