Closed Mars160 closed 3 months ago
you dont have MKV or MP4 in your "enablepreviewproviders"
Thanks Teemo :D
I suppose this issue has been resolved?
Actually, no This is the preview folder. There is no thumbnails for the MP4 file.
@Mars160 Did you apply the workaround proposed by @hdlineage?
@st3iny Yeah, I added both MP4 and MKV in config.php
It looks like it didn't follow my config.php file to generate thumbnails. It only generate thumbnails for the default types
@Mars160
OC\Preview\Movie
will handle the preview generation for all files with video/*
mime types.
However, you may need to set the path for ffmpeg
in some environments:
If Nextcloud doesn't find the ffmpeg binary on its own, it disables the movie preview parameter (since it can't generate them).
@Mars160
OC\Preview\Movie
will handle the preview generation for all files withvideo/*
mime types.However, you may need to set the path for
ffmpeg
in some environments:If Nextcloud doesn't find the ffmpeg binary on its own, it disables the movie preview parameter (since it can't generate them).
Thanks for your kind reply.
I reinstalled the whole environment and nextcloud. This issue is finished. I don't know what was changed but the problem is solved
This is part of my config.php![image](https://user-images.githubusercontent.com/74127225/229817496-4d3702ea-38be-4fdd-910b-f8bb51a662a9.png)
I'm running nextcloud using php-fpm behind Nginx. The user who runs nextcloud is nextcloud:nextcloud. And the nextcloud user can excute ffmpeg.![image](https://user-images.githubusercontent.com/74127225/229813545-e8b9785f-14ee-4956-b6a0-3c0ddd58e119.png)
No error log found. When I excute 'occ preview:generate-all -vvv', it will stop and generate thumbnails for PDF, JPG and TXT but MP4, MKV.
Can you help me?