<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css><!-- DIV {margin:0px;} --></STYLE>
<META content="MSHTML 6.00.2800.1611" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008>What's the rootcause of noise and stuttering
?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008>For normal playback, it should not have issues. If
decoder didn't drop data, I think alsasink did it.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008>By gstaudiosink mechanism, it will drop data replaced
with blank data when data is late. I guess the rootcause is
that.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008>If that, I have no ideas except adding a queue before
alsasink, and when queue is empty, pause the pipeline, it will not cause
dropout, but still discontinous.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=500200609-29072008></SPAN></FONT> </DIV>
<DIV class=Section1><SPAN class=500200609-29072008></SPAN><FONT
face="Courier New"><FONT color=#0000ff>Z<SPAN class=500200609-29072008>hao
liang</SPAN></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
gstreamer-embedded-bounces@lists.sourceforge.net
[mailto:gstreamer-embedded-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Dennis Fleming<BR><B>Sent:</B> Tuesday, July 29, 2008 4:37 AM<BR><B>To:</B>
gstreamer-embedded@lists.sourceforge.net<BR><B>Subject:</B> [gst-embedded] noise
and stuttering<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>I'm trying to create an audio player on an IMX31 target and I've found a
discrepancy in the output of various formats. If I send MP3 data I have to
set the buffer-time and latency-time to 10000 and 100 respectively to play
without severe dropouts. However WAV files still have drop-out at a
consistent rate (about 1 per 10 sec). Are there some general features I'm
missing or is there some guidance on the buffer-time/latency time that would
account for this difference?<BR><BR>Linux 2.6.22.19<BR>gstreamer 0.10.17
(open-embedded)<BR>gst-launch filesrc location=<file> ! decodebin !
alsasink buffer-time=10000
latency-time=100<BR><BR>Dennis<BR></DIV></DIV></BODY></HTML>