Share via

export embedded video from powerpoint

Anonymous
2013-05-29T08:46:09+00:00

Hi everyone,

Does anybody know how to export embedded  vedio from ppt using code(C# or vba).

thanks in advance.

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2013-05-29T11:22:05+00:00

See here for an example of how to unzip with VBA: http://www.rondebruin.nl/win/s7/win002.htm

The movie files are in the folder unzippedFileFolder\ppt\media

The challenge will be to determine which movie-file belongs to which movie in the slides.  I think you would have to read the "slide#.xml" files in unzippedFileFolder\ppt\slides to find the reference to Movie1, Movie2, etc.  The movies are named incrementally based on the order they are inserted into the presentation, not in slide order.

Cheers

Rich

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-05-31T02:30:09+00:00

    The answer is wordable and highly detailed. thanks!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-05-29T10:26:35+00:00

    Probably the easiest way would be to save a copy as pptx, change the suffix to zip and locate the media folder where the video will be. Then move it out.

    The File Scripting Object will do most of this or you could use the Open XML SDK.

    Was this answer helpful?

    0 comments No comments