antiboredom / videogrep

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

No subtitle files were found #48

Closed Albertkaruna closed 7 years ago

Albertkaruna commented 7 years ago

when I run a command : python videogrep.py --input C:\Users\Guestuser\Desktop\Newfolder --search 'big'

it shows the following error

[!] No subtitle files were found. Traceback (most recent call last): File "videogrep.py", line 422, in main() File "videogrep.py", line 418, in main videogrep(args.inputfile, args.outputfile, args.search, args.searchtype, args.maxclips, args.padding, args.demo, args.randomize, args.sync, args.use_transcript) File "videogrep.py", line 357, in videogrep composition = compose_from_srts(srts, search, searchtype, padding=padding, sync=sync) File "videogrep.py", line 254, in compose_from_srts for srt in srts: TypeError: 'bool' object is not iterable

This is my folder structure. image

Please, anyone, tell me the solution.