[Asterisk-video] Converting video files into .h263

Kevin Cross kevincrossk at gmail.com
Tue May 25 14:58:51 CDT 2010


By browsing on the mailing list I learned that its possible to generate .h263 asterisk friendly files with gstreamer.
The script below it's supposed to do just that, however I get error when trying it out locally.

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 

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. 


-------

http://nmap.org/images/matrix/matrix-hack.mov
-
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

(gst-launch-0.10:4265): GLib-WARNING **: g_set_prgname() called multiple times
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(2448): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20100525/b9b06404/attachment.htm 


More information about the asterisk-video mailing list