Compare commits

..

62 Commits

Author SHA1 Message Date
Михаил Капелько
c6b80a9225 97 98 2025-12-04 08:02:13 +03:00
Михаил Капелько
0bad60953d 95 96 2025-11-29 07:29:40 +03:00
Михаил Капелько
4302bb847e 93 94 2025-11-27 07:36:45 +03:00
Михаил Капелько
5a24af3e9b 91 92 2025-11-21 07:22:35 +03:00
Михаил Капелько
4c05f38118 89 90 2025-11-20 07:25:28 +03:00
Михаил Капелько
08a1ca768f 87 88 2025-11-19 07:19:48 +03:00
Михаил Капелько
9f65ad3cd1 85 86 2025-11-17 07:26:44 +03:00
Михаил Капелько
13c740f9dd 83 84 2025-11-14 07:14:46 +03:00
Михаил Капелько
981ac7eade 81 82 2025-11-13 10:41:20 +03:00
Михаил Капелько
02be343dd5 79 80 2025-11-11 07:54:22 +03:00
Михаил Капелько
df0a88813d 77 78 2025-11-09 07:36:26 +03:00
Михаил Капелько
48cf39b444 75 76 2025-11-08 07:34:19 +03:00
Михаил Капелько
139d25ec7b 73 74 2025-11-06 07:31:10 +03:00
Михаил Капелько
cc28380a0f 71 72 2025-11-04 22:38:43 +03:00
Михаил Капелько
4825bc8651 69 70 2025-11-03 22:18:53 +03:00
Михаил Капелько
022e23e940 67 68 2025-11-02 22:37:32 +03:00
Михаил Капелько
28df96b6b3 65 66 2025-11-01 22:44:19 +03:00
Михаил Капелько
d5e08316af 63 64 2025-10-31 22:40:27 +03:00
Михаил Капелько
f5a5a29520 61 62 2025-10-30 22:48:47 +03:00
Михаил Капелько
be36e473a3 59 60 2025-10-29 22:39:44 +03:00
Михаил Капелько
7ad62ec538 57 58 2025-10-28 23:40:49 +03:00
Михаил Капелько
f0222cd009 55 56 2025-10-27 22:25:48 +03:00
Михаил Капелько
956400b40c 53 54 2025-10-24 07:21:35 +03:00
Михаил Капелько
c2e40934ef 51 52 2025-10-23 07:20:01 +03:00
Михаил Капелько
dd66566779 49 50 2025-10-22 07:24:16 +03:00
Михаил Капелько
f1d6d0178d 47 48 2025-10-21 11:08:42 +03:00
Михаил Капелько
cc7294f93a 45 46 2025-10-20 07:24:32 +03:00
Михаил Капелько
1846853b10 43 44 2025-10-17 07:20:21 +03:00
Михаил Капелько
160948b94c 41 42 2025-10-16 07:27:05 +03:00
Михаил Капелько
8478f57cc6 39 40 2025-10-15 07:11:35 +03:00
Михаил Капелько
4dd026ab73 rm 2025-10-14 07:31:13 +03:00
Михаил Капелько
11b4ba56d7 37 38 2025-10-14 07:30:56 +03:00
Михаил Капелько
fc9ce3caee add links to 03 2025-10-13 22:24:20 +03:00
Михаил Капелько
7dc077ba60 35 36 2025-10-13 07:40:52 +03:00
Михаил Капелько
1d06116141 33 34 2025-10-10 07:33:17 +03:00
Михаил Капелько
50b5bd84e9 31 32 2025-10-09 07:25:56 +03:00
Михаил Капелько
167aa07da8 29 30 2025-10-08 07:28:53 +03:00
Михаил Капелько
c95381de2c 27 28 2025-10-03 07:21:19 +03:00
Михаил Капелько
ea4c7b888e 25 26 2025-10-02 07:29:14 +03:00
Михаил Капелько
d4a20d076f rm _a 2025-09-30 06:58:11 +03:00
Михаил Капелько
d3182d24ba 23 24 2025-09-30 06:57:58 +03:00
Михаил Капелько
c08ca7ae4e 21 22 2025-09-29 07:40:10 +03:00
Михаил Капелько
631af6b1c2 19 20 2025-09-26 07:17:14 +03:00
Михаил Капелько
8bf4af40e6 17 18 2025-09-25 07:19:13 +03:00
Михаил Капелько
14be5a54d5 15 16 2025-09-24 07:59:02 +03:00
Михаил Капелько
fd767916c0 13 14 2025-09-23 07:30:48 +03:00
Михаил Капелько
f854bb9528 11 12 2025-09-22 07:44:50 +03:00
Михаил Капелько
ff7d583d3c 09 10 2025-09-19 07:57:12 +03:00
Михаил Капелько
7f66860c5b 7 8 2025-09-18 07:59:17 +03:00
Михаил Капелько
656fe72576 5 6 2025-09-17 08:01:11 +03:00
Михаил Капелько
3bf172b47c 3 4 2025-09-16 08:14:37 +03:00
Михаил Капелько
b6f2a18d6d add readme item 2025-09-15 08:26:30 +03:00
Михаил Капелько
06b3cfe2b9 пусто 2025-09-15 08:25:38 +03:00
5ee1e8de8c Car (#10) 2025-09-15 07:25:08 +02:00
33610ea0f3 Apartment (#9) 2025-08-13 07:03:39 +02:00
d2ce67bb18 Interrogation (#8) 2025-08-03 07:25:01 +02:00
d3397fa744 Office (#7) 2025-06-29 06:27:55 +02:00
63bb74debc Fix club's last item (#6) 2025-05-03 06:55:35 +02:00
1fdaeb7951 Club scene (#5) 2025-05-03 06:52:20 +02:00
e884b1f345 Apartment scene (#4) 2025-04-08 06:29:34 +02:00
f7a41e0e94 Street scene (#3) 2025-03-11 05:21:16 +01:00
95089fdcd8 Transcript Hotel scene (#2) 2025-03-04 06:03:47 +01:00
13 changed files with 3901 additions and 51 deletions

View File

@@ -10,6 +10,14 @@
margin-left: 8px;
margin-bottom: 50px;
}
/* Blur transcript by default */
.transcript {
filter: blur(2px);
}
/* Show transcript when holding the mouse over */
.transcript:active {
filter: blur(0px);
}
body {
font-family: sans-serif;
}
@@ -17,16 +25,18 @@
</head>
<body>
</body>
<p><a href="https://www.matrixfans.net/movies/the-matrix/transcript/">Matrix 1 full transcript</a></p>
<!-- Templates -->
<script>
var itemTemplate = `
<div class = "item">
<h3 id="en-%ID%"></h3>
<!--<h1><span id="who-%ID%"></span>: <a id="zh-%ID%" href="https://translate.google.com/?tl=en&text=%ZH%" target="_blank"><a></h1>-->
<h1><span id="who-%ID%"></span>: <a id="zh-%ID%" href="https://www.archchinese.com/chinese_english_dictionary.html?find=%ZH%" target="_blank"><a></h1>
<img id="img-%ID%" />
<p id="zh-%ID%"></p>
<p id="tr-%ID%"></p>
<p><audio id="audio-%ID%" controls autoplay></audio></p>
<p id="en-%ID%"></p>
<p id="tr-%ID%" class="transcript"></p>
<p><audio id="audio-%ID%" style="display: none" controls autoplay></audio></p>
</div>
`
</script>
@@ -35,83 +45,99 @@
<script>
var texts = {
1: {
en: "Cypher: Yeah",
who: "Cypher",
en: "Yeah",
zh: "是我",
tr: "shi wo",
},
2: {
en: "Trinity: Is everything in place?",
who: "Trinity",
en: "Is everything in place?",
zh: "都准备好了吗",
tr: "dou zhunbei hao le ma",
},
3: {
en: "Cypher: You weren't supposed to relieve me",
who: "Cypher",
en: "You weren't supposed to relieve me",
zh: "不该是你接我的班",
tr: "bugai shi ni jie wodeban",
},
4: {
en: "Trinity: I know, but I felt like taking your shift",
who: "Trinity",
en: "I know, but I felt like taking your shift",
zh: "可是我想要接你的班",
tr: "keshi wo xiangyao jie nideban",
},
5: {
en: "Cypher: You like him, dont you? You like watching him",
zh: "你挺喜欢他,想看看他",
tr: "niting xihuan ta, xiang kankan ta",
who: "Cypher",
en: "You like him, dont you? You like watching him",
zh: "你挺喜欢他 想看看他",
tr: "niting xihuan ta xiang kankan ta",
},
6: {
en: "Trinity: Don't be ridiculous",
who: "Trinity",
en: "Don't be ridiculous",
zh: "你别胡扯了",
tr: "nibie huche le",
},
7: {
en: "Cypher: Were going to kill him, do you understand that?",
zh: "他会送命的, 知道吗",
tr: "tahui songming de, zhidao ma",
who: "Cypher",
en: "Were going to kill him, do you understand that?",
zh: "他会送命的 知道吗",
tr: "tahui songming de zhidao ma",
},
8: {
en: "Trinity: Morpheus believes he is The One",
who: "Trinity",
en: "Morpheus believes he is The One",
zh: "莫斐斯认为他最合适",
tr: "mofeisi renwei tazui heshi",
},
9: {
en: "Cypher: Do you?",
who: "Cypher",
en: "Do you?",
zh: "你呢",
tr: "ni ne",
},
10: {
en: "Trinity: It doesnt matter what I believe",
who: "Trinity",
en: "It doesnt matter what I believe",
zh: "我怎么认为无关紧要",
tr: "wo zenme renwei wuguanjinyao",
},
11: {
en: "Cypher: You dont, do you?",
zh: "啊,你不信吧",
who: "Cypher",
en: "You dont, do you?",
zh: "啊 你不信吧",
tr: "a nibu xinba",
},
12: {
en: "Trinity: Did you hear that?",
who: "Trinity",
en: "Did you hear that?",
zh: "你听见什么了吧",
tr: "ni tingjian shenme le ba",
},
13: {
en: "Cypher: Hear what?",
who: "Cypher",
en: "Hear what?",
zh: "什么",
tr: "shenme",
},
14: {
en: "Trinity: Are you sure this line is clean?",
who: "Trinity",
en: "Are you sure this line is clean?",
zh: "你觉得线路没有问题吗",
tr: "ni juede xianlu meiyou wenti ma",
},
15: {
en: "Cypher: Yeah, course Im sure",
who: "Cypher",
en: "Yeah, course Im sure",
zh: "我看没有问题",
tr: "wo kan meiyou wenti",
},
16: {
en: "Trinity: I better go",
zh: "啊,我得挂了",
who: "Trinity",
en: "I better go",
zh: "啊 我得挂了",
tr: "ah wode guale",
},
}
@@ -164,8 +190,26 @@
<!-- Configure the page -->
<script>
// Create items in HTML.
for (var i = 1; i <= 16; ++i) {
document.body.innerHTML += itemTemplate.replaceAll("%ID%", i);
for (var i in texts) {
document.body.innerHTML += itemTemplate
.replaceAll("%ID%", i)
.replaceAll("%ZH%", texts[i]["zh"]);
}
// Assign texts.
for (var i in texts) {
var whoId = "who-" + i;
var enId = "en-" + i;
var zhId = "zh-" + i;
var trId = "tr-" + i;
var who = document.getElementById(whoId);
var en = document.getElementById(enId);
var zh = document.getElementById(zhId);
var tr = document.getElementById(trId);
who.textContent = i + '. ' + texts[i]["who"];
zh.textContent = texts[i]["zh"];
en.textContent = texts[i]["en"];
tr.textContent = texts[i]["tr"];
}
// Assign audios.
@@ -173,6 +217,8 @@
var id = "audio-" + i;
var elem = document.getElementById(id);
elem.src = "data:audio/aac;base64," + b64Audios[i];
// Make item visible to work around default state of being hidden.
elem.style.display = "block";
}
// Assign images.
@@ -181,18 +227,5 @@
var elem = document.getElementById(id);
elem.src = "data:image/jpeg;base64," + b64Images[i];
}
// Assign texts.
for (var i in texts) {
var enId = "en-" + i;
var zhId = "zh-" + i;
var trId = "tr-" + i;
var en = document.getElementById(enId);
var zh = document.getElementById(zhId);
var tr = document.getElementById(trId);
en.textContent = i + '. ' + texts[i]["en"];
zh.textContent = texts[i]["zh"];
tr.textContent = texts[i]["tr"];
}
</script>
</html>

File diff suppressed because one or more lines are too long

199
03.Street.html Normal file

File diff suppressed because one or more lines are too long

410
04.Apartment.html Normal file

File diff suppressed because one or more lines are too long

430
05.Club.html Normal file

File diff suppressed because one or more lines are too long

671
06.Office.html Normal file

File diff suppressed because one or more lines are too long

484
07.Interrogation.html Normal file

File diff suppressed because one or more lines are too long

223
08.Apartment.html Normal file

File diff suppressed because one or more lines are too long

383
09.Car.html Normal file

File diff suppressed because one or more lines are too long

895
10.Lafayette.html Normal file

File diff suppressed because one or more lines are too long

View File

@@ -7,3 +7,12 @@ Each HTML file is freely portable among machines because all images and sounds w
Table of contents:
* 01.Cellular.html
* 02.Hotel.html
* 03.Street.html
* 04.Apartment.html
* 05.Club.html
* 06.Office.html
* 07.Interrogation.html
* 08.Apartment.html
* 09.Car.html
* 10.Lafayette.html

8
util/do-img Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
IMG_DIR=/Users/mk/Movies
magick $IMG_DIR/1.full.jpg -resize x250 $IMG_DIR/1.jpg
magick $IMG_DIR/2.full.jpg -resize x250 $IMG_DIR/2.jpg
base64 -i $IMG_DIR/1.jpg -o /tmp/1
base64 -i $IMG_DIR/2.jpg -o /tmp/2

6
util/do-snd Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -e
SND_DIR=/Users/mk/Movies
base64 -i $SND_DIR/1.aac -o /tmp/1
base64 -i $SND_DIR/2.aac -o /tmp/2