Nextcloud version (eg, 29.0.5): 27.1.3
Operating system and version (eg, Ubuntu 29.04): Ubuntu 20.04.4 LTS
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 8.3): 8.1
The issue you are facing:
I have mp4 files that are missing thumbnails.
ffmpeg is installed. It’s path is included in the PATH environment variable and the path is one of the paths used by NextCloud when looking for ffmpeg (can’t seem to find the GitHub link to that code anymore). ffmpeg has execute permissions for User, Group, and Other.
imagemagick and ghostscript are both installed and up to date.
My config includes;
‘enable_previews’ => true,
‘enabledPreviewProviders’ =>
array (
0 => ‘OC\Preview\TXT’,
1 => ‘OC\Preview\MarkDown’,
2 => ‘OC\Preview\OpenDocument’,
3 => ‘OC\Preview\PDF’,
4 => ‘OC\Preview\MSOffice2003’,
5 => ‘OC\Preview\MSOfficeDoc’,
6 => ‘OC\Preview\Image’,
7 => ‘OC\Preview\Photoshop’,
8 => ‘OC\Preview\TIFF’,
9 => ‘OC\Preview\SVG’,
10 => ‘OC\Preview\Font’,
11 => ‘OC\Preview\MP3’,
12 => ‘OC\Preview\Movie’,
13 => ‘OC\Preview\MKV’,
14 => ‘OC\Preview\MP4’,
15 => ‘OC\Preview\AVI’,
),
Running occ preview:generate-all, I can see that it finds the video files and I get “Generating previews for…” and no errors. Nothing is output to the log.
I’ve read through every post I can find on the issue, and many are either related to ffmpeg or config not being correct. It seems many of those posting never find a solution. Is there anything else I can try / anything else I can do to troubleshoot short of stepping through the code?