[Asterisk-video] Asterisk video conversion GStreamer issues

John Martin John.Martin at AuPix.com
Wed Oct 11 16:26:53 MST 2006


Hi Barry,

  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.

 

  From memory, I don't have the source here tonight, you need to change
the asterisk rtp payload plugin with the following pad definition:

 

GST_STATIC_PAD_TEMPLATE ("sink",

    GST_PAD_SINK,

    GST_PAD_ALWAYS,

    GST_STATIC_CAPS ("application/x-rtp, "

        "media = (string) \"video\", "

        "payload = (int) " GST_RTP_PAYLOAD_H263_STRING ", "

        "clock-rate = (int) 90000, " "encoding-name = (string)
\"H263\"")

    );

 

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.

 

John

 

 

John Martin
John.Martin at AuPix.com <mailto:John.Martin at AuPix.com> 
http://www.AuPix.com <http://www.aupix.com/> 

________________________________

From: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] On Behalf Of Barry
Kendell
Sent: 11 October 2006 19:48
To: asterisk-video at lists.digium.com
Subject: [Asterisk-video] Asterisk video conversion GStreamer issues

 

<mailto:asterisk-video at lists.digium.com> 
Hi everyone,

 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.

This is my version of the command line:
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

This gives the error:
WARNING: erroneous pipeline: could not link rtph263pay0 to asteriskh2630

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.

 I am running on Fedora Core 5. I installed the gstreamer-universe from
the gstreamer repos.

gstreamer.i386                           0.10.10-0.gst.1.5
installed       

gstreamer-devel.i386                     0.10.10-0.gst.1.5
installed       

gstreamer-ffmpeg.i386                    0.10.1-0.gst.1.5
installed       

gstreamer-plugins-bad.i386               0.10.3-0.gst.3.5
installed       

gstreamer-plugins-bad-devel.i386         0.10.3-0.gst.3.5
installed       

gstreamer-plugins-base.i386              0.10.10-0.gst.1.5
installed      
 

gstreamer-plugins-base-devel.i386        0.10.10-0.gst.1.5
installed       

gstreamer-plugins-good.i386              0.10.4-0.gst.1.5
installed       

gstreamer-plugins-good-devel.i386        0.10.4-0.gst.1.5
installed       

gstreamer-plugins-ugly.i386              0.10.4-0.gst.1.5
installed       

gstreamer-plugins-ugly-devel.i386        0.10.4-0.gst.1.5
installed       

gstreamer-python.i386                    0.10.5-0.gst.1.5
installed       

gstreamer-tools.i386                     0.10.10-0.gst.1.5
installed       

gstreamer-universe.i386                  0.10.1-0.gst.1.5
installed       

I have not looked into the gstreamer source just yet, but will do that
if I can't resolve this problem otherwise.

Thankyou in advance for any help you could offer,
Barry


PS: I tried ffasterisk but it does strange things with the timestamps,
and I much prefer the flexibility that should come with gstreamer.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20061011/63c4f180/attachment-0001.htm


More information about the asterisk-video mailing list