ffmpeg-cli-wrapper icon indicating copy to clipboard operation
ffmpeg-cli-wrapper copied to clipboard

How do I set the number of threads to be processed?

Open 1995mars opened this issue 4 years ago • 0 comments
trafficstars

The question How do I set the number of threads to be processed?

**Example **

            FFmpegBuilder builder = new FFmpegBuilder()
              .setInput(probeResult)     // Filename, or a FFmpegProbeResult
              .overrideOutputFiles(true) // Override the output if it exists
              .addOutput(mp3_convert + "/" + fileName)   // Filename for the destination
              .setTargetSize(250_000)
              .setAudioChannels(1)         // Mono audio
              .setAudioSampleRate(48_000)  // at 48KHz
              .setAudioBitRate(65536)      // at 64 kbit/s
              .done();

What you have tried I tried hard to try .setTheads (4), but it failed.

1995mars avatar Dec 14 '20 09:12 1995mars