Summary: | media-libs/gstreamer: No sound with gstreamer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | silent <me> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
silent
2009-01-10 15:02:09 UTC
emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.0 Timestamp of tree: Sat, 10 Jan 2009 13:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=prescott -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles" LANG="C" LDFLAGS="-Wl,-O1" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/bobrik-cleartype" SYNC="rsync://rsync.mirror.yandex.ru/gentoo-portage/" USE="X a52 aac acl acpi alsa beagle bluetooth bzip2 cairo cli cracklib crypt cups dbus djvu dri dvb dvd exif fam ffmpeg flac fortran fuse gdbm gif gnome gnome-keyring gphoto2 gstreamer gtk hal iconv isdnlog ithreads jpeg jpeg2k libnotify lzma mad midi mmx mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python raw readline reflection samba session spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode x86 xcomposite xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge gst-plugins-alsa That should solve your problem, i encountered the same problem today. I think the gstreamer ebuild should have a use flag "alsa" that depends on the gstreamer alsa plugins. Ill write a sample one right now and upload it in afew minutes. I tried it already. And will try today, after full system rebuild. The same situation =( Please help me. Maybe some supposition? What does this give you ? GST_DEBUG=alsasink:5 gst-launch audiotestsrc ! alsasink silent@silentnote ~ $ gst-launch-0.10 audiotestsrc Setting pipeline to PAUSED ... Pipeline is PREROLLED ... ERROR: from element /pipeline0/audiotestsrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2240): gst_base_src_loop (): /pipeline0/audiotestsrc0: streaming task paused, reason not-linked (-1) ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... FREEING pipeline ... silent@silentnote ~ $ alsasink -bash: alsasink: command not found silent@silentnote ~ $ gst-launch-0.10 audiotestsrc ! alsasink Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/alsasink0: Could not open audio device for playback. Additional debug info: gstalsasink.c(697): gst_alsasink_open (): /pipeline0/alsasink0: Playback open error on device 'default': Function not implemented Setting pipeline to NULL ... FREEING pipeline ... Sorry. GST_DEBUG=alsasink:5 gst-launch-0.10 audiotestsrc ! alsasink Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/alsasink0: Could not open audio device for playback. Additional debug info: gstalsasink.c(697): gst_alsasink_open (): /pipeline0/alsasink0: Playback open error on device 'default': Function not implemented Setting pipeline to NULL ... FREEING pipeline ... Maybe I need to recompile somewhat with [debug] use flag ? You're alsa is not configure properly... see http://www.gentoo.org/doc/en/alsa-guide.xml So why can I hear sound from netscape-flash? It is not using alsa? OK, I'll try to check the doc now, thanks. 1. Rebuild kernel with alsa support as a module with my sound card 2. alsaconf as root and my sound card selection, then: Running update-modules... * Updating /etc/modprobe.conf by hand ... [ ok ] * Updating modules.dep ... [ ok ] Loading driver... * Loading ALSA modules ... * Could not detect custom ALSA settings. Loading all detected alsa drivers. * Loading: snd_hda_intel ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Loading: snd-seq ... [ ok ] * Restoring Mixer Levels... [ ok ] Setting default volumes... and OK. 3. At the reboot (alsasound at the boot runlevel) I see only snd-pcm-oss and snd-seq modules, not snd_hda_intel. The result: audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink profile=chat: Could not open audio device for playback. silentnote home # GST_DEBUG=alsasink:5 gst-launch-0.10 audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink profile=chat Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /autoaudiosink0-actual-sink-alsa: Could not open audio device for playback. Additional debug info: gstalsasink.c(697): gst_alsasink_open (): /autoaudiosink0-actual-sink-alsa: Playback open error on device 'default': Function not implemented Setting pipeline to NULL ... FREEING pipeline ... sorry, but reopening You have ALSA issues that you need to fix first. And netscape-flash is possibly the worst application to debug the problem. Please emerge mplayer with the alsa USE flag, or aplay, and use those tools to debug alsa. Once alsa works properly, and if gstreamer still fails, please reopen another bug. Thanks ok, I'll try it at evening. thank you. Don't know what it is =( Thanks. |