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:
- Switch to ‘www-data’ user:
sudo -u www-data /bin/sh
- Check if the user has been changed:
id
- Check if the binary can be found:
type ffmpeg
- Check if can be executed:
ffmpeg -version
- Exit session:
exit
What else am I suppose to check?