Failed to map input buffer

Nicolas Dufresne nicolas at ndufresne.ca
Fri Nov 29 00:50:19 UTC 2019


Le jeudi 28 novembre 2019 à 18:42 +0800, Sirius Wu a écrit :
> HI,
> 
> I've tried setting the audio-filter of playbin to the following bin:
> 
> sink --> audioconvert for mix matrix --> pitch --> src
> 
> Because it does not work, I've changed it to
> 
> sink --> audioconvert for mix matrix -> pitch --> src
> 
> Both without the pitch element do work. But with the pitch element don't work.
> 
> I've seen following messages:
> 
> > gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
> > ../gst/audioconvert/gstaudioconvert.c:872:gst_audio_convert_transform:<conv> error: failed to map input buffer
> > setMessage: Error received from element conv: The stream is in the wrong format.
> > ../libs/gst/base/gstbasetransform.c:1424:gst_base_transform_reconfigure:<capsfilter0> warning: not negotiated

In general, assertion() means a bug in the code. Please file an issue
against gst-plugins-bad repository on
gitlab.freedesktop.org/gstreamer/gst-plugins-bad. We'll have to sort
out if this bug is in pitch or audioconvert, but -bad is good place for
now.

regards,
Nicolas

p.s. Please report the versions, a bonus would be to check if it was
also broken in older version of GStreamer. If not, then just mention
it's a regression and we will treat it as such.

> 
> What have I done wrong?
> 
> -- 
> Sirius Wu
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191129/af448d94/attachment.sig>


More information about the gstreamer-devel mailing list