Hi, I'm newbie to FFmpeg, could anyone tell how to demux a mp4 file to:<br>video stream:  .h264<br>audio stream: .aac<br>then remux them back using C/C++ API, not the command tools.<br><br>equivalent to command:<br>ffmpeg -i media\input.mp4 -vn -f aac media\output.aac<br>ffmpeg -i media\input.mp4 -an media\video_only.mp4<br>ffmpeg -i media\video_only.mp4 -i media\audio_only.aac  media\restore.mp4<br><br>Thanks a lot!<br><br>