diff --git a/Controller/DefaultController.php b/Controller/DefaultController.php index 7d419eb..a4f9a99 100644 --- a/Controller/DefaultController.php +++ b/Controller/DefaultController.php @@ -191,6 +191,12 @@ public function cutAction(Request $request, MultimediaObject $originalmmobject) $path = Path::create($track->storage()->path()->path()); $this->jobCreator->fromPath($multimediaObject, $path, $jobOptions); + if ('video_broadcastable_trimming' == $profile) { + $jobOptions = new JobOptions('video_broadcastable_dynamic_quality_trimming', $priority, $track->language(), $track->description()->toArray(), $parameters); + $path = Path::create($track->storage()->path()->path()); + $this->jobCreator->fromPath($multimediaObject, $path, $jobOptions); + } + $this->documentManager->persist($multimediaObject); $this->documentManager->flush(); diff --git a/Resources/config/encoders.yml b/Resources/config/encoders.yml index 1ff30e6..2179da1 100644 --- a/Resources/config/encoders.yml +++ b/Resources/config/encoders.yml @@ -30,7 +30,7 @@ pumukit_hard_video_editor: target: video_broadcastable_dynamic_quality_trimming: generate_pic: false - display: false + display: true wizard: true master: false nocheckduration: false