I am developing a video conversion server. To process the video conversion I use the method "getProcessOutput" to call "ffmpeg".

The user upload the video using a HTTP POST and each video must be converted to 8 or 10 output formats.

Currently, all the conversions for each video are processed in parallel, what I want to do is to control the number of parallel system calls to "ffmpeg". For example I only want 2 processes at the same time and when one of them finishes the next process start.

How can I do that?

Is there any function in Twisted that implements that?

Thank you

Daniel de la Cuesta Navarrete
Técnico de Desarrollo de Software

Tel. 951 015 300

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.