1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

Update VideoThumbnail

This commit is contained in:
Daniel Supernault 2019-06-01 18:09:57 -06:00
parent f9cb2b920c
commit 44ba4749f9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -47,7 +47,7 @@ class VideoThumbnail implements ShouldQueue
$path[$i] = $t; $path[$i] = $t;
$save = implode('/', $path); $save = implode('/', $path);
$video = FFMpeg::open($base) $video = FFMpeg::open($base)
->getFrameFromSeconds(1) ->getFrameFromSeconds(0)
->export() ->export()
->toDisk('local') ->toDisk('local')
->save($save); ->save($save);