none
PowerPoint 2013 MP4 Output RRS feed

  • Question

  • Is it possible to programmatically have PowerPoint 2013 create an MP4 video?  In PowerPoint 2010 a new API was added, Presentation.CreateVideo, that you could use to create a WMV video.  According to the documentation (http://msdn.microsoft.com/en-us/library/office/ff746354.aspx), it doesn't look like it was updated to support the new MP4 format that you can do from the UI in PowerPoint 2013.  Is there another way to create an MP4 video programmatically or is it not available from the API?

    Thanks!!

    Thursday, April 4, 2013 12:16 PM

All replies

  • Hi,

    Thank you for posting in the MSDN Forum.

    What if you just pass a string end with ".mp4" as FileName parameter?

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, April 5, 2013 11:31 AM
    Moderator
  • This didn't work and we also need access to output mp4's programmatically. Please help bump this.
    Wednesday, July 3, 2013 3:02 AM
  • How about the Presentation.CreateVideo method?

    http://msdn.microsoft.com/en-us/library/office/ff746354(v=office.15).aspx

    Or, some VBA as an alternative approach:

    If ActivePresentation.CreateVideoStatus <> ppMediaTaskStatusInProgress Then

    ActivePresentation.CreateVideo FileName:=Environ("USERPROFILE") & "\myvideo.mp4", _ UseTimingsAndNarrations:=True, _ VertResolution:=1080, _ FramesPerSecond:=25, _ Quality:=100 Else: MsgBox "Sorry - in progress" End If



    • Edited by Targify Friday, January 16, 2015 9:05 AM
    • Proposed as answer by Targify Friday, January 16, 2015 9:06 AM
    Friday, January 16, 2015 7:55 AM