Am Mittwoch, den 22.12.2010, 13:06 +0100 schrieb Maarten Bosmans: > 2010/12/20 Alexey Fisher <bug-track at fisher-privat.net>: > > Am Montag, den 20.12.2010, 14:10 +0100 schrieb Maarten Bosmans: > >> 2010/12/20 Alexey Fisher <bug-track at fisher-privat.net>: > >> > Hallo all, > >> > i have a problem to capture anything on any *.monitor device. Steps to > >> > reproduce. > >> > Generate sound: > >> > gst-launch audiotestsrc ! audioconvert ! pulsesink > >> > > >> > capture sound: > >> > gst-launch pulsesrc > >> > device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor ! > >> > audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg > >> > > >> > i get only silence it output file. > >> > >> What do the vumeters in pavucontrol tell you for the alsa sink? > > > > Nothing (no sound). But pulse is working. > > What do you mean by pulse is working? Do you hear the gst-launch > audiotestsrc coming from your speakers? yes. > > pactr list is in attachment > > I can read German, but for posting on this list a LANG=C in front of > the pactl command is probably appropriate. you right. > Can you provide one with the two gst-launch commands running? attached. -- Regards, Alexey -------------- next part -------------- Welcome to PulseAudio! Use "help" for usage information. >>> Memory blocks currently allocated: 266, size: 220,8 KB. Memory blocks allocated during the whole lifetime: 1647180, size: 2,4 GB. Memory blocks imported from other processes: 61, size: 80,6 KB. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-0000_00_1b.0.analog-stereo Default source name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Memory blocks of type POOL: 205 allocated/1172301 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/114074 accumulated. Memory blocks of type IMPORTED: 61 allocated/360805 accumulated. 23 module(s) loaded. index: 0 name: <module-device-restore> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "0.9.21-63-gd3efa-dirty" index: 1 name: <module-stream-restore> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "0.9.21-63-gd3efa-dirty" index: 2 name: <module-card-restore> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically restore profile of cards" module.version = "0.9.21-63-gd3efa-dirty" index: 3 name: <module-augment-properties> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Augment the property sets of streams with additional static information" module.version = "0.9.21-63-gd3efa-dirty" index: 4 name: <module-alsa-card> argument: <device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1"> used: 4 load once: no properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "0.9.21-63-gd3efa-dirty" index: 5 name: <module-udev-detect> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Detect available audio hardware and load matching drivers" module.version = "0.9.21-63-gd3efa-dirty" index: 6 name: <module-bluetooth-discover> argument: <> used: -1 load once: yes properties: module.author = "Joao Paulo Rechi Vita" module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers" module.version = "0.9.21-63-gd3efa-dirty" index: 7 name: <module-esound-protocol-unix> argument: <> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "ESOUND protocol (UNIX sockets)" module.version = "0.9.21-63-gd3efa-dirty" index: 8 name: <module-native-protocol-unix> argument: <> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "Native protocol (UNIX sockets)" module.version = "0.9.21-63-gd3efa-dirty" index: 9 name: <module-combine> argument: <> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "Combine multiple sinks to one" module.version = "0.9.21-63-gd3efa-dirty" index: 10 name: <module-gconf> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "GConf Adapter" module.version = "0.9.21-63-gd3efa-dirty" index: 11 name: <module-default-device-restore> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically restore the default sink and source" module.version = "0.9.21-63-gd3efa-dirty" index: 12 name: <module-rescue-streams> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "When a sink/source is removed, try to move their streams to the default sink/source" module.version = "0.9.21-63-gd3efa-dirty" index: 13 name: <module-always-sink> argument: <> used: -1 load once: yes properties: module.author = "Colin Guthrie" module.description = "Immer mindestens ein Datenfeld im Speicher halten, auch wenn es leer ist" module.version = "0.9.21-63-gd3efa-dirty" index: 14 name: <module-intended-roles> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based of intended roles of devices" module.version = "0.9.21-63-gd3efa-dirty" index: 15 name: <module-suspend-on-idle> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "When a sink/source is idle for too long, suspend it" module.version = "0.9.21-63-gd3efa-dirty" index: 16 name: <module-console-kit> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Create a client for each ConsoleKit session of this user" module.version = "0.9.21-63-gd3efa-dirty" index: 17 name: <module-position-event-sounds> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." module.version = "0.9.21-63-gd3efa-dirty" index: 18 name: <module-x11-publish> argument: <display=:0.0> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "X11 credential publisher" module.version = "0.9.21-63-gd3efa-dirty" index: 19 name: <module-x11-bell> argument: <display=:0.0 sample=bell.ogg> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "X11 bell interceptor" module.version = "0.9.21-63-gd3efa-dirty" index: 20 name: <module-x11-cork-request> argument: <display=:0.0> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "Synthesize X11 media key events when cork/uncork is requested" module.version = "0.9.21-63-gd3efa-dirty" index: 21 name: <module-x11-xsmp> argument: <display=:0.0 session_manager=local/zwerg:@/tmp/.ICE-unix/4975,unix/zwerg:/tmp/.ICE-unix/4975> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "X11 session management" module.version = "0.9.21-63-gd3efa-dirty" index: 22 name: <module-cli-protocol-unix> argument: <> used: -1 load once: no properties: module.author = "Lennart Poettering" module.description = "Command line interface protocol (UNIX sockets)" module.version = "0.9.21-63-gd3efa-dirty" 2 sink(s) available. * index: 0 name: <alsa_output.pci-0000_00_1b.0.analog-stereo> driver: <module-alsa-card.c> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: RUNNING suspend cause: priority: 9959 volume: 0: 100% 1: 100% 0: 0,00 dB 1: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: no current latency: 4,85 ms max request: 0 KiB max rewind: 64 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 2 linked by: 3 configured latency: 5,00 ms; range is 0,50 .. 371,52 ms card: 0 <alsa_card.pci-0000_00_1b.0> module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "STAC92xx Analog" alsa.id = "STAC92xx Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xe0620000 irq 43" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "3a3e" device.product.name = "82801JI (ICH10 Family) HD Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internes Audio Analog Stereo" alsa.mixer_name = "Intel Eaglelake HDMI" alsa.components = "HDA:111d7676,80865002,00100202 HDA:80862803,80860101,00100000" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: analog-output: Analog Output (priority 9900) analog-output-headphones: Analog Headphones (priority 9000) active port: <analog-output> index: 1 name: <combined> driver: <module-combine.c> flags: DECIBEL_VOLUME LATENCY state: IDLE suspend cause: priority: 1000 volume: 0: 100% 1: 100% 0: 0,00 dB 1: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 1 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 5,00 ms module: 9 properties: device.class = "filter" device.description = "Simultaneous output to Internes Audio Analog Stereo" device.icon_name = "audio-card" 2 source(s) available. * index: 0 name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor> driver: <module-alsa-card.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: RUNNING suspend cause: priority: 1950 volume: 0: 100% 1: 100% 0: 0,00 dB 1: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: yes current latency: 0,00 ms max rewind: 64 KiB sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 1 linked by: 1 configured latency: 5,00 ms; range is 0,50 .. 371,52 ms monitor_of: 0 card: 0 <alsa_card.pci-0000_00_1b.0> module: 4 properties: device.description = "Monitor of Internes Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xe0620000 irq 43" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "3a3e" device.product.name = "82801JI (ICH10 Family) HD Audio Controller" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" index: 1 name: <combined.monitor> driver: <module-combine.c> flags: DECIBEL_VOLUME LATENCY state: IDLE suspend cause: priority: 1000 volume: 0: 100% 1: 100% 0: 0,00 dB 1: 0,00 dB balance 0,00 base volume: 100% 0,00 dB volume steps: 65537 muted: yes current latency: 0,00 ms max rewind: 0 KiB sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 5,00 ms monitor_of: 1 module: 9 properties: device.description = "Monitor Source of Simultaneous output to Internes Audio Analog Stereo" device.class = "monitor" device.icon_name = "audio-input-microphone" 11 client(s) logged in. index: 0 driver: <module-console-kit.c> owner module: 16 properties: application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session2" console-kit.session = "/org/freedesktop/ConsoleKit/Session2" index: 1 driver: <protocol-native.c> owner module: 8 properties: application.name = "GNOME Volume Control Media Keys" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.id = "org.gnome.VolumeControl" application.icon_name = "multimedia-volume-control" application.version = "2.32.0" application.process.id = "5024" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gnome-settings-daemon" window.x11.display = ":0.0" application.language = "de_DE.utf8" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 7 driver: <module-x11-xsmp.c> owner module: 21 properties: application.name = "XSMP Session on gnome-session as 105345b1b0ad8b6a0f129300604775462300000049750032" xsmp.vendor = "gnome-session" xsmp.client.id = "105345b1b0ad8b6a0f129300604775462300000049750032" index: 8 driver: <protocol-native.c> owner module: 8 properties: application.name = "ayatana.indicator.sound" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "5236" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "indicator-sound-service" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 22 driver: <protocol-native.c> owner module: 8 properties: application.name = "Skype" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "5971" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "skype" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" application.icon_name = "skype.png" index: 25 driver: <protocol-native.c> owner module: 8 properties: application.name = "Empathy" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.icon_name = "empathy" window.x11.display = ":0.0" window.x11.screen = "0" application.process.id = "5080" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "empathy" application.language = "de_DE.utf8" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 39 driver: <protocol-native.c> owner module: 8 properties: application.name = "libcanberra" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.version = "0.25" application.id = "org.freedesktop.libcanberra" application.process.id = "6956" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "firefox-4.0-bin" window.x11.display = ":0.0" application.language = "de_DE.utf8" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 41 driver: <protocol-native.c> owner module: 8 properties: application.name = "gst-launch-0.10" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "7476" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gst-launch-0.10" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 43 driver: <protocol-native.c> owner module: 8 properties: application.name = "gst-launch-0.10" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "7526" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gst-launch-0.10" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 44 driver: <protocol-native.c> owner module: 8 properties: application.name = "gst-launch-0.10" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "7526" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gst-launch-0.10" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" index: 49 driver: <cli.c> owner module: 22 properties: application.name = "UNIX socket client" 1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xe0620000 irq 43" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "3a3e" device.product.name = "82801JI (ICH10 Family) HD Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Internes Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) output:analog-surround-40: Analog Surround 4.0 Output (priority 700) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760) output:analog-surround-41: Analog Surround 4.1 Output (priority 800) output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860) output:analog-surround-50: Analog Surround 5.0 Output (priority 700) output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760) output:analog-surround-51: Analog Surround 5.1 Output (priority 800) output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860) output:analog-surround-71: Analog Surround 7.1 Output (priority 700) output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760) output:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5500) output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560) output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460) input:analog-stereo: Analog Stereo Input (priority 60) off: Aus (priority 0) active profile: <output:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Internes Audio Analog Stereo sources: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Internes Audio Analog Stereo 2 sink input(s) available. index: 52 driver: <protocol-native.c> flags: START_CORKED state: RUNNING sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo> volume: 0: 100% 0: 0,00 dB balance 0,00 muted: no current latency: 93,70 ms requested latency: 90,00 ms sample spec: float32le 1ch 44100Hz channel map: mono Mono resample method: copy module: 8 client: 41 <gst-launch-0.10> properties: media.name = "audiotest wave" application.name = "gst-launch-0.10" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "7476" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gst-launch-0.10" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" module-stream-restore.id = "sink-input-by-application-name:gst-launch-0.10" index: 54 driver: <module-combine.c> flags: VARIABLE_RATE DONT_MOVE NO_CREATE_SUSPEND state: DRAINED sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo> volume: 0: 100% 1: 100% 0: 0,00 dB 1: 0,00 dB balance 0,00 muted: no current latency: 0,00 ms requested latency: 200,00 ms sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo resample method: trivial module: 9 properties: media.name = "Simultaneous output on Internes Audio Analog Stereo" media.role = "filter" module-stream-restore.id = "sink-input-by-media-role:filter" 1 source outputs(s) available. index: 9 driver: <protocol-native.c> flags: START_CORKED state: RUNNING source: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor> current latency: 2,70 ms requested latency: 5,00 ms sample spec: float32le 1ch 44100Hz channel map: mono Mono resample method: copy owner module: 8 client: 44 <gst-launch-0.10> properties: media.name = "Record Stream" application.name = "gst-launch-0.10" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "7526" application.process.user = "lex" application.process.host = "zwerg" application.process.binary = "gst-launch-0.10" application.language = "de_DE.utf8" window.x11.display = ":0.0" application.process.machine_id = "f1c3e6c14665b307d5c82eb14c656a6a" application.process.session_id = "f1c3e6c14665b307d5c82eb14c656a6a-1293006033.334061-1002831218" module-stream-restore.id = "source-output-by-application-name:gst-launch-0.10" 0 cache entrie(s) available. >>>