Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.
This repository was archived by the owner on May 3, 2021. It is now read-only.

Feature request: Fallback/option to disable video thumbnail creation #327

Description

@saikon

Detailed description of the problem

Some web servers do not have ffmpeg and ffprobe installed. It would be a beneficial feature to have a fallback for videos just to use a default icon as a thumbnail if creation fails.

Also a detection of this in the /plugins/Diagnostics/ would be useful. Since currently it is not giving any errors:

Diagnostics
-----------
Warning: Dropbox import not working. No property for dropboxKey.
No critical problems found. Lychee should work without problems!


System Information
------------------
Lychee Version (json):  3.2.16
Lychee Version (git):   48745c3 (master)
DB Version:             update_030216
System:                 Linux
PHP Version:            7.2
MySQL Version:          100038
Imagick:                1
Imagick Active:         1
Imagick Version:        1673
GD Version:             2.2.5
Plugins:                


Config Information
------------------
checkForUpdates:         1
default_license:         reserved
deleteImported:          1
full_photo:              1
hide_version_number:     1
image_overlay:           0
image_overlay_type:      desc
imagick:                 1
lang:                    en
layout:                  1
medium_max_height:       2160
medium_max_width:        3840
php_script_limit:        0
public_search:           0
skipDuplicates:          0
small_max_height:        360
small_max_width:         0
sortingAlbums:           ORDER BY title ASC
sortingPhotos:           ORDER BY takestamp ASC
useExiftool:             0
version:                 update_030216

Steps to reproduce the issue

On the web server I am using I ran the following test:

<?php
    print "PATH: ";
    var_dump(getenv('PATH'));
    print "<br>";

    print "which ffmpeg: ";
    var_dump(exec('which ffmpeg'));
    print "<br>";

    print "which ffprobe: ";
    var_dump(exec('which ffprobe'));
?>

This test yielded:

PATH: string(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
which ffmpeg: string(0) ""
which ffprobe: string(0) ""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions