278
edits
mNo edit summary |
|||
Line 4: | Line 4: | ||
1. Download video from Youtube (e.g. noTube converter) | 1. Download video from Youtube (e.g. noTube converter) | ||
2. Download Youtube subtitles for same video (e.g. downsub converter) | 2. Download Youtube subtitles for same video (e.g. downsub converter) | ||
3. Create file in Aegisub ( simply with video is loaded into, save and close) | 3. Create file in Aegisub ( simply with video is loaded into, save and close) | ||
4. Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes of certain, selected word | 4. Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes of certain, selected word | ||
4.1 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 | 4.1 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 | ||
5. Insert generated .xml into full code of Aegisub file by opening the file via e.g. Visual Studio Code | 5. Insert generated .xml into full code of Aegisub file by opening the file via e.g. Visual Studio Code | ||
5.1 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) | 5.1 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) | ||
6. Open Aegisub in program to see edited video | 6. Open Aegisub in program to see edited video | ||
edits