Skip to content

[FEAT] Enable choice between CPU and GPU for video encoding #38

@hgw77

Description

@hgw77

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I am running Webtop with the NVIDIA runtime and can choose between x264enc and x264enc-striped. When I select x264enc, I see that NVENC is utilized, whereas choosing x264enc-striped results in the CPU being used for encoding. Both encoding methods are showing descent results.

But it would be helpful to have explicit options that let you select between CPU-based encoding and NVENC hardware encoding, if available..

Reason for change

Encoding with the GPU offers great performance, but in my experience, it consumes significantly more power (around 60W) compared to using the CPU, which typically draws only 10–20W. That’s it would be nice to have the option to select which hardware to utilize (for x264enc and x264enc-striped): the GPU for maximum performance, and the CPU for better energy efficiency. This flexibility would allow me to optimize for either speed or power savings as needed

Proposed code change

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions