antiboredom / videogrep

automatic video supercuts with python
https://antiboredom.github.io/videogrep
Other
3.33k stars 257 forks source link

Selecting folder #116

Closed theRAGEhero closed 1 year ago

theRAGEhero commented 1 year ago

Hello Sam,

am I doing something wrong, or at the moment is not possible to select a folder instead of a video? I have many .mp4 files with their .srt subtitle file and I would like to do a supercut from all those files.

PS. I've also emailed you, but probably it ended up in spam.

Thank you

marcospozzo commented 1 year ago

Hi! Have you tried with *.mp4?

theRAGEhero commented 1 year ago

Hi! Thank you, but unfortunately it doesn't work.

antiboredom commented 1 year ago

@theRAGEhero can you paste in the exact command you used and also the contents of the folder?

theRAGEhero commented 1 year ago

Sorry for my late reply.

This is the command. Inside the videogrep folder I have two .mp4 files with their .srt I can videocut them singularly, but not as a folder.

"./videogrep/*.mp4" --search 'legge' -n 1
No subtitle file found for  ./videogrep/*.mp4

I'm just looking at some old videcut that I did and apparently I already did it with multiple videos, still I don't remember if I did it with a folder or inserting manually every video source.

Thank you.

antiboredom commented 1 year ago

Hi - I think you may need to remove the quotes around the filename...