问题描述
我目前正在尝试播放从 After Effects 导出的 JSON 动画,现在支持音频文件。
我使用了我创建的本地 JSON 文件,一个动画完美播放(我说的是动画 f,所以它证明文件正在工作)但它不播放音频。
这是我的 JSON 文件
{
"v": "5.7.6","fr": 30,"ip": 0,"op": 390,"w": 1080,"h": 1920,"nm": "Comp 1","ddd": 0,"assets": [
{
"id": "image_0","w": 597,"h": 676,"u": "images/","p": "img_0.png","e": 0
},{
"id": "audio_0","p": "aud_0.mp3","e": 0
}
],"layers": [
{
"ddd": 0,"ind": 1,"ty": 2,"nm": "magic-Box.png","cl": "png","refId": "image_0","sr": 1,"ks": {
"o": {
"a": 0,"k": 100,"ix": 11
},"r": {
"a": 0,"k": 0,"ix": 10
},"p": {
"a": 0,"k": [
-184,2060,0
],"ix": 2,"l": 2
},"a": {
"a": 0,"k": [
6.5,670,"ix": 1,"s": {
"a": 1,"k": [
{
"i": {
"x": [
0.833,0.833,0.833
],"y": [
0.833,0.833
]
},"o": {
"x": [
0.167,0.167,0.167
],"y": [
0.167,0.167
]
},"t": 20,"s": [
36,36,100
]
},{
"i": {
"x": [
0.833,"t": 30,"s": [
115,115,{
"t": 35,"s": [
100,100,100
]
}
],"ix": 6,"l": 2
}
},"ao": 0,"op": 399,"st": 0,"bm": 0
},{
"ddd": 0,"ind": 19,"ty": 6,"nm": "James holden - Lump [pleer.com].mp3","cl": "mp3","refId": "audio_0","au": {
"lv": {
"a": 0,"k": [
0,"ix": 1
}
},"op": 391.05306122449,"bm": 0
}
],"markers": []
]
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)