I need an alternative to PlayPhrase, it is not easy to use on my windows 7 x64.
This sounds like a lot to install but it is a lot easier than it sounds:
- Install download & install Python.
- Open a command window and type
pip install moviepy
if you hit any errors on Windows make a note of the package that gave a problem, download it from the Unofficial Windows Binaries and usepip install <path_to_downloaded_file>
- It is worth installing the optional dependencies listed here.
- Run through at least one of the examples on the same page as this will download and install FFMPEG.
pip install videogrep
will install videogrep read the details about it here.
VideoGrep can search for any of python regular expressions, parts of speech in a pattern and hypernym searches. Take a look at this blog and this one for some detailed examples. You can even assemble fake speeches such as with this script:
words = ["Americans", "must", "develop", "open ", "source",
" software", "for the", " rest ", "of the world",
"instead of", " soldiers"]
numbers = [3,0,4,3,4,0,1,2,0,1,0] # take clip number 'n'
cuts = [find_word(word)[n] for (word,n) in zip(words, numbers)]
assemble_cuts(cuts, "fake_speech.mp4")
Which produced this video.
As long as the mp4 and srt files have the same name and are in the same folder it can search a single movie or all of the movies in a directory looking for matches and splicing together a movie of those sections.
All of the software above is free, gratis & open source and can run on multiple platforms.