[FFmpeg-devel] [PATCH] Added pipe output to metadata filter

Sami Hult sami.hult at gmail.com
Wed Jun 22 16:03:34 CEST 2016


On 22 Jun 2016 16:57, "Paul B Mahol" <onemda at gmail.com> wrote:
>
> On 6/22/16, sami.hult at gmail.com <sami.hult at gmail.com> wrote:
> > From: Sami Hult <sami.hult at gmail.com>
> >
> > I added option mode=pipe which accepts file=(file descriptor) option.
This
> > way multiple streams can for example be silencedetected and the result
> > directed to different outputs.
> >
> > Example:
> >
> > ffmpeg -i test.wav -filter_complex
> > "silencedetect=n=-40dB:d=0.1,ametadata=mode=pipe:file=4" -f null - 4>
> > test.txt
> >
> > Also at the same time I converted mode=file output to avio.
>
> Can't file option be extended to support pipe: and other stuff?

Sure. I made this ad hoc for own needs, and tried to keep it minimal, but
could easily rework. So ignore this patch, if there aren't any opposing
opinions.


More information about the ffmpeg-devel mailing list