Raw audio from filesrc: volume element issue

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Aug 17 13:30:29 UTC 2022


On Wed, 2022-08-17 at 13:36 +0200, Ádám Balázs via gstreamer-devel
wrote:

Hi Adam,

> I have the following pipeline, it works well:
> 
>   filesrc location=file.raw ! audio/x-raw, rate=44100, channels=1,
> format=S16LE, layout=interleaved ! queue ! autoaudiosink sync=true
> 
> If I add a volume element before the queue I get GStreamer-CRITICAL
> messages:
> 
>   filesrc location=/file.raw ! audio/x-raw, rate=44100, channels=1,
> format=S16LE, layout=interleaved ! queue ! volume name=volume
> volume=1 ! autoaudiosink sync=true

The fact that these work at all is coincidence really :)

It should work if you use a rawaudioparse element after filesrc.

Cheers
 Tim


More information about the gstreamer-devel mailing list