24
edits
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{#ev:youtube|Bz5LcW0ZKPE|left}} | {{#ev:youtube|Bz5LcW0ZKPE|left}} | ||
=Videoediting with Subtitles and how it works:= | |||
Download video from Youtube and the subtitles as a srt-file for same video (user for ex. loader.to) | - Download video from Youtube and the subtitles as a srt-file for same video (user for ex. loader.to) | ||
Create file in ShotCut (edit one cut, save and close) | - Create file in ShotCut (edit one cut, save and close) | ||
Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes | - Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes | ||
Open powershell on windows | - Open powershell on windows | ||
- use command python find_word.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-w WORD] [-c] [-v] e.g. python3 | |||
Insert generated .xml into the full code of the ShotCut file by opening the file via Visual Studio Code | - find_word.py -i “galilleo.srt” -o “galilleo.xml” -w versinken -c -v | ||
Insert xml-file from the powershell; under playlist id=playlist0 replace entry producer="chain1" | - Insert generated .xml into the full code of the ShotCut file by opening the file via Visual Studio Code | ||
Open ShotCut in program to see edited video | - Insert xml-file from the powershell; under playlist id=playlist0 replace entry producer="chain1" | ||
- Open ShotCut in program to see edited video | |||
== Listen through the tube: == | == Listen through the tube: == |
edits