GNOME Bugzilla – Bug 167894
[alsasink] Can't construct any pipelines
Last modified: 2005-02-20 11:43:53 UTC
Distribution: NewPenguin Linux using Gentoo Base System version 1.4.16 Package: GStreamer Severity: major Version: GNOME2.8.1 0.8.9 Gnome-Distributor: Gentoo Linux Synopsis: [alsasink] Can't construct any pipelines Bugzilla-Product: GStreamer Bugzilla-Component: gstreamer (core) Bugzilla-Version: 0.8.9 Description: Description of Problem: It would seem that my regularily working alsa configuration (Tested in beep-media-player, mplayer, and a few other things) doesn't work with GStreamer. This is the latest version of both the plugins, and the core. It's also (I believe) the latest version of ALSA. Steps to reproduce the problem: Method A: gst-launch-0.8 ! alsasink: WARNING: erroneous pipeline: link without source element Trying to run anyway. RUNNING pipeline ... /pipeline0/alsasink0.sink: active = TRUE ERROR: from element /pipeline0/alsasink0: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(3340): gst_pad_pull: /pipeline0/alsasink0: pull on pad alsasink0:sink but it was unlinked /pipeline0/alsasink0.sink: active = FALSE Execution ended after 1 iterations (sum 4999000 ns, average 4999000 ns, min 4999000 ns, max 4999000 ns). Whereas gst-launch-0.8 sinesrc ! alsasink: RUNNING pipeline ... ERROR: pipeline doesn't want to play. Actual Results: I hear nothing. How often does this happen? Every time. Additional Information: I only have one soundcard, and I usually set the device to default. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-02-19 13:10 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "GStreamer". Setting to default milestone for this product, 'HEAD' Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
This is on PPC Linux 2.6.9. Alsa seems to be 1.0.6, but it might be newer.
I was able to get this working by using: gst-launch-0.8 filesrc location=/home/defaultuser/boulevard.mp3 ! spider ! volume ! audioscale ! audioconvert ! alsasink device=hw:0 And that worked. How do I apply this setting to gstreamer-properties?
Okay: here is a working fix: In gstreamer-properties, change the pipeline to custom and put: spider ! alsasink device=hw:0 That works.
See man gst-launch.
Also, ask questions like this on the mailinglist. We like to keep bugzilla for bugs.