Remote runner development

Regarding encoding video files on peertube instance with the plugin transcoding-custom-quality Official Everything works fine with Transcoding profile (custom-quality) The values ​​for this plugin are perfect
But the problem is when using remote runners The plugin or Transcoding profile (custom-quality) cannot be used
How can I benefit from the values ​​for this plugin on remote runners

As said here, i’m pretty sure the answer is already on this forum. You should be able to find it using the search form.
Have you tried?

Hum, i can’t find the thread i had in mind.

If i remember correctly, you should be able to change the runner transcoding profile by forking the remote runner source code, adapt the transcoding options, then build it on your server.

The only settings I could find for the remote runner are in this file
/root/.config/peertube-runner-nodejs/default/config.toml

[jobs]
# How much concurrent jobs the runner can execute in parallel
concurrency = 2

[ffmpeg]
# How many threads a ffmpeg process can use
# 0 -> let ffmpeg automatically choose
threads = 0
nice = 20

[transcription]
# Choose between "openai-whisper" or "whisper-ctranslate2"
# Engine binary has to be installed manually (unlike the PeerTube instance that can install whisper automatically)
engine = "whisper-ctranslate2"
# Optional whisper binary path if not available in global path
enginePath = "/var/prunner/.local/pipx/venvs/whisper-ctranslate2/bin/whisper-ctranslate2"
# Whisper model: "tiny", "base", "small", "medium", "large-v2" or "large-v3"
model = "large-v2"

# Registered instances are saved in the config file
[[registeredInstances]]
url = "..." # URL of the instance
runnerToken = "..." # Shared runner token secret
runnerName = "..." # Runner name declared to the PeerTube instance

[[registeredInstances]]
url = "..."
runnerToken = "..."
runnerName = "..."

Indeed, there is not configuration option for now. When I said « fork the remote runner source code », I meant you can change parameters in the code.

I don’t know your programming skills, so I don’t know if this would be an acceptable option for you.

Should be somewhere near this line: