Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple encode at the same time #40

Open
Dubardo opened this issue Oct 17, 2021 · 7 comments
Open

Multiple encode at the same time #40

Dubardo opened this issue Oct 17, 2021 · 7 comments
Labels
Feature Request Request for a new feature not yet implemented question Further information is requested

Comments

@Dubardo
Copy link

Dubardo commented Oct 17, 2021

Hello, I really like your app and was wondering if there was a multi encode feature for NVENC like there is in FFMpeg Batch. Most nvidia quand encode 3 stream at the same time (more if you unlock or have a quadro). Would greatly appreciate the feature!

From what I understood, it launch mulitple instance of FFmpeg at the same time instead of back to back.

@jeanslack
Copy link
Owner

jeanslack commented Oct 18, 2021

Hello @Dubardo

Unfortunately, I don't have a GPU that can support hardware acceleration, so I'm unable to do the appropriate tests using NVENC. That said, Videomass has a graphical interface for managing presets called Presets Manager, you could use that to set up some NVENC profiles. Example: since NVENC can be used for H.264 and HEVC encoding, just replace

-c:v libx264

with

-c:v h264_nvenc

  • Of course you must have a supported GPU
  • Supported drivers for your operating system.
  • The NVIDIA Codec SDK or compiling FFmpeg with --enable-cuda-llvm
  • FFmpeg configured with --enable-nvenc

Please visit http://trac.ffmpeg.org/wiki/HWAccelIntro for more info.

@Dubardo
Copy link
Author

Dubardo commented Oct 24, 2021

Yes, Thanks. I've setup quite a few preset already.
My request was if there's anyway to launch multiple FFMPEG line at the same time. Multiple encode at the same time instead of one after the other.

@jeanslack
Copy link
Owner

As the program was designed, it is not possible to run multiple instances of FFmpeg simultaneously. Anyway, I'll take a look at it to learn more. I will let you know.

@jeanslack jeanslack added the question Further information is requested label Nov 26, 2021
@johannesdedoper
Copy link

Hello,
it's however possible to open Videomass multiple times and let them render all at the same time (at least in Linux).
Of course will your hardware be the limit.
Cheers,
J.

@johannesdedoper
Copy link

johannesdedoper commented Mar 24, 2022

I was testing the encoding simultaneously.
Even with my PC (AMD 16 core / Nvidia 3060) there is room for encoding at least 2 files at the time with NVENC.
At least when you use the NVENC FAST preset!.
I attached a picture showing the GPU and CPU can "easily" handle this.

With the MEDIUM preset however, the encoder is fully occupied and the CPU is at Idle with only one instance of Videomass running. So no use/room for encoding simultaneously.

What I do is just open 2 instances of Videomass.
But I can understand it would be nice to have implemented in the program.
Cheers,
J.

Selection_014

@jeanslack
Copy link
Owner

To realize this feature, a part of the program would have to be rewritten, which is not irrelevant for several reasons. I have done some tests but none of them have completely convinced me yet. In any case, if there is someone willing to do the same, they are welcome.

@johannesdedoper
Copy link

Of course, I'm fine running 2 instances when necessary ;)

@jeanslack jeanslack added the Feature Request Request for a new feature not yet implemented label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Request for a new feature not yet implemented question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants