<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'> There’s been some compatibility
issues introduced in the latest versions of gstreamer. If you’re building
gstreamer from source then this code change will fix the problem. I don’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> </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'> From memory, I don’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> </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
("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"'> 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"'> 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"'> GST_STATIC_CAPS
("application/x-rtp, "<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"'> "media =
(string) \"video\", "<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"'> "payload =
(int) " GST_RTP_PAYLOAD_H263_STRING ", "<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"'> "clock-rate =
(int) 90000, " "encoding-name = (string) \"H263\"")<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></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> </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’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> </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> </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> </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> </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>
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>
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 0.10.10-0.gst.1.5 installed <br>
gstreamer-devel.i386 0.10.10-0.gst.1.5 installed <br>
gstreamer-ffmpeg.i386 0.10.1-0.gst.1.5 installed <br>
gstreamer-plugins-bad.i386 0.10.3-0.gst.3.5 installed <br>
gstreamer-plugins-bad-devel.i386 0.10.3-0.gst.3.5 installed <br>
gstreamer-plugins-base.i386 0.10.10-0.gst.1.5 installed <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <br>
gstreamer-plugins-base-devel.i386 0.10.10-0.gst.1.5 installed <br>
gstreamer-plugins-good.i386 0.10.4-0.gst.1.5 installed <br>
gstreamer-plugins-good-devel.i386 0.10.4-0.gst.1.5 installed <br>
gstreamer-plugins-ugly.i386 0.10.4-0.gst.1.5 installed <br>
gstreamer-plugins-ugly-devel.i386 0.10.4-0.gst.1.5 installed <br>
gstreamer-python.i386 0.10.5-0.gst.1.5 installed <br>
gstreamer-tools.i386 0.10.10-0.gst.1.5 installed <br>
gstreamer-universe.i386 0.10.1-0.gst.1.5 installed <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> </o:p></span></font></p>
</div>
</div>
</body>
</html>