Play any file to audio
Jack
jack at rybn.org
Mon Nov 16 20:49:17 UTC 2020
Hi Michael !
Yes, thanks for this reminder !
I was just hoping to play any file with uridecodebin (with a specific
property) like filesrc. But it is not possible.
The idea was to generate a "moving noise" in the time...
++
Jack
Le 16/11/2020 à 20:28, Michael Gruner a écrit :
> 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
>> <mailto: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
>> <mailto:gstreamer-devel at lists.freedesktop.org>
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> 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/e498c172/attachment.htm>
More information about the gstreamer-devel
mailing list