filter-graph: add ONNX plugin

It uses the onnxruntime library to parse the onnx file and construct a
neural network. It uses the label field to setup the plugin and how to
map the various tensors of the model to input, output, control and
notify ports.

Add an example config for how to use the silero VAD ONNX model with the
noise gate.
This commit is contained in:
Wim Taymans 2025-07-09 14:12:36 +02:00
parent b3dddfed6a
commit 6605caa39e
6 changed files with 986 additions and 0 deletions

View file

@ -391,3 +391,7 @@ option('fftw',
description: 'Enable code that depends on fftw',
type: 'feature',
value: 'auto')
option('onnxruntime',
description: 'Enable code that depends on onnxruntime',
type: 'feature',
value: 'auto')