A power point tools
Project description
pptx-tools
Install
Suport only python3.
pip install pptx-tools
Quick Example
Create Google Application Credentials files and set
export GOOGLE_APPLICATION_CREDENTIALS=/PATH/TO/JSON
After that,
slide-add-voice <PATH-TO-YOUR-AWESOME-SLIDE>
You can change the synthesized voice by specifying the --voice-name
as shown below.
slide-add-voice pptx_tools/data/hello.pptx --voice-name en-US-Wavenet-C
In addition, you can listen to the voice samples available for use with Google Text-to-Speech at the following URL: https://cloud.google.com/text-to-speech/docs/voices
Slide Video Formatter Command
The slide-video-formatter
command is a utility program allowing users to format videos within PowerPoint presentations by specifying the vcodec
and crf
.
slide-video-formatter <YOUR-AWESOME-SLIDE> --out /tmp/tmp.pptx --vcodec libx264 --crf 28
Q & A
Q: What happens to the slide transition time when both a video file and a synthesized voice are present on the slide?
A: The transition time for the slide will be based on whichever is longer between the duration of the synthesized voice and the duration of the video.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pptx-tools-0.1.10.tar.gz
.
File metadata
- Download URL: pptx-tools-0.1.10.tar.gz
- Upload date:
- Size: 51.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a0036c95e9c169f68510e2eb066fa8e99074fb0a988834357bdb91e64d01ee0 |
|
MD5 | dc5be0c74e117cc084b1e4a05a607348 |
|
BLAKE2b-256 | f2fa6d2d5f95448fbdb49e5fc61d3457a939140da0bf8a1a037f5eeff26de091 |
File details
Details for the file pptx_tools-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: pptx_tools-0.1.10-py3-none-any.whl
- Upload date:
- Size: 53.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e43505b676f41901fd6aaa4dd01c36cd00f17dd4fd29a0c54aacf384849c0a3 |
|
MD5 | 0b7244ec0c9328c9809f61a7abdb68df |
|
BLAKE2b-256 | 7d54ecffee8a4cb1db092228e7af7a06f6e2545e07c90848789326a7398b2088 |