Differences
This shows you the differences between two versions of the page.
videogrep [2015/07/07 19:22] slackermedia |
videogrep [2021/06/03 19:48] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[{arrowp.png|border:0;background:none;width:0;display:inline-block;position:absolute;top:0;left:0;}trelby|]] | ||
- | [[{arrown.png|border:0;background:none;width:0;display:inline-block;position:absolute;top:0;margin-left:2.5em;}videometa|]] | ||
- | |||
- | ======Videogrep====== | ||
- | |||
- | [[http://lav.io/2014/06/videogrep-automatic-supercuts-with-python|Videogrep]] is //generative art// software that searches (or "greps") through a subtitles file of a movie, and re-edits the movie file according to search terms found in the subtitles (and therefore, the dialogue itself). | ||
- | |||
- | <WRAP warning> | ||
- | Beware! This is part of Slackermedia's **Fringe Collection**. This application is not a "normal" art application, and is experimental not in stability but in results. You may or may not find this at all interesting, depending on your artistic sensibility. | ||
- | </WRAP> | ||
- | |||
- | =====Install===== | ||
- | |||
- | Videogrep is a Python script and as yet is not packaged for Slackware. The install is pretty simple, though. | ||
- | |||
- | From [[http://slackbuilds.org]], install ''pysetuptools''. | ||
- | |||
- | Download the source code and create a Slackware package for yourself: | ||
- | |||
- | <code> | ||
- | $ git clone https://github.com/antiboredom/videogrep.git | ||
- | $ cd videogrep | ||
- | $ mkdir /tmp/vidgr | ||
- | $ python setup.py install --root=/tmp/vidgr | ||
- | $ cd /tmp/vidgr | ||
- | $ su | ||
- | # /sbin/makepkg -l y -c n \ | ||
- | tmp/videogrep-`date +%F`-`uname -m`-1_SMi.tgz | ||
- | # installpkg /tmp/videogrep-*SMi.tgz | ||
- | </code> | ||
- | |||
- | =====Usage===== | ||
- | |||
- | Videogrep does not "hear" the movie you feed it, it requires a valid subtitle file in the ''.srt'' format and located in the same directory as the movie file. | ||
- | |||
- | Provided you have these things, start videogrep: | ||
- | |||
- | <code> | ||
- | videogrep --input path/to/video_or_folder --search 'search phrase' | ||
- | </code> | ||
- | |||
- | ======Documentation===== | ||
- | |||
- | There are several "tricks" you can use with videogrep (searching by word classification, searching for silence, and so on), so for full documentation and a few ideas, read the project's documentation at [[http://lav.io/2014/06/videogrep-automatic-supercuts-with-python/]]. | ||
- | |||
- | |||
- | <WRAP tip> | ||
- | **See Also** \\ | ||
- | Evolvotron \\ | ||
- | Aegisub \\ | ||
- | Gaupol \\ | ||
- | Subtitle Composer \\ | ||
- | Yolo | ||
- | </WRAP> | ||
- | |||
- | |||
- | [[{arrown.png|border:0;background:none;width:0;display:inline-block;float:right;}jack|]][[{arrowp.png|border:0;background:none;width:0;float:right;}slackbuilds|]] |