GStreamer C application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GStreamer C application

561 Views
giritharanr
Contributor I

Hi i want to write a GStreamer Application using C Language for this GStreamer command  (gst-launch –e mfw_v4lsrc capture-mode=1 fps-n=30 ! vpuenc codec=0 ! queue ! mux. alsasrc ! 'audio/x-raw-int,rate=48000,channels=1' ! mfw_mp3encoder ! queue ! mux. avimux name=mux ! filesink location=audio_video.avi sync=false).

 

I attach sample C application source code.While running this code i got segmentation fault error and some error.

And the thing is i dont know how to add  the following things :

! mux. alsasrc

'audio/x-raw-int,rate=48000,channels=1'

! mux. avimux name=mux.

 

So please help to complete the C application as per the gstreamer command i give.

Thanks .

 

 

 

With Regards,

R.Giritharan

Original Attachment has been moved to: Giri_Gstreamer.c.zip

Labels (3)
Tags (1)
0 Kudos
1 Reply

321 Views
joanxie
NXP TechSupport
NXP TechSupport

what board do you use? did you try to use freescale gstreamer to encode? any issues?

0 Kudos