12,297
edits
Line 3: | Line 3: | ||
# Download video from Youtube (e.g. noTube converter) | |||
# Download Youtube subtitles for same video (e.g. downsub converter) | |||
# Create file in Aegisub ( simply with video is loaded into, save and close) | |||
# Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes of certain, selected word | |||
## Open Mac terminal > change to 'findword' directory > command 'cd' and manually pull in find word folder into Terminal > ( easiest if both subtile file and video are in the 'findword' folder, otherwise full path must be given > use command 'python3 find_word.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-w WORD] [-c] [-v]' e.g. python3 find_word.py -i “Life.srt” -o “Life.xml” -w work -c -v | |||
# Insert generated .xml into full code of Aegisub file by opening the file via e.g. Visual Studio Code | |||
## Insert generated .xml; under playlist id=playlist0" replace entry producer="chain1" (*"chain1" needs to be adapted/named as such in the generated .xml file for successful insertion) | |||
# Open Aegisub in program to see edited video | |||
07.11.2021 - Computer's Cut via Subtitles of 'Doug & Mike Starn Interview: The Invisible Architecture of Life' | 07.11.2021 - Computer's Cut via Subtitles of 'Doug & Mike Starn Interview: The Invisible Architecture of Life' |