Problems with Camera and ffmpeg

Greetings!

I’m new at HA and I’m trying to use my old DSC-825L camera. I’m trying to configure recording like shell-command. I have HassOS 4.17

I’m using that command to record an small video for an automatism:

shell_command:
'timeout 30s /usr/bin/ffmpeg -rtsp_transport tcp -i rtsp://ipcam/video/mjpg.cgi -ss 00:00:0.0 -t 10 -an /config/capturas/dormitorio.mp4 -y'

And I have this error from terminal:
"timeout: can’t execute /usr/bin/ffmpeg: no such file or directory

I have that in configuration.yaml:

camera:
  - platform: mjpeg
    name: dormitorio
    still_image_url: http://ipcam/image/jpeg.cgi
    mjpeg_url: http://ipcam/video/mjpg.cgi
    username: admin
    password: Papirruni20
    authentication: basic

binary_sensor:
  - platform: ffmpeg_motion
    name: movimiento_dormitorio
    input: -rtsp_transport tcp -i rtsp://ipcam/video/mjpg.cgi
    changes: 10
    reset: 1

  - platform: ffmpeg_noise
    name: ruido_dormitorio
    input: -rtsp_transport udp -i rtsp://ipcam/eng/admin/adv_audio_detection.cgi 

ffmpeg:
  ffmpeg_bin: /config/bin/ffmpeg
  
shell_command:
    video_dormitorio: 'timeout 30s /usr/bin/ffmpeg -rtsp_transport tcp -i rtsp://ipcam/video/mjpg.cgi -ss 00:00:0.0 -t 10 -an /config/capturas/dormitorio.mp4 -y'
    foto_dormitorio: 'timeout 5s /usr/bin/wget --output-document=/config/capturas/dormitorio.jpg ipcam/image/jpeg.cgi?profileid=3'

Note that snapshot works…

Thanks a lot.