On a Windows Server 2012 R2 machine, I'm running a small python script as a windows service according to this post: Start python .py as a service in windows.
What my script does is to essentially call Microsoft Powerpoint 2013 and ask it to export a given .ppt presentation as a video file. (This was made possible using the pywin32 extensions).
The problem is that when I start the script as a service and then 'feed' it with the presentation file, the resulting video file contains no audio track even though the original .ppt file contains plenty of sound effects and a background music track thoughout).
However, if I run the python script separately in a new command line prompt and then 'feed' it with the same presentation file, the resulting video file comes out just fine with full audio.
I've made sure that the services:
- Windows Audio
- Windows Audio Endpoint Builder
are both running and that Microsoft Office products can create files and folders following these posts:
Any ideas why Powerpoint can't export any audio when called from a local system service?
Thanks in advance.