I have a JSON file and I can change the value of "src" and "composition" but I can not change the value of actions/postrender/second output value.
I am using this js
file.template.src = "value1";
file.template.composition= "value2";
file.actions.postrender.output= "value3";
{
"template": {
"src": "value1",
"composition": "value2"
},
"actions": {
"postrender": [
{
"module": "@nexrender/action-encode",
"preset": "mp4",
"output": "encoded.mp4"
},
{
"module": "@nexrender/action-copy",
"input": "encoded.mp4",
"output": "d:/mydocuments/results/myresult.mp4"
}
]
}
}
postrenderis not an ''object'', but rather an array - Yes, in JS everything is an object, but in this context it doesn't make sense to call the array an object.