[Bug 648181] New: pulsesrc should reinit caps if we need to
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Apr 19 00:28:56 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=648181
GStreamer | gst-plugins-good | git
Summary: pulsesrc should reinit caps if we need to
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: bug-track at fisher-privat.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In some situations, for example empathy/telepathy, we do not know what caps do
we need to initiate pulsesrc. We even do not know what codec will be used at
what sample rate.
Possible codecs variations are:
audio/SPEEX:8000; audio/SPEEX:16000; audio/AMR; audio/G729; audio/ILBC; ... may
be CELP too.
To initiate one of this codec we should initiate the source (vor example
pulsesrc). Pulsesrc will automatically set 44100Hz with two channels. After
Codec is started we will need 8000 or 16000 Hz with one channel (May be some
time in the future 2 as well?). The curious thing, my external webcam/mic
provide only 16000 Hz. So at end result CPU is really besy with resampling:
mic(16000Hz/1channel)->pulsesrc(44100/2ch)->speexenc(16000/1ch).
The fact it resamples two chennels insted of one make things worse.
=====================================================================
So my wish is to add some kind of reinit call to pulsesrc, after speexenc (or
other codec) is linked.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list