Skip to content

Instantly share code, notes, and snippets.

@anovikov1984
Created December 29, 2019 10:33
Show Gist options
  • Save anovikov1984/9c545e635b99e30927fc9c963df75361 to your computer and use it in GitHub Desktop.
Save anovikov1984/9c545e635b99e30927fc9c963df75361 to your computer and use it in GitHub Desktop.
{
"options": {
"basicWidth": 1280,
"basicHeight": 720,
"frameRate": 30,
"path": "/tmp/codeda/test.mp4"
},
"items": [
{
"layer": 1,
"source": "/tmp/codeda/input1.mp4",
"width": 1280,
"height": 720,
"innerEnd":12000,
"startPoint": {
"time": -5000,
"relativeTo": 1,
"cue": 1
},
"transitions":[
{
"duration":5000,
"start":0,
"items":[
{
"type": 0,
"from":0,
"to":1
},
{
"type": 1,
"from":-1,
"to":0
},{
"type": 2,
"from":1,
"to":0
}
]
}
]
},
{
"layer": 0,
"innerEnd":10000,
"width": 1280,
"height": 720,
"source": "/tmp/codeda/input2.mkv",
"startPoint": {
"time": 0
}
},
{
"layer": 2,
"type": 2,
"source": "/tmp/codeda/input3.png",
"width": 220,
"height": 164,
"innerEnd":15000,
"transitions":[
{
"duration":5000,
"start":0,
"items":[
{
"type": 1,
"from":0,
"to": 0.85,
"position":1
}
]
},
{
"duration":5000,
"start":5000,
"items":[
{
"type": 2,
"from":0,
"to": 0.8,
"position":1
}
]
},
{
"duration":5000,
"start":10000,
"items":[
{
"type": 2,
"from": 0.8,
"to": 0,
"position":1
},
{
"type": 1,
"from": 0.85,
"to": 0,
"position":1
},
{
"type": 0,
"from": 1,
"to": 0
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment