Skip to content

Commit ed91ba7

Browse files
committed
Dictionary for input.
1 parent 0b52415 commit ed91ba7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ppt2video/convertor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def ppt2video(pptx, video, timing, duration,
6969

7070

7171
if __name__ == '__main__':
72-
file_name = "" # e.g.:test.pptx, file expected to be in the root folder
73-
video_name = "" # e.g.: test_video, will be created in the root folder
72+
file_name = "presentation.pptx" # e.g.:test.pptx, file expected to be in the root folder
73+
video_name = "presentation_video" # e.g.: test_video, will be created in the root folder
7474
UseTimingsAndNarrations = False # Boolean value
7575
DefaultSlideDuration = 2 # Int
7676
VertResolution = 720 # Int
@@ -79,7 +79,7 @@ def ppt2video(pptx, video, timing, duration,
7979
# A list of user input text to insert before slides, starts with
8080
# the first slide. You can leave it blank and no additional
8181
# slides will be inserted in the video.
82-
user_input_list = ["1", "2", "3", "4", "5"]
82+
user_input_list = []
8383

8484
ppt2video(f"./{file_name}", f"./{video_name}.mp4",
8585
UseTimingsAndNarrations,

ppt2video/presentation.pptx

7.66 MB
Binary file not shown.

ppt2video/presentation_video.mp4

1.41 MB
Binary file not shown.

0 commit comments

Comments
 (0)