如何制作QQ动态个性名片 | 世外天堂

如何制作QQ动态个性名片

看到很多群友的手机端的全屏名片很好看,于是自己动手制作出了一个属于自己的,要使用DIY名片需开启SVIP,没有的就不用往下看了。
开始教程
准备工具:
1.Xposed框架
2.Adobe After Effects CC+bodymovin(必须CC版本,CS不支持)
3.自定义DIY名片工具,下载地址:https://lanzous.com/ianhi6j

大概就这些关键工具,全部就绪好后开始。
1.安装QQ、Xposed框架、DIY工具等,在Xposed框架中激活DIY名片模块.
2.image_view是静态图片,lottie_view是lottie动画,自行根据需要替换,静态图片很简单,直接上传到图床上,粘贴图片直链就行,视频就比较麻烦,很考验对视频的后期处理能力,这里我建议的导出参数有10帧,281500分辨率(也有297700的),图片序列控制在200张以内(150张以下最佳),一张图保持在20KB-50KB,压缩后的zip应小于5MB,,帧数太高或者分辨率太高可能会导致闪屏或者加载慢,下面来讲视频的处理过程
avatar
3.先把原视频导出成PNG序列,然后在AE中合成PNG,勾选单个合成,序列图层,渲染队列。不用勾,静止持续时间0:00:00:03
avatar
4.窗口->扩展->bodymovin,选择目标路径,开始渲染,生成data.json,data.json的代码就不说了,里面全是动画参数,看也看不懂。
avatar
5.打包image文件夹和data.json成zip格式,上传至云盘,获得直链,复制到type为lottie_view下的content对象里。
avatar
6.在DIY名片插件中粘贴生成JSON代码,重启QQ,登录QQ,任选一张名片再次刷新,自定义名片就生成了。
avatar
DIY名片工具所需JSON代码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"styleId": 22,
"bgId": 3807,
"cardId": 3807,
"renderInfo": {
"bg": [{
"type": "image_view",
"scale_type": "center_crop",
"content": ""
},
{
"type": "mask_view",
"content": "#00000000"
},
{
"loop": "1",
"type": "lottie_view",
"content": "https:\/\/f2.oduuu.com\/2020\/04\/85EA1C0FE9FE52B6-42517345b34cfed1.zip?&‮club.vip.qq.com&\/nxkujvpd\/1337696972qq.zip"
}
],
"v": 2955899127,
"header": {
"width": "fill",
"type": "layout",
"height": "fill",
"order": 0,
"child": [{
"x": "0w",
"width": "99953w",
"y": "99953h",
"id": "2001",
"type": "image_view",
"scale_type": "center_crop",
"content": "https:\/\/club.vip.qq.com\/proxy\/host\/10.198.152.21\/xydata\/card\/customProfileSticker063\/content.png",
"positionLimit": {
"bottom": "75px"
},
"height": "99953w",
"stickerId": 2063
},
{
"gravity": "center_horizontal",
"width": "99953w",
"x": "99953w",
"y": "99953h",
"id": "2002",
"type": "image_view",
"scale_type": "center_crop",
"content": "https:\/\/club.vip.qq.com\/proxy\/host\/10.198.152.21\/xydata\/card\/customProfileSticker\/2068\/content.png?t=1587634874232",
"stickerId": 2068,
"height": "99953w"
},
{
"border": "2002",
"gravity": "center_horizontal",
"x": "99953w",
"y": "99953h",
"id": "1002",
"type": "pf_avatar",
"positionLimit": {
"top": "88px",
"bottom": "88px"
}
},
{
"bg": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3b3678d54ff-name_bg.png",
"f": 0,
"gravity": "center_horizontal",
"x": "99953w",
"width": "6251w",
"y": "99953h",
"id": "1003",
"type": "pf_name",
"positionLimit": {
"top": "88px",
"left": "32px",
"bottom": "120px",
"right": "32px"
},
"ft": 1,
"height": ""
},
{
"lpd": 120000,
"bg": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3b93678d54ff-like.png",
"rpd": 12,
"x": "-36000w",
"y": "0h",
"style": 1,
"id": "1001",
"type": "pf_like",
"positionLimit": {
"top": "88px",
"bottom": "88px"
},
"height": "100050w"
}
]
},
"body": {
"arr": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c0293678d54ff-arr.png",
"c": "#ffffffff",
"f": "qq2955899127",
"t_bg": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3293678d54ff-t_bg.png",
"cpd": 8,
"line": "#FFFFFFFF",
"sbg": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3293678d54ff-sbg.png",
"cbg": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3293678d54ff-cbg.png",
"id": 22,
"type": [{
"qq": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c0293678d54ff-qq.png",
"p": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3293678d54ff-p.png",
"arr": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3b293678d54ff-info_arr.png",
"sign": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c30293678d54ff-sign.png",
"metal": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2bd4853c3b93678d54ff-metal.png",
"lv": "https:\/\/imgcache.qq.com\/xydata\/card\/item\/3807\/r\/dcc6ef2de2853c3b10293678d54ff-lv.png",
"type": "info"
},
{
"type": "exp"
}
],
"ts": 0
}
},
"callback": "__MQQ_CALLBACK_AUTO_7"
}

最终效果:

avatar

其他背景:

火影:
https://f2.oduuu.com/2020/04/85E987EDC14B2809-5dd0e1130589d2b7.zip

轮播:
http://download-pan.mc.0sm.com/pan/260/20200324/5e7a1d77da6ebCLSUFF08(2).zip

胡小白:
https://attachments-cdn.shimo.im/3x68CTC7UwELg2m7/1144527332.zip

小千代:
https://attachments-cdn.shimo.im/3LZmmmQAyGgUZ6DJ/小千代.zip

小白:
https://f2.oduuu.com/2020/04/85E9362CF26B9224-5a096529e797598e.zip

主要就用到这些技术,技术含量也不大,再说JSON数据前辈们已经给你提取出来了,剩下就是粘贴复制的事了