diff --git a/generate_long_video.py b/generate_long_video.py index 0027551..a30881e 100644 --- a/generate_long_video.py +++ b/generate_long_video.py @@ -6,7 +6,7 @@ import sys abs_directory = Path().absolute() config = settings.check_toml(f"{abs_directory}/utils/.config.template.toml", f"{abs_directory}/config.toml") -num_of_vids_to_be_conc = input("How many videos would you like to be concatenated into a single video? ") +num_of_vids_to_be_conc = input("How many videos would you like to generate that will be concatenated into a single video? ") try: num_of_vids_to_be_conc = int(num_of_vids_to_be_conc) except: diff --git a/video_creation/data/videos.json b/video_creation/data/videos.json index 820772a..a49045a 100644 --- a/video_creation/data/videos.json +++ b/video_creation/data/videos.json @@ -22,5 +22,53 @@ "background_credit": "bbswitzer", "reddit_title": "34 percent of adults sleep with a stuffed animal or other sentimental object Are you one of these people What do you sleep with", "filename": "34 percent of adults sleep with a stuffed animal or other sentimental object Are you one of these people What do you sleep with.mp4" + }, + { + "subreddit": "AskReddit", + "id": "1482cyu", + "time": "1686633568", + "background_credit": "bbswitzer", + "reddit_title": "Americans what is something us Europeans arent ready to hear", + "filename": "Americans what is something us Europeans arent ready to hear.mp4" + }, + { + "subreddit": "", + "id": "147rws8", + "time": "1686635350", + "background_credit": "", + "reddit_title": "skipped", + "filename": "" + }, + { + "subreddit": "AskReddit", + "id": "147us0v", + "time": "1686636302", + "background_credit": "bbswitzer", + "reddit_title": "What was the first big newsevent that you remember hearing or watching as a child", + "filename": "What was the first big newsevent that you remember hearing or watching as a child.mp4" + }, + { + "subreddit": "AskReddit", + "id": "1482nga", + "time": "1686636937", + "background_credit": "bbswitzer", + "reddit_title": "Whats a cult that pretends its not really a cult", + "filename": "Whats a cult that pretends its not really a cult.mp4" + }, + { + "subreddit": "AskReddit", + "id": "147tkvx", + "time": "1686637324", + "background_credit": "bbswitzer", + "reddit_title": "If your spouse passed away would you maintain a relationship with your in-laws Whywhy not", + "filename": "If your spouse passed away would you maintain a relationship with your in-laws Whywhy not.mp4" + }, + { + "subreddit": "AskReddit", + "id": "147yabt", + "time": "1686638951", + "background_credit": "bbswitzer", + "reddit_title": "What song has horrific lyrics but a happy beat or vise-versa", + "filename": "What song has horrific lyrics but a happy beat or vise-versa.mp4" } ] \ No newline at end of file diff --git a/video_generator.py b/video_generator.py index b450cea..896f7b2 100644 --- a/video_generator.py +++ b/video_generator.py @@ -8,7 +8,7 @@ class VideoGenerator(): self.config = config def _concatenate_videos(self, video_list, output_file): - concat_file = 'concat.txt' + concat_file = 'assets/temp/concat.txt' # Create a temporary file containing the list of videos with open(concat_file, 'w') as file: