Ethscriptions commited on
Commit
c607039
·
verified ·
1 Parent(s): a591a39

Set 8 (10.22–10.29 国内热点 9 词): manifest, items/credits, scripts, base photos — sync 1/2

Browse files
README.md CHANGED
@@ -9,9 +9,26 @@ pinned: false
9
 
10
  # 这个用英语怎么说?· 热点事件英语实况图
11
 
12
- 参考 [Ethscriptions/eths](https://huggingface.co/spaces/Ethscriptions/eths) 的制作流程(Pillow 逐帧渲染 → ffmpeg 编码 → 写入苹果实况配对标识),面向 **雅思 / 托福考生、留学生、年轻职场人**,目前共三组 27 张带声音的苹果实况照片(JPG + MOV,全部 ≤ 3 秒,微信朋友圈兼容)。
13
 
14
- ## 第七组:本周国内社会热点里的 9 个词(2026-10-25 新增)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  选词原则:**词本身就是最近一周国内社会热搜事件的核心词**,同时是雅思 / 托福 / 留学 / 年轻职场人群会直接碰到、却很难一下想起英文的人 / 事 / 物。
17
 
 
9
 
10
  # 这个用英语怎么说?· 热点事件英语实况图
11
 
12
+ 参考 [Ethscriptions/eths](https://huggingface.co/spaces/Ethscriptions/eths) 的制作流程(Pillow 逐帧渲染 → ffmpeg 编码 → 写入苹果实况配对标识),面向 **雅思 / 托福考生、留学生、年轻职场人**,目前共四组 36 张带声音的苹果实况照片(JPG + MOV,全部 ≤ 3 秒,微信朋友圈兼容)。
13
 
14
+ ## 第八组:本周国内社会热点里的 9 个词(10.22–10.29,2026-10-29 新增)
15
+
16
+ | # | 中文 | 英文 | 音标 | 类别 | 对应国内热点 | 底图 |
17
+ | --- | --- | --- | --- | --- | --- | --- |
18
+ | 70 | 代言 | **endorsement** | /ɪnˈdɔːrsmənt/ | 事 | 10/27 蒙牛、东鹏等终止与姆巴佩合作,姆巴佩道歉 | AI 生成 |
19
+ | 71 | 联名 | **collab** | /kəˈlæb/ | 物 | 10/28 三丽鸥因《VIVANT》联名致歉并终止合作 | AI 生成 |
20
+ | 72 | 抵制 | **boycott** | /ˈbɔɪkɑːt/ | 事 | 姆巴佩、三丽鸥两起事件引发抵制,品牌下架物料 | Commons 实拍(Dough4872,CC BY-SA 4.0) |
21
+ | 73 | 挑山工 | **porter** | /ˈpɔːrtər/ | 人 | 10/26 机器狗背 100 多斤爬泰山 1 小时到中天门 | AI 生成 |
22
+ | 74 | 同比 | **year-on-year** | /ˌjɪr ɑːn ˈjɪr/ | 事 | 前三季度 GDP 同比 4.6%,10/29 外媒质疑数据 | Commons 实拍(Phlizz,CC BY-SA 4.0) |
23
+ | 75 | 医美 | **cosmetic surgery** | /kɑːzˈmetɪk ˈsɜːrdʒəri/ | 事 | 10/24 热搜第一:奥美定隆胸 20 年后变质取出 800mL | AI 生成 |
24
+ | 76 | 辅助驾驶 | **driver assistance** | /ˈdraɪvər əˈsɪstəns/ | 物 | 10/26 华为乾崑智驾公开赛报名,超十万人报名 | AI 生成 |
25
+ | 77 | 展会 / 交易会 | **trade fair** | /ˈtreɪd fer/ | 物 | 10/27 第 140 届广交会第二期收官 | Commons 实拍(Nissangeniss,CC BY-SA 4.0) |
26
+ | 78 | 资格 | **eligibility** | /ˌelɪdʒəˈbɪləti/ | 事 | 10/26 国考 345 万人通过资格审查,97:1 | AI 生成 |
27
+
28
+ - 下载包:`live/china-hot-topics-week2-live-photos.zip`(9 对同名 JPG + MOV + 使用说明)
29
+ - 清单:`pack8.json`;脚本 `source/studio/items8.json`、`find8.py`、`package8.py`
30
+
31
+ ## 第七组:上周国内社会热点里的 9 个词(2026-10-25 新增)
32
 
33
  选词原则:**词本身就是最近一周国内社会热搜事件的核心词**,同时是雅思 / 托福 / 留学 / 年轻职场人群会直接碰到、却很难一下想起英文的人 / 事 / 物。
34
 
pack8.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "h",
3
+ "name": "第八组 · 本周国内社会热点里的 9 个词(10.22–10.29)",
4
+ "zip": "china-hot-topics-week2-live-photos.zip",
5
+ "zipMB": 45.1,
6
+ "items": [
7
+ {
8
+ "id": "70",
9
+ "index": 1,
10
+ "zh": "代言",
11
+ "en": "endorsement",
12
+ "ipa": "/ɪnˈdɔːrsmənt/",
13
+ "pos": "n.",
14
+ "cat": "事",
15
+ "hook": "10月27日蒙牛、东鹏饮料、妙可蓝多等品牌宣布终止与姆巴佩的全部合作,姆巴佩随后道歉",
16
+ "source": "ai",
17
+ "duration": 3.0,
18
+ "cover": "cover_70.jpg",
19
+ "final": "final_70.jpg",
20
+ "preview": "preview_70.mp4",
21
+ "identifier": "618919A4-37DF-42A5-8899-F373691C00B8",
22
+ "file": "LIVE_70_endorsement"
23
+ },
24
+ {
25
+ "id": "71",
26
+ "index": 2,
27
+ "zh": "联名",
28
+ "en": "collab",
29
+ "ipa": "/kəˈlæb/",
30
+ "pos": "n.",
31
+ "cat": "物",
32
+ "hook": "10月28日三丽鸥因与日剧《VIVANT》联名引发抵制,深夜致歉并终止全部联名合作",
33
+ "source": "ai",
34
+ "duration": 3.0,
35
+ "cover": "cover_71.jpg",
36
+ "final": "final_71.jpg",
37
+ "preview": "preview_71.mp4",
38
+ "identifier": "9AA1F1D8-9B75-4A6A-965C-31A5E67CC4DC",
39
+ "file": "LIVE_71_collab"
40
+ },
41
+ {
42
+ "id": "72",
43
+ "index": 3,
44
+ "zh": "抵制",
45
+ "en": "boycott",
46
+ "ipa": "/ˈbɔɪkɑːt/",
47
+ "pos": "v./n.",
48
+ "cat": "事",
49
+ "hook": "本周姆巴佩与三丽鸥两起事件均在国内引发大规模抵制,品牌解约、下架宣传物料",
50
+ "source": "wikimedia",
51
+ "duration": 3.0,
52
+ "cover": "cover_72.jpg",
53
+ "final": "final_72.jpg",
54
+ "preview": "preview_72.mp4",
55
+ "identifier": "18A295CB-E29F-4D70-8000-1D02E3467DA6",
56
+ "file": "LIVE_72_boycott"
57
+ },
58
+ {
59
+ "id": "73",
60
+ "index": 4,
61
+ "zh": "挑山工",
62
+ "en": "porter",
63
+ "ipa": "/ˈpɔːrtər/",
64
+ "pos": "n.",
65
+ "cat": "人",
66
+ "hook": "10月26日首届世界机器人登泰山大赛排位赛:机器狗背负100多斤物资1小时登上中天门,速度超过游客",
67
+ "source": "ai",
68
+ "duration": 3.0,
69
+ "cover": "cover_73.jpg",
70
+ "final": "final_73.jpg",
71
+ "preview": "preview_73.mp4",
72
+ "identifier": "FE7514E5-B6FF-44F3-9860-7B3818FBA28E",
73
+ "file": "LIVE_73_porter"
74
+ },
75
+ {
76
+ "id": "74",
77
+ "index": 5,
78
+ "zh": "同比",
79
+ "en": "year-on-year",
80
+ "ipa": "/ˌjɪr ɑːn ˈjɪr/",
81
+ "pos": "adj.",
82
+ "cat": "事",
83
+ "hook": "前三季度GDP同比增长4.6%、增量5.7万亿元创近五年最大;10月29日外媒再质疑数据口径",
84
+ "source": "wikimedia",
85
+ "duration": 3.0,
86
+ "cover": "cover_74.jpg",
87
+ "final": "final_74.jpg",
88
+ "preview": "preview_74.mp4",
89
+ "identifier": "FFA734CF-4A74-44EA-ACC1-A3B28BB07574",
90
+ "file": "LIVE_74_year-on-year"
91
+ },
92
+ {
93
+ "id": "75",
94
+ "index": 6,
95
+ "zh": "医美",
96
+ "en": "cosmetic surgery",
97
+ "ipa": "/kɑːzˈmetɪk ˈsɜːrdʒəri/",
98
+ "pos": "n.",
99
+ "cat": "事",
100
+ "hook": "10月24日热搜第一:南京女子20多年前注射奥美定隆胸,近期变质取出近800mL",
101
+ "source": "ai",
102
+ "duration": 2.77,
103
+ "cover": "cover_75.jpg",
104
+ "final": "final_75.jpg",
105
+ "preview": "preview_75.mp4",
106
+ "identifier": "D0E4E84B-EC93-4CA6-B0E3-015BBDA098FC",
107
+ "file": "LIVE_75_cosmetic-surgery"
108
+ },
109
+ {
110
+ "id": "76",
111
+ "index": 7,
112
+ "zh": "辅助驾驶",
113
+ "en": "driver assistance",
114
+ "ipa": "/ˈdraɪvər əˈsɪstəns/",
115
+ "pos": "n.",
116
+ "cat": "物",
117
+ "hook": "10月26日第二届华为乾崑智驾公开赛开启报名,超十万人报名登上热搜,10月31日开赛",
118
+ "source": "ai",
119
+ "duration": 2.73,
120
+ "cover": "cover_76.jpg",
121
+ "final": "final_76.jpg",
122
+ "preview": "preview_76.mp4",
123
+ "identifier": "36FE9109-99FA-4539-BA35-CABDA7B9857A",
124
+ "file": "LIVE_76_driver-assistance"
125
+ },
126
+ {
127
+ "id": "77",
128
+ "index": 8,
129
+ "zh": "展会 / 交易会",
130
+ "en": "trade fair",
131
+ "ipa": "/ˈtreɪd fer/",
132
+ "pos": "n.",
133
+ "cat": "物",
134
+ "hook": "10月27日第140届广交会第二期圆满收官,第三期10月31日开幕",
135
+ "source": "wikimedia",
136
+ "duration": 3.0,
137
+ "cover": "cover_77.jpg",
138
+ "final": "final_77.jpg",
139
+ "preview": "preview_77.mp4",
140
+ "identifier": "2B565EFF-42E2-4854-BA0B-AD0FF4AA7E84",
141
+ "file": "LIVE_77_trade-fair"
142
+ },
143
+ {
144
+ "id": "78",
145
+ "index": 9,
146
+ "zh": "资格",
147
+ "en": "eligibility",
148
+ "ipa": "/ˌelɪdʒəˈbɪləti/",
149
+ "pos": "n.",
150
+ "cat": "事",
151
+ "hook": "10月26日2027国考报名收官:345万人通过资格审查,平均97人竞争一个岗位",
152
+ "source": "ai",
153
+ "duration": 3.0,
154
+ "cover": "cover_78.jpg",
155
+ "final": "final_78.jpg",
156
+ "preview": "preview_78.mp4",
157
+ "identifier": "F9744C4C-D9EC-4A6F-968F-1C1AFFEE7FE9",
158
+ "file": "LIVE_78_eligibility"
159
+ }
160
+ ],
161
+ "copy": {
162
+ "title": "姆巴佩解约、三丽鸥联名翻车、机器狗爬泰山、国考97:1……这 9 个热搜词你会用英语说吗?",
163
+ "body": "这一周国内热搜你肯定刷到过:姆巴佩被蒙牛、东鹏集体解约后道歉、三丽鸥联名《VIVANT》深夜致歉、机器狗背 100 斤爬泰山比挑山工还快��三季度 GDP 同比 4.6%、奥美定隆胸 20 年后变质、华为智驾公开赛十万人报名、广交会第二期收官、国考 345 万人通过资格审查……中文天天说,换成英文你能马上说出来吗👀\n先看封面猜一猜,再长按实况看答案(记得开声音🔊)\n评论区报一下你答对了几个~\n\n代言 / 联名 / 抵制 / 挑山工 / 同比 / 医美 / 辅助驾驶 / 展会 / 交易会 / 资格\n\n图片来源:3 张为 Wikimedia Commons 授权照片(作者与授权见素材包内说明),6 张为 AI 生成\n\n#雅思 #托福 #留学 #留学生 #职场英语 #新闻英语 #英语单词 #实况图 #每日英语 #英语学习 #热搜"
164
+ },
165
+ "credits": [
166
+ {
167
+ "id": "72",
168
+ "zh": "抵制",
169
+ "en": "boycott",
170
+ "author": "Dough4872",
171
+ "license": "CC BY-SA 4.0",
172
+ "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0",
173
+ "page": "https://commons.wikimedia.org/wiki/File:Empty_toilet_paper_shelves_during_COVID-19_pandemic_at_Weis_Markets_in_Huntingdon_Valley_PA.jpg",
174
+ "file": "Empty toilet paper shelves during COVID-19 pandemic at Weis Markets in Huntingdon Valley PA.jpg"
175
+ },
176
+ {
177
+ "id": "74",
178
+ "zh": "同比",
179
+ "en": "year-on-year",
180
+ "author": "Phlizz",
181
+ "license": "CC BY-SA 4.0",
182
+ "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0",
183
+ "page": "https://commons.wikimedia.org/wiki/File:Lujiazui_Skyline_(Night).jpg",
184
+ "file": "Lujiazui Skyline (Night).jpg"
185
+ },
186
+ {
187
+ "id": "77",
188
+ "zh": "展会 / 交易会",
189
+ "en": "trade fair",
190
+ "author": "Nissangeniss",
191
+ "license": "CC BY-SA 4.0",
192
+ "licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0",
193
+ "page": "https://commons.wikimedia.org/wiki/File:Zone_D_of_Canton_Fair_Complex_20230103_Part_5.jpg",
194
+ "file": "Zone D of Canton Fair Complex 20230103 Part 5.jpg"
195
+ }
196
+ ]
197
+ }
source/photos/72_pick.jpg ADDED

Git LFS Details

  • SHA256: 04e122b914e5180f5ad89c30dea84a751763d7d352f76f824c793e363397b1df
  • Pointer size: 131 Bytes
  • Size of remote file: 926 kB
source/photos/74_pick.jpg ADDED

Git LFS Details

  • SHA256: 0a9223b875e2334d26f9e93dd10193488331df16e926bd76d9b3397ab408883e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.13 MB
source/photos/77_pick.jpg ADDED

Git LFS Details

  • SHA256: 1a73014592f8b7c3089157b1f34a7998c9af7ece075ffa31d438d4bbd9a4f468
  • Pointer size: 132 Bytes
  • Size of remote file: 1.15 MB
source/photos/live-collab.png ADDED

Git LFS Details

  • SHA256: d7fc70a1aa1454be66e7e65e293b54094a6a648466c35acd02c31a21f8a37937
  • Pointer size: 132 Bytes
  • Size of remote file: 2.2 MB
source/photos/live-cosmetic-surgery.png ADDED

Git LFS Details

  • SHA256: 166e6797861e07eee2a40b75e8fc327050dca1031077e81af06d4b50cff7a2db
  • Pointer size: 132 Bytes
  • Size of remote file: 2.02 MB
source/photos/live-driver-assistance.png ADDED

Git LFS Details

  • SHA256: 0cb19b7139670789985935336b2b4a156b03ac695004a6809e05494cbc4ddb45
  • Pointer size: 132 Bytes
  • Size of remote file: 1.77 MB
source/photos/live-eligibility.png ADDED

Git LFS Details

  • SHA256: 5580d8db6e4db6c7995d6fffd45970f164318d469cef39cfa4130f8eb3b01d2b
  • Pointer size: 132 Bytes
  • Size of remote file: 2.21 MB
source/photos/live-endorsement.png ADDED

Git LFS Details

  • SHA256: 5b66879069767a4f13ff03b3dba52507477f9d46dfc5adb13b567347e13d0ce8
  • Pointer size: 132 Bytes
  • Size of remote file: 2.43 MB
source/photos/live-porter.png ADDED

Git LFS Details

  • SHA256: 469c6e9976ab63e2b8f15374678ba803fa21b62e47046e8c0594e988d600703a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.94 MB
source/studio/credits8.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "72",
4
+ "zh": "抵制",
5
+ "en": "boycott",
6
+ "file": "Empty toilet paper shelves during COVID-19 pandemic at Weis Markets in Huntingdon Valley PA.jpg",
7
+ "page": "https://commons.wikimedia.org/wiki/File:Empty_toilet_paper_shelves_during_COVID-19_pandemic_at_Weis_Markets_in_Huntingdon_Valley_PA.jpg",
8
+ "author": "Dough4872",
9
+ "license": "CC BY-SA 4.0",
10
+ "license_url": "https://creativecommons.org/licenses/by-sa/4.0",
11
+ "size": "4032x3024"
12
+ },
13
+ {
14
+ "id": "74",
15
+ "zh": "同比",
16
+ "en": "year-on-year",
17
+ "file": "Lujiazui Skyline (Night).jpg",
18
+ "page": "https://commons.wikimedia.org/wiki/File:Lujiazui_Skyline_(Night).jpg",
19
+ "author": "Phlizz",
20
+ "license": "CC BY-SA 4.0",
21
+ "license_url": "https://creativecommons.org/licenses/by-sa/4.0",
22
+ "size": "6000x4000"
23
+ },
24
+ {
25
+ "id": "77",
26
+ "zh": "展会 / 交易会",
27
+ "en": "trade fair",
28
+ "file": "Zone D of Canton Fair Complex 20230103 Part 5.jpg",
29
+ "page": "https://commons.wikimedia.org/wiki/File:Zone_D_of_Canton_Fair_Complex_20230103_Part_5.jpg",
30
+ "author": "Nissangeniss",
31
+ "license": "CC BY-SA 4.0",
32
+ "license_url": "https://creativecommons.org/licenses/by-sa/4.0",
33
+ "size": "4608x3072"
34
+ }
35
+ ]
source/studio/find8.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Search Wikimedia Commons for CC-licensed photos per item, download thumbs, build contact sheets."""
2
+ import io, json, os, re, sys, urllib.parse, urllib.request
3
+ from concurrent.futures import ThreadPoolExecutor
4
+ from PIL import Image, ImageDraw, ImageFont
5
+ ITEMS = json.load(open('/tmp/work/studio/items8.json'))
6
+ OUT = '/tmp/work/cands'
7
+ UA = {'User-Agent': 'LiveWordsStudio/1.0 (https://huggingface.co/spaces/Ethscriptions/pols; educational)'}
8
+ def get(url, timeout=60):
9
+ return urllib.request.urlopen(urllib.request.Request(url, headers=UA), timeout=timeout).read()
10
+ def strip(h): return re.sub(r'<[^>]+>', '', h or '').strip()
11
+ def commons(q):
12
+ p = urllib.parse.urlencode({'action':'query','format':'json','generator':'search','gsrsearch':f'{q} filetype:bitmap','gsrnamespace':6,'gsrlimit':30,'prop':'imageinfo','iiprop':'url|size|extmetadata|mime','iiurlwidth':400})
13
+ d = json.loads(get('https://commons.wikimedia.org/w/api.php?'+p))
14
+ out=[]
15
+ for pg in d.get('query',{}).get('pages',{}).values():
16
+ ii=(pg.get('imageinfo') or [{}])[0]
17
+ if ii.get('mime') not in ('image/jpeg','image/png'): continue
18
+ md=ii.get('extmetadata',{})
19
+ out.append(dict(id=pg['pageid'], title=pg['title'].replace('File:',''), author=strip(md.get('Artist',{}).get('value'))[:80], license=strip(md.get('LicenseShortName',{}).get('value')), license_url=md.get('LicenseUrl',{}).get('value'), page=ii.get('descriptionurl'), url=ii.get('url'), thumb=ii.get('thumburl'), w=ii.get('width'), h=ii.get('height')))
20
+ return out
21
+ def ok(l):
22
+ l=(l or '').lower()
23
+ return any(k in l for k in ('cc0','public domain','cc by','cc-by','pdm')) and '-nc' not in l and ' nc' not in l and '-nd' not in l and ' nd' not in l
24
+ want = sys.argv[1].split(',') if len(sys.argv)>1 else None
25
+ for it in ITEMS:
26
+ if want and it['id'] not in want: continue
27
+ cands, seen = [], set()
28
+ for q in it['q']:
29
+ try: res = commons(q)
30
+ except Exception as e: print('err', q, e); continue
31
+ for c in res:
32
+ if c['id'] in seen or not ok(c['license']) or not c['w'] or min(c['w'],c['h'])<900: continue
33
+ seen.add(c['id']); c['q']=q; cands.append(c)
34
+ cands = cands[:24]
35
+ def fetch(c):
36
+ try: return Image.open(io.BytesIO(get(c['thumb'],40))).convert('RGB')
37
+ except Exception: return None
38
+ with ThreadPoolExecutor(8) as ex: imgs=list(ex.map(fetch,cands))
39
+ cols=6; cw,chh=300,300
40
+ rows=(len(cands)+cols-1)//cols or 1
41
+ sheet=Image.new('RGB',(cols*cw,rows*(chh+30)),'white'); d=ImageDraw.Draw(sheet)
42
+ f=ImageFont.truetype('/tmp/work/fonts/NotoSans.ttf',16)
43
+ meta=[]
44
+ for k,(c,im) in enumerate(zip(cands,imgs)):
45
+ if im is None: continue
46
+ im.thumbnail((cw-6,chh-6)); x=(k%cols)*cw; y=(k//cols)*(chh+30)
47
+ sheet.paste(im,(x+3,y+3)); d.text((x+4,y+chh+2),f"#{k} {c['w']}x{c['h']} {c['license'][:12]}",font=f,fill='black')
48
+ meta.append(dict(k=k,**c))
49
+ sheet.save(f"{OUT}/{it['id']}_sheet.jpg",quality=80)
50
+ json.dump(meta,open(f"{OUT}/{it['id']}_cands.json",'w'),ensure_ascii=False,indent=1)
51
+ print(it['id'],it['en'],len(meta),'cands')
source/studio/items8.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "70",
4
+ "zh": "代言",
5
+ "en": "endorsement",
6
+ "ipa": "/ɪnˈdɔːrsmənt/",
7
+ "pos": "n.",
8
+ "cat": "事",
9
+ "hook": "10月27日蒙牛、东鹏饮料、妙可蓝多等品牌宣布终止与姆巴佩的全部合作,姆巴佩随后道歉",
10
+ "q": [
11
+ "billboard advertisement athlete",
12
+ "football stadium advertising boards",
13
+ "sports sponsor billboard street"
14
+ ],
15
+ "tts": "endorsement",
16
+ "card_y": 1130
17
+ },
18
+ {
19
+ "id": "71",
20
+ "zh": "联名",
21
+ "en": "collab",
22
+ "ipa": "/kəˈlæb/",
23
+ "pos": "n.",
24
+ "cat": "物",
25
+ "hook": "10月28日三丽鸥因与日剧《VIVANT》联名引发抵制,深夜致歉并终止全部联名合作",
26
+ "q": [
27
+ "Hello Kitty merchandise store shelf",
28
+ "Sanrio shop display",
29
+ "character goods store Tokyo"
30
+ ],
31
+ "tts": "collab",
32
+ "card_y": 1130
33
+ },
34
+ {
35
+ "id": "72",
36
+ "zh": "抵制",
37
+ "en": "boycott",
38
+ "ipa": "/ˈbɔɪkɑːt/",
39
+ "pos": "v./n.",
40
+ "cat": "事",
41
+ "hook": "本周姆巴佩与三丽鸥两起事件均在国内引发大规模抵制,品牌解约、下架宣传物料",
42
+ "q": [
43
+ "empty supermarket shelf removed products",
44
+ "products removed from shelves store",
45
+ "shop shelf empty"
46
+ ],
47
+ "tts": "boycott",
48
+ "card_y": 1130
49
+ },
50
+ {
51
+ "id": "73",
52
+ "zh": "挑山工",
53
+ "en": "porter",
54
+ "ipa": "/ˈpɔːrtər/",
55
+ "pos": "n.",
56
+ "cat": "人",
57
+ "hook": "10月26日首届世界机器人登泰山大赛排位赛:机器狗背负100多斤物资1小时登上中天门,速度超过游客",
58
+ "q": [
59
+ "Mount Tai porter carrying goods",
60
+ "泰山 挑山工",
61
+ "Huangshan porter carrying pole stairs"
62
+ ],
63
+ "tts": "porter",
64
+ "card_y": 1130
65
+ },
66
+ {
67
+ "id": "74",
68
+ "zh": "同比",
69
+ "en": "year-on-year",
70
+ "ipa": "/ˌjɪr ɑːn ˈjɪr/",
71
+ "pos": "adj.",
72
+ "cat": "事",
73
+ "hook": "前三季度GDP同比增长4.6%、增量5.7万亿元创近五年最大;10月29日外媒再质疑数据口径",
74
+ "q": [
75
+ "stock market screen Shanghai",
76
+ "financial charts screen office",
77
+ "Lujiazui skyline Shanghai"
78
+ ],
79
+ "tts": "year on year",
80
+ "card_y": 330
81
+ },
82
+ {
83
+ "id": "75",
84
+ "zh": "医美",
85
+ "en": "cosmetic surgery",
86
+ "ipa": "/kɑːzˈmetɪk ˈsɜːrdʒəri/",
87
+ "pos": "n.",
88
+ "cat": "事",
89
+ "hook": "10月24日热搜第一:南京女子20多年前注射奥美定隆胸,近期变质取出近800mL",
90
+ "q": [
91
+ "cosmetic surgery clinic consultation",
92
+ "dermatology clinic treatment room",
93
+ "aesthetic clinic injection face"
94
+ ],
95
+ "tts": "cosmetic surgery",
96
+ "card_y": 1130
97
+ },
98
+ {
99
+ "id": "76",
100
+ "zh": "辅助驾驶",
101
+ "en": "driver assistance",
102
+ "ipa": "/ˈdraɪvər əˈsɪstəns/",
103
+ "pos": "n.",
104
+ "cat": "物",
105
+ "hook": "10月26日第二届华为乾崑智驾公开赛开启报名,超十万人报名登上热搜,10月31日开赛",
106
+ "q": [
107
+ "car dashboard driver assistance display highway",
108
+ "steering wheel hands free highway",
109
+ "Tesla autopilot screen"
110
+ ],
111
+ "tts": "driver assistance",
112
+ "card_y": 1130
113
+ },
114
+ {
115
+ "id": "77",
116
+ "zh": "展会 / 交易会",
117
+ "en": "trade fair",
118
+ "ipa": "/ˈtreɪd fer/",
119
+ "pos": "n.",
120
+ "cat": "物",
121
+ "hook": "10月27日第140届广交会第二期圆满收官,第三期10月31日开幕",
122
+ "q": [
123
+ "Canton Fair exhibition hall",
124
+ "广交会 展馆",
125
+ "trade fair exhibition booths visitors"
126
+ ],
127
+ "tts": "trade fair",
128
+ "card_y": 1130
129
+ },
130
+ {
131
+ "id": "78",
132
+ "zh": "资格",
133
+ "en": "eligibility",
134
+ "ipa": "/ˌelɪdʒəˈbɪləti/",
135
+ "pos": "n.",
136
+ "cat": "事",
137
+ "hook": "10月26日2027国考报名收官:345万人通过资格审查,平均97人竞争一个岗位",
138
+ "q": [
139
+ "application form checklist pen",
140
+ "document checklist approved stamp",
141
+ "form filling pen desk"
142
+ ],
143
+ "tts": "eligibility",
144
+ "card_y": 1130
145
+ }
146
+ ]
source/studio/package8.py ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Pair rendered clips as Apple Live Photos (JPG + MOV, with audio), build web previews, ZIP and manifest for set 5."""
2
+ import json, os, shutil, subprocess, sys, zipfile
3
+ sys.path.insert(0, os.path.dirname(__file__))
4
+ from pair_live_photo import pair
5
+
6
+ OUT = '/tmp/work/out'
7
+ PUB = '/tmp/work/site/live'
8
+ SET = dict(key='h', items='items8.json', credits='credits8.json',
9
+ name='第八组 · 本周国内社会热点里的 9 个词(10.22–10.29)',
10
+ folder='国内热点英语实况图-第八组', zip='china-hot-topics-week2-live-photos.zip',
11
+ title='姆巴佩解约、三丽鸥联名翻车、机器狗爬泰山、国考97:1……这 9 个热搜词你会用英语说吗?',
12
+ intro='这一周国内热搜你肯定刷到过:姆巴佩被蒙牛、东鹏集体解约后道歉、三丽鸥联名《VIVANT》深夜致歉、机器狗背 100 斤爬泰山比挑山工还快、三季度 GDP 同比 4.6%、奥美定隆胸 20 年后变质、华为智驾公开赛十万人报名、广交会第二期收官、国考 345 万人通过资格审查……中文天天说,换成英文你能马上说出来吗👀',
13
+ tags='#雅思 #托福 #留学 #留学生 #职场英语 #新闻英语 #英语单词 #实况图 #每日英语 #英语学习 #热搜')
14
+
15
+ README = """国内热点英语 · 实况图素材包({n} 张)
16
+
17
+ 每张实况图 = 一对同名的 .JPG + .MOV(例如 {example}.JPG / {example}.MOV)。
18
+ 两个文件里写入了相同的苹果实况标识,视频带声音(英语发音 + 音效),全部 ≤ 3 秒,可发微信朋友圈 / 小红书 / 抖音图文。
19
+
20
+ Mac 导入方法:
21
+ 1. 解压本压缩包;
22
+ 2. 全选全部 JPG 和 MOV,一起拖进「照片」App(或 照片 → 文件 → 导入);
23
+ 3. 照片会把每一对识别为一张 LIVE 实况照片;
24
+ 4. 通过 iCloud 照片或隔空投送到 iPhone,发图文时选择这些照片并保持「实况」开启。
25
+
26
+ 注意:JPG 和 MOV 必须成对导入;不要用其他软件重新转码 MOV,否则会丢失配对信息。
27
+ 尺寸 1080×1440(3:4 竖屏),30fps,H.264 + AAC。
28
+
29
+ 建议标题:{title}
30
+
31
+ 建议正文:
32
+ {body}
33
+
34
+ 图片来源:
35
+ {credits}
36
+ """
37
+
38
+
39
+ def main():
40
+ items = json.load(open(os.path.join(os.path.dirname(__file__), SET['items'])))
41
+ credits = json.load(open(os.path.join(os.path.dirname(__file__), SET['credits'])))
42
+ cmap = {c['id']: c for c in credits}
43
+ dist = f"/tmp/work/dist/{SET['folder']}"
44
+ shutil.rmtree(dist, ignore_errors=True); os.makedirs(dist); os.makedirs(PUB, exist_ok=True)
45
+ out_items = []
46
+ for k, it in enumerate(items, 1):
47
+ d = os.path.join(OUT, it['id'])
48
+ meta = json.load(open(os.path.join(d, 'render.json')))
49
+ live = os.path.join(d, 'live'); shutil.rmtree(live, ignore_errors=True)
50
+ m = pair(os.path.join(d, 'cover.jpg'), os.path.join(d, 'motion.mp4'), live, meta['coverTime'], meta['fps'])
51
+ assert m['metadataVerified'], m
52
+ base = f"LIVE_{it['id']}_{it['en'].replace(' ', '-')}"
53
+ shutil.copy(os.path.join(live, 'live.jpg'), os.path.join(dist, base + '.JPG'))
54
+ shutil.copy(os.path.join(live, 'live.mov'), os.path.join(dist, base + '.MOV'))
55
+ subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', os.path.join(d, 'cover.jpg'), '-vf', 'scale=720:-2', '-q:v', '3', os.path.join(PUB, f"cover_{it['id']}.jpg")], check=True)
56
+ subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', os.path.join(d, 'final.jpg'), '-vf', 'scale=720:-2', '-q:v', '3', os.path.join(PUB, f"final_{it['id']}.jpg")], check=True)
57
+ subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', os.path.join(d, 'motion.mp4'), '-vf', 'scale=720:-2', '-c:v', 'libx264', '-crf', '24', '-preset', 'medium', '-pix_fmt', 'yuv420p', '-c:a', 'aac', '-b:a', '128k', '-movflags', '+faststart', os.path.join(PUB, f"preview_{it['id']}.mp4")], check=True)
58
+ src = 'wikimedia' if it['id'] in cmap else 'ai'
59
+ out_items.append({'id': it['id'], 'index': k, 'zh': it['zh'], 'en': it['en'], 'ipa': it['ipa'], 'pos': it['pos'], 'cat': it['cat'], 'hook': it['hook'],
60
+ 'source': src, 'duration': round(meta['duration'], 2), 'cover': f"cover_{it['id']}.jpg", 'final': f"final_{it['id']}.jpg",
61
+ 'preview': f"preview_{it['id']}.mp4", 'identifier': m['identifier'], 'file': base})
62
+ print('paired', base, m['identifier'], flush=True)
63
+ body = (SET['intro'] + '\n先看封面猜一猜,再长按实况看答案(记得开声音🔊)\n评论区报一下你答对了几个~\n\n'
64
+ + ' / '.join(i['zh'] for i in items) + '\n\n图片来源:3 张为 Wikimedia Commons 授权照片(作者与授权见素材包内说明),6 张为 AI 生成\n\n' + SET['tags'])
65
+ cred_txt = '\n'.join(f"- {c['zh']} / {c['en']}: 「{c['file']}」 by {c['author']} · {c['license']} · {c['page']}" for c in credits) + '\n- 其余 6 张(代言 / 联名 / 挑山工 / 医美 / 辅助驾驶 / 资格)为 AI 生成图片'
66
+ open(os.path.join(dist, '使用说明.txt'), 'w', encoding='utf-8').write(README.format(n=len(items), example=f"LIVE_{items[0]['id']}_{items[0]['en']}", title=SET['title'], body=body, credits=cred_txt))
67
+ zp = os.path.join(PUB, SET['zip'])
68
+ with zipfile.ZipFile(zp, 'w', zipfile.ZIP_STORED) as z:
69
+ for f in sorted(os.listdir(dist)):
70
+ z.write(os.path.join(dist, f), f"{SET['folder']}/{f}")
71
+ manifest = {'key': SET['key'], 'name': SET['name'], 'zip': SET['zip'], 'zipMB': round(os.path.getsize(zp) / 1e6, 1), 'items': out_items,
72
+ 'copy': {'title': SET['title'], 'body': body},
73
+ 'credits': [{'id': c['id'], 'zh': c['zh'], 'en': c['en'], 'author': c['author'], 'license': c['license'], 'licenseUrl': c.get('license_url') or '', 'page': c['page'], 'file': c['file']} for c in credits]}
74
+ json.dump(manifest, open('/tmp/work/site/pack8.json', 'w'), ensure_ascii=False, indent=1)
75
+ print('zip MB', manifest['zipMB'])
76
+
77
+
78
+ if __name__ == '__main__':
79
+ main()