[pulseaudio-discuss] Re Problem with parec
Benjamin de Besses
b2besses at free.fr
Sun Dec 6 03:03:34 PST 2009
Le dimanche 06 décembre 2009 à 01:09 +0200, Tanu Kaskinen a écrit :
> la, 2009-12-05 kello 23:01 +0100, Benjamin de Besses kirjoitti:
> > Hi,
> >
> > I have a similar problem with parec that the one describes in the
> > following
> > https://tango.0pointer.de/pipermail/pulseaudio-discuss/2009-September/005077.html
> >
> > I am capturing the simultaneous output called combined.monitor with the
> > module-suspend-on-idle unloaded and when the combined.monitor goes on
> > idle parec stop to send data (i.e. silence) to the vlc pipe.
> >
> > Here the command I have used
> >
> > parec --device=$SEL_DEVICE --format=s16le --rate=44100 --channels=2 | \
> > vlc --no-video --demux=rawaud --rawaud-fourcc=s16l \
> > --rawaud-samplerate=44100 --rawaud-channels=2 \
> > --file-caching=500 --open="-" \
> > --sout=SOMEWHERE-ON-A-NETWORK
>
> Are you sure the silence doesn't just come in bigger (and thus less
> frequent) chunks? This thread may be interesting:
> https://tango.0pointer.de/pipermail/pulseaudio-discuss/2009-October/005200.html
>
Interesting point but parec really doesn't record the silence of the
combined.monitor device.
With the command:
parec --device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
--format=s16le --rate=44100 --channels=2 --verbose test.pcm
parec record the silence perfectly
But with the command:
parec --device=combined.monitor --format=s16le --rate=44100 --channels=2
--verbose test.pcm
parec do not to record the silence when combined.monitor goes on idle:
the test.pcm file size the time stop to increase.
bnj
More information about the pulseaudio-discuss
mailing list