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

run ffmpeg command with 'taskset' in linux #465

Open
Alirexaa opened this issue Sep 21, 2023 · 1 comment
Open

run ffmpeg command with 'taskset' in linux #465

Alirexaa opened this issue Sep 21, 2023 · 1 comment

Comments

@Alirexaa
Copy link

is there any way to run FFmpeg command with taskset?

why ? Because ffmpeg uses all available CPU cores and with the taskset command we can restrict FFmpeg to a specific CPU core or a group of CPU cores
. For example :

taskset -c 0 ffmpeg -i input.mp4 output.mp4

this command restricts ffmpeg to using first CPU core

@tomaszzmuda
Copy link
Owner

Hello,

Isn't UseMultiThread enough?

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

2 participants