HA6Bots / Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader

A series of 3 programs that will automatically receive scripts from Reddit, allow the user to edit them, then be sent off to a video generator where they will be uploaded to YouTube automatically.
MIT License
610 stars 181 forks source link

Error rendering/formatting videos #62

Closed LuciferDeFallen closed 3 years ago

LuciferDeFallen commented 3 years ago

Rendering clips goes alright but I get an error when the program starts formatting them.

image

I don't know what to do at this point, any help would be appreciated.

alzeric commented 3 years ago

I'm also getting this issue, if this doesn't get answered I'll try digging into it and seeing what's going on tomorrow.

HA6Bots commented 3 years ago

Can you try printing the error? Also does this occur for certain videos or all videos?

LuciferDeFallen commented 3 years ago

Can you try printing the error? Also does this occur for certain videos or all videos?

I had this error every time I ran the video generator, Also, how do I print the error?

alzeric commented 3 years ago

For me I did a video that had and Estimated Length of 16m41s - ""Failed with an Index -883 is out of bounds for axis 0 with Size 0, Sorry, a error occured rending this video. Skipping it"

Second video I tried I just chose a few comments and video was only 3m20s and coverted just fine.

So not sure if it was an error due to size/length of video or just a random hiccup. I'll try some longer videos again later tonight and let you know.

alzeric commented 3 years ago

Update: Maybe just a glitch in the matrix, just created a 12min video with no issues rendering...I'll at least call this one a rarity on my end, not sure about @LuciferDeFallen however.

stratty7 commented 3 years ago

Yeah ran into this a bit a while ago, but changed to shorter videos and haven't run into it since. I don't normally run on askreddit videos and combine mulitple small topic videos into one. Think it has something to do with the number of clips in the video or something with the amount of text on screen at once or in one line.

Do all of your renders fail? @LuciferDeFallen

LuciferDeFallen commented 3 years ago

I tried it on a 10min script and then a 2min script just now but it still fails after rendering. @stratty7

LuciferDeFallen commented 3 years ago

I renamed one of the transitions to 'standard.mp4', and it's working now, fun times.