<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">By browsing on the mailing list I learned that its possible to generate .h263 asterisk friendly files with gstreamer.<br>The script below it's supposed to do just that, however I get error when trying it out locally.<br><br>gst-launch filesrc location=AstriDevCon_Europe_2006.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=avout.h263 demux. ! queue ! ffdec_adpcm_ima_qt ! audioconvert ! audioresample ! audio/x-raw-int,rate=8000,channels=1 ! wavenc ! filesink location=avout.wav <br><br>I was wondering if this script is expecting some specific type of file or if I am doing something else wrong. Any pointers in how to generate .h263 video files for asterisk would be helpful. <br><br><br>-------<br><br><a href="http://nmap.org/images/matrix/matrix-hack.mov">http://nmap.org/images/matrix/matrix-hack.mov</a><br>-<br>gstreamer:~/tmpdir$ gst-launch-0.10 filesrc location=matrix-hack.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=avout.h263 demux. ! queue ! ffdec_adpcm_ima_qt ! audioconvert ! audioresample ! audio/x-raw-int,rate=8000,channels=1 ! wavenc ! filesink location=avout.wav<br><br>(gst-launch-0.10:4265): GLib-WARNING **: g_set_prgname() called multiple times<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer encountered a general stream error.<br>Additional debug info:<br>qtdemux.c(2448): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:<br>streaming stopped, reason not-linked<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br>----</body></html>