nystudio107 / craft-transcoder

Transcode video & audio files to various formats, and provide video thumbnails
https://nystudio107.com/plugins/transcoder
Other
43 stars 12 forks source link

Feature request: encoding process via queue #63

Open arifje opened 1 year ago

arifje commented 1 year ago

When encoding multiple gif files to mp4, the template triggers all these ffmpeg processes at the same time. This results in 40 to 50 ffmpeg processes (in our case), which results in a smoking server and ffmpeg errors.

It would be awesome if we could prevent this, maybe by using the queue for these jobs? Then we could set a delay on these jobs so we create a spread.

khalwat commented 1 year ago

Yeah a way around this could be that the parameters needed to do the conversion are stuffed into a queue job, and dolled out to ffmpeg as each queue job is run.