Ffmpeg in hass.io?

have this in configuration and receive this error

2017-10-06 16:01:11 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 13] Permission denied
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/haffmpeg/core.py", line 114, in open
    stderr=stderr
  File "/usr/lib/python3.6/asyncio/subprocess.py", line 225, in create_subprocess_exec
    stderr=stderr, **kwds)
  File "uvloop/loop.pyx", line 2164, in __subprocess_run (uvloop/loop.c:39415)
  File "uvloop/handles/process.pyx", line 549, in uvloop.loop.UVProcessTransport.new (uvloop/loop.c:93764)
  File "uvloop/handles/process.pyx", line 87, in uvloop.loop.UVProcess._init (uvloop/loop.c:85151)
PermissionError: [Errno 13] Permission denied
2017-10-06 16:01:11 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 422, in start
    resp = yield from self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web.py", line 306, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
    return (yield from handler(request))
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/__init__.py", line 428, in handle
    result = yield from result
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 340, in get
    response = yield from self.handle(request, camera)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 360, in handle
    image = yield from camera.async_camera_image()
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/ffmpeg.py", line 60, in async_camera_image
    extra_cmd=self._extra_arguments)
  File "/usr/lib/python3.6/site-packages/haffmpeg/tools.py", line 82, in get_image
    self._proc.communicate(), loop=self._loop)
AttributeError: 'NoneType' object has no attribute 'communicate'
2017-10-06 16:01:11 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.office_garden to 192.168.1.86 (auth: False)
2017-10-06 16:01:11 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.rear_left to 192.168.1.86 (auth: False)
2017-10-06 16:01:12 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.rear_right to 192.168.1.86 (auth: False)
2017-10-06 16:01:12 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/synologydsm.py", line 114, in run_setup
    for volume in volumes:
TypeError: 'NoneType' object is not iterable

Did you install FFMPEG? I had a similar issue trying to get Ring camera to work and didn’t realize I had to install it separately.

how to install it in hassio?

I’m not sure about hassio but there are some instructions on the component page.