mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix error in video thumbnail command (#1552 regression)
This commit is contained in:
parent
c6f728cec6
commit
ae163b95d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1227,7 +1227,7 @@ class fileController extends file
|
|||
$thumbnail_name = $file_info['tmp_name'] . '.thumbnail.jpeg';
|
||||
$command = \RX_WINDOWS ? escapeshellarg($config->ffmpeg_command) : $config->ffmpeg_command;
|
||||
$command .= sprintf(' -ss 00:00:00.%d -i %s -vframes 1', mt_rand(0, 99), escapeshellarg($file_info['tmp_name']));
|
||||
$command .= ' -nostdin -i ' . escapeshellarg($thumbnail_name);
|
||||
$command .= ' -nostdin ' . escapeshellarg($thumbnail_name);
|
||||
@exec($command, $output, $return_var);
|
||||
if ($return_var === 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue