Play any file to audio

Michael Gruner michael.gruner at ridgerun.com
Mon Nov 16 19:28:40 UTC 2020


Hello Jack

I don’t know your exact use case, but if you are looking for a way to generate noise you may want to take a look at audiotestsrc. It as a few noise models you might find useful:

  wave                : Oscillator waveform
                        flags: readable, writable, controllable
                        Enum "GstAudioTestSrcWave" Default: 0, "sine"
                           (0): sine             - Sine
                           (1): square           - Square
                           (2): saw              - Saw
                           (3): triangle         - Triangle
                           (4): silence          - Silence
                           (5): white-noise      - White uniform noise
                           (6): pink-noise       - Pink noise
                           (7): sine-table       - Sine table
                           (8): ticks            - Periodic Ticks
                           (9): gaussian-noise   - White Gaussian noise
                           (10): red-noise        - Red (brownian) noise
                           (11): blue-noise       - Blue noise
                           (12): violet-noise     - Violet noise

Michael

> On Nov 16, 2020, at 13:20, Tim Müller <tim at centricular.com> wrote:
> 
> Hi,
> 
>> I'm not an expert in uridecodebin, but from the tests I've
>> just made it doesn't appear to be possible
> 
> That's right.
> 
> Decodebin needs to be able to "typefind" a stream, and it will then try
> and plug the right parsers/decoders for the format the file is in.
> 
> You want to do the exact opposite, so decodebin is not really suitable
> for this use case, and I'm not sure what it would buy you here either.
> 
> Cheers
> Tim
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201116/05833452/attachment-0001.htm>


More information about the gstreamer-devel mailing list