alsasink not working with playbin

Nicolas Dufresne nicolas at ndufresne.ca
Wed Apr 5 14:26:05 UTC 2017


Le mercredi 05 avril 2017 à 03:56 -0700, psiva87 a écrit :
> I'm seeing below alsasink issue when playing using playbin. But same
> is not
> observed when manually constructed the pipeline using gst-launch of
> individual elements. "gst-launch-1.0 audiotestsrc ! alsasink" also
> works.
> Gstreamer version I use is 1.10.4.

Do you have anything alsa on your platform that actually works ? Looks
like a system issue, not a GStreamer issue.

Nicolas

> 
> # gst-launch-1.0 playbin uri=http://<x.x.x.x>/test.mp4
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Got context from element 'sink': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\
> gldisplaywayland0";
> libEGL warning: MESA-LOADER: failed to retrieve device information
> MESA-LOADER: failed to retrieve device information
> Got context from element 'playsink': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\
> gldisplaywayland0";
> ERROR: from element
> /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAlsaSink:als
> asink2:
> Could not get/set settings from/on resource.
> Additional debug info:
> ../../../gst-plugins-base-1.10.4/ext/alsa/gstalsasink.c(615):
> set_hwparams
> ():
> /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstAlsaSink:als
> asink2:
> Unable to set hw params for playback: Invalid argument
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...


More information about the gstreamer-devel mailing list