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

Initial hardware acceleration support #4364

Open
JonnyBurger opened this issue Oct 4, 2024 · 0 comments
Open

Initial hardware acceleration support #4364

JonnyBurger opened this issue Oct 4, 2024 · 0 comments

Comments

@JonnyBurger
Copy link
Member

From message posted on Discord by jonnyburger

I'm also interested in enabling hardware support for decoding and encoding
especially decoding could provide speed benefits for OffthreadVideo

nothing gamechanging but some gains are possible

we need to first change the ffmpeg command to use videotoolbox

(img)

but I suppose before that works we need to compile ffmpeg with videotoolbox HW accel support

I'm kicking off a build for this remotion-dev/rust-ffmpeg-splitter#10

when it succeeds, I would be happy if there are some experimentations that people make (using Config.overrideFfmpegCommand)

I think the end product could be a checkbox "Enable hardware acceleration if possible" - like in davinci resolve
and later on it can be enabled by default, and other OS like linux vulkan can be enabled

enabling hardware acceleration is mutually exclusive with other flags like -crf so we also need to handle that

<@712525843284492328>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant