# TODO
馃彎 [[ https://gerrit.wikimedia.org/r/c/integration/quibble/+/451645 | 451645 ]]: Install ffmpeg needed for recording videos of Selenium tests
馃彎 Test with instructions from {J100}
# Description
For {T179188} I need ffmpeg to record videos of Selenium test runs.
Example for [[ https://gerrit.wikimedia.org/r/c/mediawiki/core/+/422933 | 422933 ]] (from [[ https://integration.wikimedia.org/ci/job/wmf-quibble-core-vendor-mysql-hhvm-docker/333/console | wmf-quibble-core-vendor-mysql-hhvm-docker/333 ]]):
```
12:57:44 ------------------------------------------------------------------
12:57:44 [chrome #0-0] Session ID: 3c7838936bf567555eec4b13d8b1e3ec
12:57:44 [chrome #0-0] Spec: /workspace/src/tests/selenium/wdio-mediawiki/specs/BlankPage.js
12:57:44 [chrome #0-0] Running: chrome
12:57:44 [chrome #0-0]
12:57:44 [chrome #0-0] BlankPage
12:57:44 [chrome #0-0]
12:57:44 [chrome #0-0] BlankPage
12:57:44 [chrome #0-0] 1) "before each" hook
12:57:44 [chrome #0-0]
12:57:44 [chrome #0-0]
12:57:44 [chrome #0-0] 1 failing (3s)
12:57:44 [chrome #0-0]
12:57:44 [chrome #0-0] 1) BlankPage "before each" hook:
12:57:44 [chrome #0-0] spawn ffmpeg ENOENT
12:57:44 [chrome #0-0] Error: spawn ffmpeg ENOENT
12:57:44 [chrome #0-0] at exports._errnoException (util.js:1018:11)
12:57:44 [chrome #0-0] at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
12:57:44 [chrome #0-0] at onErrorNT (internal/child_process.js:367:16)
12:57:44 [chrome #0-0] at _combinedTickCallback (internal/process/next_tick.js:80:11)
12:57:44 [chrome #0-0] at process._tickDomainCallback (internal/process/next_tick.js:128:9)
12:57:44 [chrome #0-0]
12:57:44
12:57:48 [12:57:48] Saved screenshot: ERROR_chrome_2018-08-08T12-57-47.906Z.png
12:57:48 Error: EACCES: permission denied, open '/logPage-should-be-creatable.png'
12:57:48 at Object.wait (/workspace/src/node_modules/fibers/future.js:449:15)
12:57:48 at Object.saveScreenshot (/workspace/src/node_modules/wdio-sync/build/index.js:283:31)
12:57:48 at Object.afterTest (/workspace/src/tests/selenium/wdio.conf.js:190:11)
12:57:48 at execHook (/workspace/src/node_modules/wdio-sync/build/index.js:162:35)
12:57:48 - - - - -
12:57:48 at url("http://127.0.0.1:9412//index.php?action=edit&title=BeforeEach-name-0.5561081455396708-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n") - index.js:312:3
12:57:50 ------------------------------------------------------------------
```