docker-handbrake icon indicating copy to clipboard operation
docker-handbrake copied to clipboard

Simultaneous encodes

Open scriptchecker opened this issue 3 years ago • 6 comments

Feature Request!

CPU with lots of cores are becoming much more common.

I am only using 30% of my Ryzen processor when encoding to H265

Looking for the option of choosing simultaneous encodes rather than installing multiple docker instances each pointing to different watch folder.

scriptchecker avatar Jul 26 '21 12:07 scriptchecker

This is similar to #158

jkoop avatar Feb 10 '22 00:02 jkoop

I too am looking for simultaneous encodes. I know the Handbrake application supports this, so I am not sure where the limitation lies. On a 6-core Ryzen CPU, the first pass for x264 1080p is always under 50% utilization and the second pass usually sits around 90%. I was previously doing encode work on a Windows machine running 2-3 encodes simultaneously (though not with Handbrake) to achieve 98-100% usage at all times. I'd love to see that capability with this Docker container.

MrZell avatar Sep 05 '22 16:09 MrZell

Having the same need as OP. Both the windows version of Handbrake and Vidcoder ( another GUI version of handbrake ) have this option to run multiple encodes simultaneously. Having many handbrake docker instances is not difficult to set up only once but annoying when changing to a different workflow with a different profile.

CatOverrun avatar Mar 22 '23 14:03 CatOverrun

For those wanting this feature, you are asking in the wrong place. It has not been implemented in the linux version of handbrake yet. Check this out: https://github.com/HandBrake/HandBrake/issues/1445. Once the Handbrake team gets it implemented, I'm sure it will show up in the docker image

totalhavoc avatar May 29 '23 00:05 totalhavoc

for the meantime, why not just start two docker containers of handbrake?? given upstream has not implemented it for more than 4years+ Isn't this what docker is for, orchestrating multiple instances of containers?

What would be a valid issue is if two instances of handbrake can't run at the same time..

vincejv avatar Feb 02 '24 04:02 vincejv

for the meantime, why not just start two docker containers of handbrake??

I have a 16-core processor now and do run multiple instances, up to 4 in fact. I don't like having to update and maintain 4 different instances. It is tedious to do things such as making changes to each instance one at a time or copying custom profiles and preferences from one instance to the other 3. It's all a minor inconvenience really.

I have other small complaints, but none of them are related to this particular issue.

MrZell avatar Feb 08 '24 22:02 MrZell