Office 2010 and newer versions can save ppt as wmv format (versions before 2010 are not clear).
So you can use jni technology to call the office interface to save ppt as wmv (you can implement jni yourself, or you can use ready-made libraries such as jcob), and then convert wmv to mp4 or other video formats as you wish.
It should be noted that since the interface of office needs to be called, office must be installed on the computer that performs the task of saving ppt to wmv. Currently, only windows systems can do the job.
As for whether there are other more convenient (or more powerful, such as cross-platform) methods, the questioner should take the trouble to find them by himself. It is estimated that they cannot be separated from jni.
Office 2010 and newer versions can save ppt as wmv format (versions before 2010 are not clear).
So you can use jni technology to call the office interface to save ppt as wmv (you can implement jni yourself, or you can use ready-made libraries such as jcob), and then convert wmv to mp4 or other video formats as you wish.
It should be noted that since the interface of office needs to be called, office must be installed on the computer that performs the task of saving ppt to wmv. Currently, only windows systems can do the job.
As for whether there are other more convenient (or more powerful, such as cross-platform) methods, the questioner should take the trouble to find them by himself. It is estimated that they cannot be separated from jni.