mp4-recorder using lib-mp4v2 and lib-fdk-aac to record mp4 file basic design pcm + h264 = mp4 modules Mp4Recorder class of mp4 recorder libmp4v2 https://code.google.com/archive/p/mp4v2/ libfdk-aac https://sourceforge.net/projects/opencore-amr/files/fdk-aac/