Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 7872  / 1 Year ago, tue, may 9, 2023, 3:15:31

Is it possible to run jobs on multiple processor or threads to speed up avconv?

Is there a feature in progress, if not I wonder why?


More From » convert

 Answers
7

You are after the -threads option of avconv. Safest setting would be:



 -threads auto


but you can also set an integer there if you want to experiment a little. A modern FFmpeg (now the standard in Ubuntu) sets this is auto by default as seen in this section of the 'ffmpeg-all' man pages:



threads integer (decoding/encoding,video)

Set the number of threads to be used, in case the selected
codec implementation supports multi-threading.

Possible values:

auto, 0
automatically select the number of threads to set

Default value is auto.


Note 2 important points:




  1. This setting will only have effect if the chosen codec supports multi-threading

  2. It is possible to set the thread count for individual streams rather than simply attempt a global thread setting


[#25025] Tuesday, May 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
;