Sep-06-2018, 12:06 AM
C:\Python37>python C:\Python37\myvideogrep.py -i "C:\A" --search "Not you" -o "C:\test.mp4"python C:\Python37\myvideogrep.py -i "C:\A" --search "Not you" -o "C:\test.mp4" usage: myvideogrep.py [-h] --input [INPUTFILE [INPUTFILE ...]] [--search SEARCH] [--search-type {re,pos,hyper,fragment,franken,word}] [--use-transcript] [--use-vtt] [--max-clips MAXCLIPS] [--output OUTPUTFILE] [--export-clips] [--demo] [--randomize] [--youtube YOUTUBE] [--padding PADDING] [--resyncsubs SYNC] [--transcribe] [--ngrams NGRAMS] myvideogrep.py: error: unrecognized arguments: C:\Python37\myvideogrep.py C:\Python37>python C:\Python37\myvideogrep.py -i "G:\I" -s "All" -st word -o test.mp4 [!] No subtitle files were found. Traceback (most recent call last): File "C:\Python37\myvideogrep.py", line 3, in <module> videogrep.main() File "C:\Python37\lib\site-packages\videogrep\videogrep.py", line 528, in main videogrep(args.inputfile, args.outputfile, args.search, args.searchtype, args.maxclips, args.padding, args.demo, args.randomize, args.sync, args.use_transcript, args.use_vtt, args.export_clips) File "C:\Python37\lib\site-packages\videogrep\videogrep.py", line 456, in videogrep composition = compose_from_srts(srts, search, searchtype) File "C:\Python37\lib\site-packages\videogrep\videogrep.py", line 317, in compose_from_srts for srt in srts: TypeError: 'bool' object is not iterableReally annoying and mysterious!