12,297
edits
(→Xinyue) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
# open the shotcut .mlt document in Visual Studio Code. | # open the shotcut .mlt document in Visual Studio Code. | ||
# find the playlist section in the xml document, it should look like this: | # find the playlist section in the xml document, it should look like this: | ||
<syntaxhighlight lang="xml"> | |||
<playlist id="playlist0"> | <playlist id="playlist0"> | ||
<property name="shotcut:video">1</property> | <property name="shotcut:video">1</property> | ||
Line 13: | Line 14: | ||
<entry producer="producer3" in="00:38:06.600" out="00:39:34.800"/> | <entry producer="producer3" in="00:38:06.600" out="00:39:34.800"/> | ||
</playlist> | </playlist> | ||
</syntaxhighlight> | |||
# now you can edit the movie by copying in- and outpoints from the .srt subtitle file. Beware: in the .srt the frame number is separated by a comma, in the .mlt it is a point. | # now you can edit the movie by copying in- and outpoints from the .srt subtitle file. Beware: in the .srt the frame number is separated by a comma, in the .mlt it is a point. | ||
# save the file under a different name. | # save the file under a different name. | ||
Line 26: | Line 28: | ||
=== My own supercut === | === My own supercut === | ||
[[File:ddr supercut small.mp4]] ([https://www.youtube.com/watch?v=1UHC8djETCI YouTube]) | |||
== Max == | == Max == | ||
Line 33: | Line 35: | ||
# [https://www.youtube.com/watch?v=0YBumQHPAeU Cassetteboy - Cameron's Conference Rap] | # [https://www.youtube.com/watch?v=0YBumQHPAeU Cassetteboy - Cameron's Conference Rap] | ||
# [https://www.youtube.com/watch?v=9suHrzvFCWY Every Donald Trump Sniff At The 2nd Debate] | # [https://www.youtube.com/watch?v=9suHrzvFCWY Every Donald Trump Sniff At The 2nd Debate] | ||
=== python code example for the wiki syntax highlighting === | |||
<syntaxhighlight lang="Python" line='line'> | |||
def quickSort(arr): | |||
less = [] | |||
pivotList = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlight> | |||
== Konrad == | == Konrad == | ||
[[File:Car Super Cut V1.mp4|Car Super Cut Version 1]] | |||
[[File:Car Super Cut V2.mp4|Car Super Cut Version 2]] | |||
[[File:Car Super Cut.mp4|Car Super Cut Remix]] | |||
==Cornelius== | ==Cornelius== | ||
[[File:Bundestag Klima.mlt.mp4|Super Cut Bundestags Klima]] | |||
== Xinyue== | == Xinyue== | ||
=== My top three supercuts === | |||
* [https://www.bilibili.com/video/av41584737?from=search&seid=5457943024822514468 Tom and Jerry] | |||
* [https://www.bilibili.com/video/av48808524?from=search&seid=11240816333249503890 Trick] | |||
* [https://www.bilibili.com/video/av54908220/?spm_id_from=333.788.videocard.0 Symphony] | |||
=== My own supercut === | |||
[[File:see.mp4|Super Cut see U]] | |||
=== Auto detecting words in srt === | |||
[[File:guichu.txt]] | |||
Copy the txt file to a empty .py file :D (.py file can't be uploaded, I wonder why @_@) | |||
#library srt link: https://github.com/cdown/srt | |||
#pip install -U srt | |||
#copy paste srt file as in the code (focus on the format at head and tail) | |||
#it returns a sequence of subtitle classes object, contains index,time, content, etc. | |||
#using for loop searching desired word in every object.content. | |||
#it returns the time interval at the start and the end | |||
#use srt.timedelta_to_srt_timestamp convert the time to normal one |