How to convert this pipeline in to C code

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Sep 12 14:51:43 PDT 2013


On Thu, 2013-09-12 at 03:12 -0700, Baz wrote:
> Hi Guys,
> 
> Can anyone please help me to write a C code of this pipeline in order to
> capture audio and video into a AVI file. 
> 
> gst-launch v4l2src ! queue ! ffmpegcolorspace ! videoscale !
> video/x-raw-yuv,width=640,height=480  ! theoraenc quality=16 ! queue !
> oggmux name=mux alsasrc  ! queue !  audioconvert ! vorbisenc  ! queue ! mux.
> mux. ! queue ! filesink location=Test.avi

GstElement *pipeline;

pipeline = gst_parse_launch ("v4l2src ! queue ! " ....) ? ;)

Cheers
 -Tim



More information about the gstreamer-devel mailing list