Flowtter / crispy

Crispy is a machine-learning platform to make video-games montages efficiently. It uses a neural network to detect highlights in the video-game frames
https://crispy.gyroskan.com/
MIT License
86 stars 6 forks source link

merged.mp4 not showing up #17

Closed nepucchi closed 2 years ago

nepucchi commented 2 years ago

so after i extracted the zip, i ran the setup.bat and run.bat files as told in the instructions, but when i clicked on the results page after i selected my clips, it was just blank. When i checked my folder the merged.mp4 and merged.jpg files werent there either. Did i do something wrong during the installation? image image image first and second images show the cuts and results menu. Third image shows the exception.

Flowtter commented 2 years ago

This is indeed quite surprising.

Don't you have any other error when making the cuts ? Do tou have enough space on your pc ? You're using mp4 files ?

Try to delete the "session folder" and the "tmp" one and retry

nepucchi commented 2 years ago

This is indeed quite surprising.

Don't you have any other error when making the cuts ? Do tou have enough space on your pc ? You're using mp4 files ?

Try to delete the "session folder" and the "tmp" one and retry

  1. i have tried running in multiple different drives and the result remains the same.
  2. i have tried deleting session and tmp as well, to no avail. as for errors when making the cuts, i noticed that the preview for the cuts dont show up at all, as shown in the screenshot i posted on the original thread.
Flowtter commented 2 years ago

This is indeed quite surprising, could you share some screenshots of what is inside the tmp folder ?

nepucchi commented 2 years ago

This is indeed quite surprising, could you share some screenshots of what is inside the tmp folder ?

image image image image image

the images above shows whats inside my tmp folder, as well as the contents of the folder of the individual clips and the json file.

Flowtter commented 2 years ago

I think that the machine learning algorithm do not detect any kills. Can you try to decrease the confidence to 0.4, just to be sure ?

nepucchi commented 2 years ago

I think that the machine learning algorithm do not detect any kills. Can you try to decrease the confidence to 0.4, just to be sure ?

i tried 0.3 and 0.4 and it is still the same. Would having a stretched resolution affect the algorithm somehow? since all the clips that i used are in 4:3. image image

nepucchi commented 2 years ago

okay, i think i found the issue. I tried using my friend's clip that uses 16:9 and the code is running as intended. I think having a reso other than 16:9 messes with the algorithm somehow. Is there any way around this?

Flowtter commented 2 years ago

since all the clips that i used are in 4:3

Unfortunately yes. The AI probably can't recognize the highlights because of it. There isn't also any workaround at the moment. If you've the time, you can train a network. But It is quite tedious.

nepucchi commented 2 years ago

ah okay then. Thanks a bunch for helping out, but i have neither the time nor the knowledge for it haha. I'll close the thread then

Flowtter commented 10 months ago

Hi @nepucchi, hope you're doing well.

This has been fixed in https://github.com/Flowtter/crispy/pull/43 !

Hope you'll give it a try