[Bug 660170] New: Excessive CPU Usage When Using `alsasrc ! audiorate'
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Sep 26 12:51:22 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=660170
GStreamer | gst-plugins-base | git
Summary: Excessive CPU Usage When Using `alsasrc ! audiorate'
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: bgmarete at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Using audiorate to smooth out the stream produced by alsasrc causes excessive
CPU usage. On my machine, a Core i5 that has 2 cores and 4 hyperthreads, it
uses more than 1 hyperthread.
This pipeline trivially reproduces the problem:
gst-launch alsasrc ! audiorate ! wavenc ! filesink location=/dev/null
Redirecting the filesink location to an actual file shows that audiorate is
producing an excessive number of samples (many thousands a second -- see the
attached log also) and will produce a multi-gigabyte file within a minuite.
Attached is a debug log generating by setting alsasrc and audiorate to debug
logging levels.
--
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