<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-GB>Hello everyone,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>I trying to develop an application to
stream h263 video together with amr audio, I am able to do this through the
command line of GStreamer by typing this command:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>gst-launch filesrc
location=media/video.3gp ! decodebin name=decoder decoder. ! ffenc_h263 !
rtph263pay ssrc=-1 pt=34 ! udpsink host=192.168.0.2 port=22222 decoder. !
mulawenc ! rtppcmupay ssrc=-1 pt=97 ! udpsink host=192.168.0.2 port=22222<o:p></o:p></span></p>

<p class=MsoNormal><b><span lang=EN-GB style='color:#1F497D'>or<o:p></o:p></span></b></p>

<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>gst-launch filesrc
location=media/video.3gp ! qtdemux name=demuxer demuxer. ! queue ! ffdec_h263 !
ffenc_h263 ! rtph263pay ssrc=-1 pt=34 ! udpsink host=192.168.0.2 port=22222
demuxer. ! queue ! amrnbdec ! mulawenc ! rtppcmupay ssrc=-1 pt=97 ! udpsink
host=192.168.0.2 port=22222<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>In both the cases I am able to send both
audio and video, but there is a problem with synchronisation between the audio
and video. The audio seems to get ahead from the video with a few seconds, also
the output audio in the beginning produces some glitches. I need to be able to
receive audio and video stream from something like a 3gp or mov file, both the
streams synchronised and it would be really helpful if someone could explain me
how I can assemble it into a C file.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>I don&#8217;t know how to progress from
here and would really appreciate your help on this, also I was wondering if it
has something to do with the rtpbin element available from the farsight gst
plugins?<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Regards<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#943634'>Harvinder Singh<o:p></o:p></span></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family: 'Trebuchet MS',sans-serif; color: gray"><font size="1">This e-mail message (including any attachment) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. Any opinions expressed in this email (including attachments) are those of the author only.  This message (including any attachments) does not create any legally binding rights or obligations. D2see Limited is a company registered in England and Wales no. 5836806. Registered Office: 10 Barley Mow Passage, London W4 4PH, UK. VAT registered, no. 888 1076 85.  Tel +44 20 8819 5710.</font></span></p>