Sep-05-2018, 06:27 PM
(Sep-05-2018, 06:02 PM)Gribouillis Wrote: Then use full path python C:\Python37\myvideogrep.py -i "C:\A" --search 'Not you' -o "C:\test.mp4"
Finally works for this, but I have tried.C:\Users\YL>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: you'So I used different file to test out but new problem just arouse, I am getting same error like this.
https://github.com/antiboredom/videogrep/issues/48
C:\Users\YL>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 iterableI don't know how Albertkaruna solved this issue as he closed that issue.
Now I need to learn more about it.