Need help syntax of CLI command

Hi.
Could you help me adding AUDIO RECORDING to this code?

gst-launch-1.0 v4l2src device=/dev/video0 io-mode=dmabuf ! ‘video/x-raw,width=1280,height=720,framerate=20/1’ ! mpph264enc ! filesink location=test_h264.mp4

I want to capture video from USB device (usb video capture board) with video and audio and save into a mp4 h264 file.

This is a linux CLI code that I will put inside a python script.

If there is a python API easier I could use too.

Also, in FFMPEG i can see feedback about frame rate, CPU usage, etc. In gstreamer I can only see time. There is anyway of showing more data?
Thanks

You can use autoaudiosrc to capture audio from the same video camera (as far as i know).
You can use something like isomp4muxer to mux video and audio lines into one and then send it to filesink.