Lock frame rate at 30 fps when exporting presentation as video

Nick Green 40 Reputation points
2024-11-15T10:48:27.2466667+00:00

Hello community,

For my work I need to export a powerpoint presentation as a video file with 30 fps and then process it in a video editing software. To export the presentation as a video I use a script:

Sub ExportVideoFrameRate()
    If ActivePresentation.CreateVideoStatus <> ppMediaTaskStatusInProgress Then
        ActivePresentation.CreateVideo FileName:=Environ("USERPROFILE") & "\Desktop\Slide.mp4", _
            UseTimingsAndNarrations:=True, _
            DefaultSlideDuration:=5, _
            VertResolution:=1080, _
            FramesPerSecond:=30, _
            Quality:=100
    End If
End Sub


However, I found that the exported video file has a frame rate of 30.30 fps, and not exactly 30. This leads to the appearance of "ghost" frames during video editing and other inconveniences. So I have a question: how to modify my script to lock the frame rate during export to exactly 30 fps, and not 30.30?

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | PowerPoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. John Korchok 6,226 Reputation points Volunteer Moderator
    2024-11-17T16:35:44.3866667+00:00

    You can use Handbrake to convert to 30fps.

    You can report a bug to Microsoft using Help>Feedback>Report a problem in PowerPoint. They are unlikely to reply.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.