cancel
Showing results for 
Search instead for 
Did you mean: 

how to parallelize video conversion

maumig_
Confirmed Champ
Confirmed Champ

Hi all, I noticed that the video conversions are performed one at a time and queued. Is there a way to parallelize them?

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can override the default videoConversion queue to increase the max number of threads that the queue can use. By default it's set to 1.

Here is a contribution to set it to5:

<require>org.nuxeo.ecm.platform.video.workmanager</require>
<extension target="org.nuxeo.ecm.core.work.service" point="queues">
  <queue id="videoConversion">
    <maxThreads>5</maxThreads>
    <category>videoConversion</category>
  </queue>
</extension>

View answer in original post

1 REPLY 1

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can override the default videoConversion queue to increase the max number of threads that the queue can use. By default it's set to 1.

Here is a contribution to set it to5:

<require>org.nuxeo.ecm.platform.video.workmanager</require>
<extension target="org.nuxeo.ecm.core.work.service" point="queues">
  <queue id="videoConversion">
    <maxThreads>5</maxThreads>
    <category>videoConversion</category>
  </queue>
</extension>