RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

How to make video shorter?

Open mrawesomey opened this issue 4 years ago • 2 comments

mrawesomey avatar Jun 01 '22 21:06 mrawesomey

The video length is determined by generating MP3 files from the comments until the total length is greater than 50 seconds.

You can edit this here: https://github.com/elebumm/RedditVideoMakerBot/blob/master/video_creation/voices.py#L26

Try values less than 50 to make the video shorter. In some cases though, if a comment is very long, the video length will still be long. In the same file, you can check the length of the comment first, if it's long, skip it and move on to the next comment.

arjun-dureja avatar Jun 01 '22 21:06 arjun-dureja

Hi @mrawesomey

I hope you were able to resolve your issue as there has not been activity in this Issue, I will be closing this for the time being. Feel free to re-open the issue if it has not been solved!!

Happy Coding!

FreebieII avatar Jun 06 '22 18:06 FreebieII