AnsweredAssumed Answered

problem with record video & audio by gstreamer on IMX53

Question asked by Sergey Bulgakov on Nov 16, 2012
Latest reply on Jan 18, 2013 by Guillermo Michel Jimenez
Branched to a new discussion

Hello all !

 

I have board based on IMX53. If I record only video (from composite input) - all is right. I use next command

gst-launch mfw_v4lsrc capture-width=720 capture-height=576 \

           sensor-width=720 sensor-height=288 \

           preview=1 \

           typefind=1 do-timestamp=1 ! \

queue ! mfw_vpuencoder codec-type=2 ! queue ! mux. \

avimux name=mux ! \

filesink location=1.avi sync=false

 

If I try to mix audio from microphone input result is invalid. Audio part is ok but video is faster then must be in 2-3 times. I use next command

amixer sset Mic Capture cap

gst-launch \

mfw_v4lsrc capture-width=720 capture-height=576 \

           sensor-width=720 sensor-height=288 \

           preview=1 \

           typefind=1 do-timestamp=1 ! \

queue ! mfw_vpuencoder codec-type=2 ! queue ! mux. \

alsasrc ! queue ! audioconvert ! queue ! mfw_mp3encoder ! queue ! mux. \

avimux name=mux ! \

filesink location=1.avi sync=false

 

Could you explain me that is wrong?

 

BR

Sergey

Outcomes