problem with record video & audio by gstreamer on IMX53

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

problem with record video & audio by gstreamer on IMX53

771 Views
sergeybulgakov
Contributor I

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

Labels (1)
0 Kudos
1 Reply

384 Views
ChucoChe
NXP Employee
NXP Employee

Hi,

Which mx53 FSL board was your custom board based on?

Michel

0 Kudos