to_opus: Efficient usage of multiple cores #1

Open
opened 2023-04-25 17:16:47 +02:00 by Thelie · 1 comment

I recently converted music with this script on a machine with four cores. Only one of the cores was used by the script though.

It might be worthwhile to either add an option to the ffmpeg command that makes it run in multiple threads or split up the workload and run ffmpeg multiple times according to the number of cores.

I recently converted music with this script on a machine with four cores. Only one of the cores was used by the script though. It might be worthwhile to either add an option to the ffmpeg command that makes it run in multiple threads or split up the workload and run ffmpeg multiple times according to the number of cores.
Owner

ffmpeg uses multithreading already as default when possible. So the only solution would be to run ffmpeg multiple times.

https://man.archlinux.org/man/parallel.1

I will implement this in future

ffmpeg uses multithreading already as default when possible. So the only solution would be to run ffmpeg multiple times. https://man.archlinux.org/man/parallel.1 I will implement this in future
esche changed title from Efficient usage of multiple cores to to_opus: Efficient usage of multiple cores 2023-07-25 14:09:42 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: esche/media-tools#1
No description provided.