Mp4 Preview Is it possible

Nextcloud version (eg, 20.0.5): Nextcloud 24.0.1
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 x86_64(Py3.7.9)
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.22.0
PHP version (eg, 7.4): PHP-8.1

Hello, I have a question. I tried a lot of operations and failed to generate a video preview

ffmpeg installed

sudo -u www /bin/sh
sh-5.1$ id
用户id=1001(www) 组id=1001(www) 组=1001(www)
sh-5.1$ type ffmpeg
ffmpeg 是 /usr/bin/ffmpeg
sh-5.1$ ffmpeg -version
ffmpeg version 4.3.4-0+deb11u1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu

FPM profile added
env[PATH] = /usr/local/bin:/usr/bin:/bin:/usr/local/PHP/bin:/usr/lib:/usr

config/config.php added

‘preview_libreoffice_path’ => ‘/etc/libreoffice’,
‘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\PDF’,
7 => ‘OC\Preview\Image’,
8 => ‘OC\Preview\Photoshop’,
9 => ‘OC\Preview\TIFF’,
10 => ‘OC\Preview\SVG’,
11 => ‘OC\Preview\Font’,
12 => ‘OC\Preview\MP3’,
13 => ‘OC\Preview\Movie’,
14 => ‘OC\Preview\MKV’,
15 => ‘OC\Preview\MP4’,
16 => ‘OC\Preview\AVI’,
),

the video preview cannot be generated. I don’t know what the problem is

. Pdf . PSD normal Preview

config/config.php

'preview_libreoffice_path' => '/etc/libreoffice',
'enable_previews' => true,
 'default_phone_region' => 'CN',
'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\\PDF',
    7 => 'OC\\Preview\\Image',
    8 => 'OC\\Preview\\Photoshop',
    9 => 'OC\\Preview\\TIFF',
   10 => 'OC\\Preview\\SVG',
   11 => 'OC\\Preview\\Font',
   12 => 'OC\\Preview\\MP3',
   13 => 'OC\\Preview\\Movie',
   14 => 'OC\\Preview\\MKV',
   15 => 'OC\\Preview\\MP4',
   16 => 'OC\\Preview\\AVI',
 ),

At the same time, I tried to install the preview generator plug-in,

data/appdata_oc66my8ukjct/preview ,

can see that there are generated video thumbnails, but the web page cannot be displayed

2