ffmpeg join audio and image code example
Example 1: ffmpeg combine audio and video
ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4
Example 2: ffmpeg add audio to image
ffmpeg -loop 1 -y -i image8.jpg -i sound11.amr -shortest -acodec copy -vcodec mjpeg result.avi