<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="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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Barry,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp; There&#8217;s been some compatibility
issues introduced in the latest versions of gstreamer. If you&#8217;re building
gstreamer from source then this code change will fix the problem. I don&#8217;t
know when the problem was introduced, sorry.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp; From memory, I don&#8217;t have the
source here tonight, you need to change the asterisk rtp payload plugin with
the following pad definition:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>GST_STATIC_PAD_TEMPLATE
(&quot;sink&quot;,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; GST_PAD_SINK,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; GST_PAD_ALWAYS,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; GST_STATIC_CAPS
(&quot;application/x-rtp, &quot;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;media =
(string) \&quot;video\&quot;, &quot;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;payload =
(int) &quot; GST_RTP_PAYLOAD_H263_STRING &quot;, &quot;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;clock-rate =
(int) 90000, &quot; &quot;encoding-name = (string) \&quot;H263\&quot;&quot;)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; );<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Someone&#8217;s gone and
tidied up the capability difference between H.263 and H.263+[++] which has
caused a capability mismatch between the old asterisk263 and new rtph263pay
plugins.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>John<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=navy face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:navy'>John Martin<br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><a href="mailto:John.Martin@AuPix.com"><font
size=3 face="Comic Sans MS"><span style='font-size:12.0pt;font-family:"Comic Sans MS"'>John.Martin@AuPix.com</span></font></a><br>
<a href="http://www.aupix.com/"><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>http://www.AuPix.com</span></font></a></span></font><o:p></o:p></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
asterisk-video-bounces@lists.digium.com
[mailto:asterisk-video-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Barry Kendell<br>
<b><span style='font-weight:bold'>Sent:</span></b> 11 October 2006 19:48<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-video@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Asterisk-video] Asterisk
video conversion GStreamer issues</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><a
href="mailto:asterisk-video@lists.digium.com"></a><br>
Hi everyone,<br>
<br>
&nbsp;I am having trouble getting the gstreamer command line previously
discussed in this list to work to convert h.263 video for Asterisk usage. If
someone could provide the gstreamer versions that worked for them so I could
downgrade that would be greatly appreciated. Or, if you have further insight
into how I might resolve the issue with my current setup, that would be
apprecited substantially more.<br>
<br>
This is my version of the command line:<br>
gst-launch-0.10 filesrc location=departments.mov ! qtdemux name=demux !
ffdec_h263 ! videoscale ! video/x-raw-yuv,width=352,height=288 ! ffenc_h263
rtp-payload-size=512 ! rtph263pay ! asteriskh263 ! filesink location=
departments.h263 demux. ! queue ! ffdec_adpcm_ima_qt ! audioconvert !
audioresample ! audio/x-raw-int,rate=8000,channels=1 ! wavenc ! filesink
location= departments.wav<br>
<br>
This gives the error:<br>
WARNING: erroneous pipeline: could not link rtph263pay0 to asteriskh2630<br>
<br>
Out of interest, i also tried rtph263ppay (two ps, h263+) and it worked in the
toolchain. However H.263+/RFC2429 won't work for me.<br>
<br>
&nbsp;I am running on Fedora Core 5. I installed the gstreamer-universe from
the gstreamer repos.<o:p></o:p></span></font></p>

<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>gstreamer.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.10-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-devel.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.10-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-ffmpeg.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.1-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-bad.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.3-0.gst.3.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-bad-devel.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.3-0.gst.3.5&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-base.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.10-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>&nbsp;<br>
gstreamer-plugins-base-devel.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.10-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-good.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.4-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-good-devel.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.4-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-ugly.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.4-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-plugins-ugly-devel.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.4-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-python.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.5-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-tools.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.10-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
gstreamer-universe.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.1-0.gst.1.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I have not looked into the gstreamer source just yet, but will do that
if I can't resolve this problem otherwise.<br>
<br>
Thankyou in advance for any help you could offer,<br>
Barry<br>
<br>
<br>
PS: I tried ffasterisk but it does strange things with the timestamps, and I
much prefer the flexibility that should come with gstreamer.<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>