Question: I am trying to add a watermark over the a video in firebase storage using firebase functions and ffmpeg,
but no matter what I try it always exit the same error.

```
 return spawn('ffmpeg', ['-i', tmpFilePath, '-vf',`drawtext="text='hello World'`, tmpFilePath]);

```

And I tried this as well:

```
        return spawn('ffmpeg', ['-i', tmpFilePath, '-i', tmpLogoPath, '-filter_complex', '"overlay=10:10"', tmpFilePath]);

```

console log:

```
ChildProcessError: `ffmpeg -i /tmp/anything -vf drawtext="text='Stack Overflow' /tmp/anything` failed with code 1
at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:506:15)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Socket.EventEmitter.emit (domain.js:506:15)
at Pipe.<anonymous> (net.js:674:12)
at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)

```

Answer: 
```
 listItemEl.textContent = playerHighScores[i].inputInitials + " - " + playerHighScores[i].timeLeft;

```

should be

```
 listItemEl.textContent = playerHighScores[i].name + " - " + playerHighScores[i].score

```

name and score are the property names of the object highScores
Everything you are doing is fine except the way you're accessing the object.

In createScoreList() function, You are accessing:

```
listItemEl.textContent = playerHighScores[i].inputInitials + " - " + playerHighScores[i].timeLeft;

```

but you have to write like below as the key names you have given is 'name' and 'score':

```
 listItemEl.textContent = playerHighScores[i].name + ' - ' + playerHighScores[i].score;

```