[pulseaudio-discuss] bug in gstreamer or pulseaudio?
Achim Frase
achim.frase at googlemail.com
Tue Aug 12 07:07:35 PDT 2008
Am Dienstag, den 12.08.2008, 15:50 +0200 schrieb Achim Frase:
> Am Dienstag, den 12.08.2008, 14:25 +0100 schrieb Colin Guthrie:
> > Achim Frase wrote:
> > > If I try to record 5.1 sound with this command line the channels get
> > > mixed up.
> > >
> > > gst-launch pulsesrc
> > > device=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0.monitor !
> > > queue ! audio/x-raw-float,rate=44100,channels=6 ! audioconvert !
> > > vorbisenc quality=.8 ! oggmux ! filesink location=outtest.ogg
> > >
> > > If someone finds the time to look at it, that would be nice.
> > > http://bugzilla.gnome.org/show_bug.cgi?id=547258
> >
> > I think channel mapping is a bit of a black art. You may need to specify
> > your own channel map when loading the alsa source.... although as you
> > are using a monitor, you perhaps need a "remap source" module loaded
> > (which is a shame as AFAIK, there is only a remap-sink module right now!).
>
> okay, interesting.
>
> > All that said, as it presumably works fine for output, you'd expect that
> > recording from the monitor, you'd get a file that you could then output
> > properly.
>
> Yes, my channel mapping seems to work quite good for playback
> (out-of-the-box). But it is a bit tricky to record 5.1 Sound.
> I was not able to record the sound properly with pacat. I have tried
> some options but without much success.
Sorry for the noise, I thought I give pacat a second try and now it
works. I needed to set the channel mapping as options for pacat.
What I don't understand is why the normal playback works without any
extra options. I only set the default-sample-channels = 6 in
the /etc/pulse/daemon.conf
> > That said, I've had issues with oggs before where they get the mapping
> > wrong :s
>
> Thanks for your help so far.
More information about the pulseaudio-discuss
mailing list