Preview Generator Not Working for Videos

I have everything setup and checked everything, but I still can not get any of the video thumbnail to generate. preview:generate-all command only generates previews for images. It does not list any of the movie files.

  • Modified the config.php with the following:
 'enable_previews' => true,
  'enablePreviewProviders' => array(
          0 => 'OC\\Preview\\Image',
          1 => 'OC\\Preview\\Movie',
          2 => 'OC\\Preview\\MKV',
          3 => 'OC\\Preview\\MP4',
          4 => 'OC\\Preview\\AVI',
          5 => 'OC\\Preview\\mov',
  ),
  • I dont have open_basedir enabled.

  • Checked ffmpeg is accessible by www-data by using the following method:

  1. Switch to ‘www-data’ user: sudo -u www-data /bin/sh
  2. Check if the user has been changed: id
  3. Check if the binary can be found: type ffmpeg
  4. Check if can be executed: ffmpeg -version
  5. Exit session: exit

What else am I suppose to check?

Fixed it. enabledPreviewProviders was just missing d… But now my video playback is not working.

did you fix the video playback?