When trying to use gst-launch, I get an alsasink ERROR: Pipeline doesn't want to pause. Here's exactly what I ran and what I got: $ gst-launch-0.10 filesrc location=/music/los/The\ Beach\ Boys\ -\ Do\ it\ again.mp3 ! decodebin ! audioconvert ! alsasink Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/alsasink0: Could not open resource for writing. Additional debug info: gstalsasink.c(778): gst_alsasink_open (): /pipeline0/alsasink0: Playback open error: No such device Setting pipeline to NULL ... FREEING pipeline ... Steps to reproduce: 1) Put packages in /etc/portage/packages.keywords till bmpx is able to emerge (see attachment further on) 2) Follow the GStreamer guide on the BMPx Wiki: http://bmpx.beep-media-player.org/site/BMPx_and_GStreamer#Checking_your_installation 3) Before "Testing all the pipeline" of the BMPx Wiki, follow the guide on "TIP Troubleshooting Gstreamer" on the Gentoo Wiki: http://gentoo-wiki.com/TIP_Troubleshooting_Gstreamer 4) Run $gst-launch-0.10 filesrc location=some_mp3 ! decodebin ! audioconvert ! alsasink Extra notes: -Xmms works fine (except for leaking one meg of RAM per minute which was the reason for installing bmpx), xmms can use ALSA and plays MP3's fine, -If I $madplay the exact same location (mp3) as given above, all works well. -I only started working with gstreamer yesterday, so I don't know if it's a problem I mixed up the 0.10 and .8 branch (In other words: I wish I exactly knew all I was doing). I find gstreamer pretty confusing, especially in combination with BMPx, so I hope I didn't screwed all up. -My .asoundrc uses dmix, followed the now obsolete "Gentoo HOWTO ALSA sound mixer aka dmix" wiki. _______________ Here's my .asoundrc (which works fine using xmms and madplay:) pcm.nvsound { type hw card 0 } ctl.nvsound { type hw card 0 } pcm.dmixer { type dmix ipc_key 1024 ipc_key_add_uid false ipc_perm 0666 # mixing for all users # for users only in your group use 0660 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 8192 rate 44100 } bindings { 0 0 1 1 } } pcm.dsp0 { type plug slave.pcm "dmixer" } pcm.!default { type plug slave.pcm "dmixer" } pcm.default { type plug slave.pcm "dmixer" } ctl.mixer0 { type hw card 0 } ______________ Here's the /etc/portage/package.keywords file: www-client/mozilla-firefox-bin kde-base/kdepim app-crypt/gpgme app-crypt/gnupg dev-libs/libksba dev-libs/libassuan kde-base/kdelibs kde-base/kdebase media-sound/bmpx net-misc/neon media-libs/gst-plugins-good media-libs/gst-plugins-base media-libs/gstreamer dev-libs/glib media-plugins/gst-plugins-a52dec media-plugins/gst-plugins-alsa media-plugins/gst-plugins-annodex media-plugins/gst-plugins-cdio media-plugins/gst-plugins-cdparanoia media-plugins/gst-plugins-dts media-plugins/gst-plugins-dv media-plugins/gst-plugins-dvdnav media-plugins/gst-plugins-dvdread media-plugins/gst-plugins-esd media-plugins/gst-plugins-faac media-plugins/gst-plugins-faad media-plugins/gst-plugins-farsight media-plugins/gst-plugins-ffmpeg media-plugins/gst-plugins-flac media-plugins/gst-plugins-fluendo-mpegdemux media-plugins/gst-plugins-gconf media-plugins/gst-plugins-gnomevfs media-plugins/gst-plugins-jpeg media-plugins/gst-plugins-lame media-plugins/gst-plugins-libmms media-plugins/gst-plugins-libpng media-plugins/gst-plugins-libvisual media-plugins/gst-plugins-mad media-plugins/gst-plugins-mikmod media-plugins/gst-plugins-mpeg2dec media-plugins/gst-plugins-musepack media-plugins/gst-plugins-neon media-plugins/gst-plugins-ogg media-plugins/gst-plugins-oss media-plugins/gst-plugins-pango media-plugins/gst-plugins-pitfdll media-plugins/gst-plugins-raw1394 media-plugins/gst-plugins-shout2 media-plugins/gst-plugins-sidplay media-plugins/gst-plugins-speex media-plugins/gst-plugins-swfdec media-plugins/gst-plugins-theora media-plugins/gst-plugins-v4l media-plugins/gst-plugins-v4l2 media-plugins/gst-plugins-vorbis media-plugins/gst-plugins-x media-plugins/gst-plugins-ximagesrc media-plugins/gst-plugins-xvideo _____________ Here's my make.conf (note I used the different C/CXXFLAGS and LDFLAGS for gstrteamer, gst-plugins and all plugins, like given in the TIP troubleshooting Gstreamer guide): # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O3 -mtune=i686 -pipe -fforce-addr" CHOST="i386-pc-linux-gnu" CXXFLAGS="${CFLAGS}" GENTOO_MIRRORS= "ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/" USE="16bit 3dnow 3dnowext X509 a52 aac amd asf asm async authdaemond automount bash-completion bcmath bittorrent cairo calendar ccache cdda cddb cdparanoia clamav cpudetection css dbase dbus dbx devmap dga dlloader dnotify dpms dvd dvdr erandom escreen etwin extensions fftw firefox gimp gimpprint ginac glx gnustep gs hpn id3 input_devices_keyboard input_devices_mouse irssi jack-tmpfs javascript jikes justify kcal kdeenablefinal kdepim kdexdeltas ladspa lame lesstif logrotate lzo mbox mcal mime mjpeg mmap mmx mouse moznocompose moznoirc moznomail mozsvg mp4 mp4live mpeg2 mplayer msn musepack musicbrainz network nfs no-old-linux nodrm nodroproot nolvm1 nomirrors nsplugin nvidia obcj ocaml offensive openssh openssl pda ppds real rtc sasl scanner sharedmem stream subtitles svg swat sysvipc threads toolbar urandom utf8 video_cards_nvidia video_cards_vesa vim win32codecs x264 xanim xine xpm xvmc zip -apm -arts -emboss unicode objc" _____________________ All other packages were (as far as I know) compiled using i386-pc-linux-gnu-3.4.5, though I used i386-pc-linux-gnu-3.3.5-20050130-vanilla for re-emerging all gstreamer packages, like told in the Troubleshooting Gstreamer guied. Is it a problem mixing up gcc 3.4.5 and gcc 3.3.5 vanilla?
I forgot emerge --info as I see now. Here it is: Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.3.5-20050130-vanilla, glibc- 2.3.6-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Sempron(tm) Processor 2600+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O3 -mtune=i686 -pipe -fforce-addr" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/ X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=i686 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/" LANG="en_US" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X X509 a52 aac alsa amd asf asm async audiofile au thdaemond automount avi bash-completion bcmath berkdb bitmap-fonts bittorrent bz ip2 cairo calendar ccache cdda cddb cdparanoia cdr clamav cli cpudetection crypt css cups curl dbase dbus dbx devmap dga dlloader dnotify dpms dri dvd dvdr eds encode erandom escreen esd etwin exif expat extensions fam ffmpeg fftw firefox f lac foomaticdb fortran gdbm gif gimp gimpprint ginac glut glx gmp gnome gnustep gpm gs gstreamer gtk gtk2 hal hpn id3 idn imagemagick imlib input_devices_keyboa rd input_devices_mouse ipv6 irssi isdnlog jack jack-tmpfs java javascript jikes jpeg justify kcal kde kdeenablefinal kdepim kdexdeltas ladspa lame lcms lesstif libg++ libwww logrotate lua lzo mad mbox mcal mikmod mime mjpeg mmap mmx mng mot if mouse moznocompose moznoirc moznomail mozsvg mp3 mp4 mp4live mpeg mpeg2 mplay er msn musepack musicbrainz ncurses network nfs nls no-old-linux nodrm nodroproo t nolvm1 nomirrors nsplugin nvidia obcj objc ocaml offensive ogg opengl openssh openssl oss pam pcre pda pdflib perl png ppds pppd python qt quicktime readline real recode reflection rtc samba sasl scanner sdl session sharedmem speex spell spl ssl stream subtitles svg svga swat sysvipc tcltk tcpd threads tiff toolbar t ruetype truetype-fonts type1-fonts udev unicode urandom usb utf8 video_cards_nvi dia video_cards_vesa vim vorbis win32codecs wmf x264 xanim xine xml xml2 xmms xo rg xpm xv xvid xvmc zip zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC _EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
I did an strace -e open and got this: open("/dev/snd/controlC0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC0", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- (last line 6 times) Does this help anything?
It seems there are some /dev files missing, alsamixer doesn't work also. The Gentoo-alsa-guide says it has to do with udev. Therefore I'd say this isn't a gstreamer bug, so closing this bug for now.