<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1611" name=GENERATOR><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=151070407-20082008>Do you mean you need to share these 3 buffers between 
elements?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=151070407-20082008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=151070407-20082008>if that, I think you can override&nbsp;pad 
bufferallocfunc, but make sure you are using gst_pad_alloc_buffer, not 
gst_buffer_new. In bufferallocfunc, you can manage your buffer allocation, 
please refer gstpad document and code.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN 
class=151070407-20082008></SPAN></FONT>&nbsp;</DIV><SPAN 
class=151070407-20082008></SPAN><FONT face="Courier New"><FONT 
color=#0000ff>Zhao&nbsp;Liang<SPAN 
class=151070407-20082008></SPAN></FONT></FONT><BR>
<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>JitendraJain@Emerson.com<BR><B>Sent:</B> Tuesday, August 19, 2008 11:48 
AM<BR><B>To:</B> ensonic@hora-obscura.de<BR><B>Cc:</B> 
gstreamer-embedded@lists.sourceforge.net; 
Ketan.Deshpande@Emerson.com<BR><B>Subject:</B> Re: [gst-embedded] List of APIs 
for Gstreamer<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello Stefan, 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Thanks for your reply.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;What we mean by live buffer 
management is&#8230;the video driver keeps playing between 3 buffers and it manages 
them depending on which one has been claimed or not. 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So when we are doing some 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Live capture </SPAN></FONT><FONT 
face=Wingdings size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings">&agrave;</SPAN></FONT><FONT face=Arial 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Video Encoding 
</SPAN></FONT><FONT face=Wingdings size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings">&agrave;</SPAN></FONT><FONT face=Arial 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Putting encoded data 
in some container (using gstreamer) <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does gstreamer also have some method 
to do that kind of 3 buffers management? As we are not sure if the Encoder will 
give buffers continuously or may hold one buffer for creating P 
frames</SPAN></FONT><o:p></o:p></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">Jitendra<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">-----Original Message-----<BR>From: Stefan Kost 
[mailto:ensonic@hora-obscura.de] <BR>Sent: Tuesday, August 19, 2008 2:08 
AM<BR>To: <st1:PersonName 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on">Jain, Jitendra [PROTOOL/RTC/INPU]</st1:PersonName><BR>Cc: 
gstreamer-embedded@lists.sourceforge.net; <st1:PersonName 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on">Deshpande, Ketan 
[PROTOOL/ETC/INPU]</st1:PersonName><BR>Subject: Re: [gst-embedded] List of APIs 
for Gstreamer</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">JitendraJain@Emerson.com 
schrieb:<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Hello Everybody,<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt;&nbsp;&nbsp; I am a newbie to gstreamer and would 
like to know if there is some <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; kind of API guide for the 
gstreamer.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">Yes. I am sure you can find the documentation link on 
gstreamers homepage.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt;&nbsp;&nbsp; Also can we do some live video 
recording with gstreamer???<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">Yes.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Does it support live video buffer 
management???<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">What do you mean by that?<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">Stefan<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt;&nbsp;&nbsp; Where should i be looking at for that 
help?<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt;&nbsp;&nbsp; Thanks for help in 
advance.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Jitendra<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
------------------------------------------------------------------------<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
-------------------------------------------------------------------------<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; This SF.Net email is sponsored by the Moblin Your 
Move Developer's challenge<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Build the coolest Linux based applications with 
Moblin SDK &amp; win great prizes<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Grand prize is a trip for two to an Open Source 
event anywhere in the world<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
------------------------------------------------------------------------<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; <o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
_______________________________________________<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; Gstreamer-embedded mailing 
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
Gstreamer-embedded@lists.sourceforge.net<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt">&gt; 
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BODY></HTML>