[pulseaudio-discuss] Question about using parec

Achim Frase achim.frase at googlemail.com
Sun Aug 10 07:00:22 PDT 2008


Am Sonntag, den 10.08.2008, 15:30 +0200 schrieb Christian:
> Hi Achim,
> Many thanks for your email!
> I've tried both your examples, but so far no luck.
> Here is what I get when I type pactl list | grep monitor
> Name: 
> alsa_output.usb_device_d8c_c_noserial_if0_sound_card_0_alsa_playback_0.monitor
> I also installed gstreamer-tools.
> If I do:
> 
> pacat -r -d alsa_output.usb_device_d8c_c_noserial_if0_sound_card_0_alsa_playback_0.monitor test.pcm I get:
> Too many arguments.
> What am I doing wrong here?
> Best regards and many thanks,
> Christian

At the moment I don't know what there seems to be wrong.
The command line looks good as far as I can tell.

If you use pacat you don't need the gstreamer package.

Have you tried to do it this way:

$ gst-launch pulsesrc
device=alsa_output.usb_device_d8c_c_noserial_if0_sound_card_0_alsa_playback_0.monitor ! queue ! audioconvert ! wavenc ! filesink location=out.wav

Take care that there are no line breaks, after you copied the command
line to the terminal.

Regards
Achim




More information about the pulseaudio-discuss mailing list