Commit cc40dec9 authored by Marcelo Rivera's avatar Marcelo Rivera

(chore): Transcode CLI now encodes directly, without calling the queue

1 merge request!3731080p encoding for pro
Pipeline #89508183 passed with stages
in 12 minutes and 29 seconds
......@@ -18,11 +18,12 @@ class Transcode extends Cli\Controller implements Interfaces\CliControllerInterf
{
$this->out('TBD');
}
public function exec()
{
$transcoder = new Core\Media\Services\FFMpeg;
$transcoder->setKey($this->getOpt('guid'));
$transcoder->transcode();
$transcoder->setFullHD($this->getOpt('full_hd') ?? false);
$transcoder->onQueue();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment