My platform is Yocto Linux 2.0.50 4.0.0 on wandboard iMX6 solo.
I can use alsa util -- arecord -- to capture a raw wav clip from mic input. But I want to get MP3 or AAC audio to work.
I tried this gstreamer pipeline:
gst-launch alsasrc ! queue ! audioconvert ! queue ! mfw_mp3encoder ! filesink location=test.mp3
I appreciate any help, gstreamer or some standalone recording program to capture AAC or MP3 audio.
Also I wonder if there is an AAC encoder? MP3 or AAC, Which is more efficient in size and CPU needs?