Browse Source

add ffmpeg

feature/new_bilibili_and_instagram_sxs20191126
shixuesen 3 years ago
parent
commit
26a7d0f579
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/Console/Commands/QueueFfmpegCommand.php

+ 2
- 0
app/Console/Commands/QueueFfmpegCommand.php View File

@ -47,6 +47,8 @@ class QueueFfmpegCommand extends Command
$queuedFfmpegService->processDir($path);
} else {
$ffmpeg = new FfmpegService();
$ffmpeg->setNeedRemoveExistFiles(false);
$ffmpeg->setNeedRemoveAfterEncode(true);
$ffmpeg->processDirWithQueue($path, "file_to_encode");
}
}


Loading…
Cancel
Save