Line 4: Line 4:
 
{{#ev:youtube|Bz5LcW0ZKPE|left}}
 
{{#ev:youtube|Bz5LcW0ZKPE|left}}
  
=Videoediting with Subtitles and how it works:=
+
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). Use .srt file of subtiles with 'findword' python script to generate a .xml file with information on timecodes. Open powershell on windows and use command "python find_word.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-w WORD] [-c] [-v] e.g. python3". Find_word.py -i “galilleo.srt” -o “galilleo.xml” -w versinken -c -v". Insert generated .xml into the full code of the ShotCut file by opening the file via Visual Studio Code. Insert xml-file from the powershell; under "playlist id=playlist0" replace "entry producer="chain1"". Open ShotCut in program to see edited video
- 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
 
- Open powershell on windows  
 
- use command python find_word.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-w WORD] [-c] [-v] e.g. python3
 
- find_word.py -i “galilleo.srt” -o “galilleo.xml” -w versinken -c -v
 
- Insert generated .xml into the full code of the ShotCut file by opening the file via Visual Studio Code
 
- 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: ==

Revision as of 10:14, 24 February 2022

About ships that sink and airplanes that disappear:

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). 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. Open powershell on windows and use command "python find_word.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-w WORD] [-c] [-v] e.g. python3". Find_word.py -i “galilleo.srt” -o “galilleo.xml” -w versinken -c -v". Insert generated .xml into the full code of the ShotCut file by opening the file via Visual Studio Code. 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:

The thing that make me happy: