Hi this is the gstreamer command i record video with audio .avi file
gst-launch mfw_v4lsrc capture-mode=1 fps-n=30 ! vpuenc codec=0 ! queue ! mux. alsasrc ! 'audio/x-raw-int,rate=44100,channels=1' ! mfw_mp3encoder ! queue ! mux. avimux name=mux ! filesink location=ch1tws.avi sync=false.
My problem is sometimes this code not working.Means it doesn't capture audio file.But video only captures.Please help me to fix the issue.Why sometimes the above gstreamer command not getting audio.
Thanks!
With Regards,
Giritharan
Why i didn't get any reply from anyone.Am i did anything wrong?
what do you mean sometimes? do you mean encoding a long time or you change any command paramters?
and what error message do you have?