[FFmpeg-devel] [PATCH] avfilter: add audio noise source

Moritz Barsnick barsnick at gmx.net
Fri Oct 30 21:08:56 CET 2015


On Fri, Oct 30, 2015 at 12:00:23 -0500, Kyle Swanson wrote:
> +- noise audio source

I actually anticipated this for quite some while, but thought I had
figured it out using some random source of input. I can't reproduce my
findings (or even my search), so thanks. :-)

> + at item duration, d
> +Specify the duration of the generated audio stream. Default value is 10 seconds.

Is there a way to specify infinity? Actually, why not let it go
infinitely by default, like the sine audio source does?

As Nicolas pointed out, AV_OPT_TYPE_DURATION is more generic for
durations.

I second the notion for other colors of sound (pink).

Question: If I use two of these, will they be seeded identically or
independantly and randomly? (Like for merging to a left and right
channel, and not achieving a mono sound.)

Thanks,
Moritz


More information about the ffmpeg-devel mailing list