previewgenerator icon indicating copy to clipboard operation
previewgenerator copied to clipboard

Problem generating Video thumbnails, even though ffmpeg is installed

Open MetallicAchu opened this issue 3 years ago • 13 comments

Hi,

I'm fairly new to NextCloud and I'm currently struggling with generating video thumbnails for my gallery. I tried Googling and looking through the issues but couldn't find anything that works. This might not be an issue specifically related to the Preview Generator app, but I'll try anyways.

I'm using Ubuntu 20, log is not showing any problems when I browse or run Preview Generator. I have ffmpeg installed, and while using the web user I can run ffmpeg: https://snipboard.io/kiN4ug.jpg

I added the Env[PATH] to php config but I'm not sure how to test it.

This is my gallery, as you can see no video thumbnails are loading: https://snipboard.io/k57gNj.jpg Also this is the demo video: https://snipboard.io/rGHJq7.jpg When running Preview Generator, I can't see any video files in the verbose.

Config file: 'enable_previews' => true, 'enabledPreviewProviders' => array( 'OC\Preview\PNG', 'OC\Preview\JPEG', 'OC\Preview\GIF', 'OC\Preview\HEIC', 'OC\Preview\Movie', 'OC\Preview\MOV', 'OC\Preview\MKV', 'OC\Preview\MP4', 'OC\Preview\AVI', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown' ),

I even tried this because I though that something's wrong with my syntax: 'enabledPreviewProviders' => array ( 0 => 'OC\\Preview\\TXT', 1 => 'OC\\Preview\\Image', 2 => 'OC\\Preview\\Movie', 3 => 'OC\\Preview\\MKV', 4 => 'OC\\Preview\\MP4', 5 => 'OC\\Preview\\AVI', 6 => 'OC\\Preview\\MOV', ),

Any help or guidelines on what to check next would be greatly appriciated!

Thanks

MetallicAchu avatar Apr 27 '21 18:04 MetallicAchu