[FFmpeg-devel] [PATCH] avfilter/asubprocess: add audio subprocess filter

Ramiro Polla ramiro.polla at gmail.com
Fri Jun 28 00:35:45 EEST 2024


Hi Stefan,

On Thu, Jun 27, 2024 at 6:32 PM Stefan Westerfeld <stefan at space.twc.de> wrote:
> This will send the audio stream to an external command as wav file and
> read back the output of the subprocess which is also supposed to be a
> wav file of the same format and length.

Subprocesses are a pita to support and maintain in a cross-platform
project. This approach would just open up a whole new can of worms to
achieve something that FFmpeg can already do with a pipe, multiple
inputs, and -map_metadata.

Since your project already uses FFmpeg, perhaps you could use it to
encode the output and keep the metadata as well. Or provide a simple
script that would invoke FFmpeg with the correct parameters.

Regards,
Ramiro


More information about the ffmpeg-devel mailing list