[Asterisk-video] AVTF - What's going on?
jordan territorio
jvt at mail.teamlog.external.hp.com
Mon May 29 01:19:07 MST 2006
Could you please send me your "AstriDevCon_Europe_2006.mov" file in
order to make some test.
I'd like to be able to convert a .mov file to .h263 format.
Perhaps i'm on the wrong way using gstreamer to do that. So if you've
got any advices...
-----Message d'origine-----
De : Jeffrey C. Ollie [mailto:jeff at ocjtech.us]
Envoyé : vendredi 26 mai 2006 14:47
À : Discussion of video media support in Asterisk
Objet : Re: [Asterisk-video] AVTF - What's going on?
On Fri, 2006-05-26 at 13:51 +0200, jordan territorio wrote:
>
> Here are the results of the command i read in mailing list, when i
> launch it on my computer :
>
> gst-launch-0.10 filesrc
> location=/root/test1800.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
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> The program seems to be blocked at this point and if i do a CRTL+C :
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Caught interrupt -- Pausing pipeline.
> Pipeline paused.
> WARNING: Element "pipeline0" warns: pipeline interrupted
Does your file actually contain H.263 video and ADPCM audio? The
pipeline shown above is specifically for converting H.263 video and
ADPCM audio. Here's an alternate pipeline that uses the GStreamer
decodebin element:
gst-launch filesrc location=AstriDevCon_Europe_2006.mov ! decodebin
name=decode ! videoscale ! video/x-raw-yuv,width=352,height=288 !
ffenc_h263 rtp-payload-size=512 ! rtph263pay ! asteriskh263 ! filesink
location=avout.h263 decode. ! queue ! audioconvert ! audioresample !
audio/x-raw-int,rate=8000,channels=1 ! wavenc ! filesink
location=avout.wav
The GStreamer decodebin element doesn't actually decode anything itself,
it uses other GStreamer elements to detect the type of data being
offered to it and convert it to a form that can be used by other
GStreamer elements.
Jeff
More information about the asterisk-video
mailing list