craft-transcoder icon indicating copy to clipboard operation
craft-transcoder copied to clipboard

[FR] Queue transcoding

Open riasvdv opened this issue 6 years ago • 2 comments

Is it possible to queue the transcoding of video's? If we currently upload more than 1 video the ffmpeg process gets killed because the server runs out of memory.

riasvdv avatar Feb 07 '19 14:02 riasvdv

mmmmmmm. So it shouldn't actually do the transcoding until the video is referenced. I think potentially it could check to see if an ffmpeg process is already running, and if so, don't try to start a new transcoder.

That means you'll be waiting as they are done in sequence, tho

khalwat avatar Feb 07 '19 14:02 khalwat

To clarify the use case:

I need certain video sizes to be available before they're referenced, and even then, multiple video's will be referenced at the same time from a single page.

In a module I'm generating the necessary video's when a video is uploaded or saved, this causes multiple ffmpeg processes to be started but the server is killing off some because it uses too much memory at the same time.

riasvdv avatar Feb 07 '19 14:02 riasvdv