Add audio in video file using ffmpeg

I am using ffmpeg, I want to add audio in my video file but I have some different scenario, I have 5 images and 3 min audio file but I want that every image comes for 10 sec in the video and when last image comes for 10 seconds after that video will end. So it mean the whole video time will be 50 seconds. I am trying this but failed to do this. It stuck on the last image till the audio ends and the duration is 3 min this wrong. Please see my code I am new to ffmpeg so this the basic code of audio file I am using to add in video.

ffmpeg -i output.mp4 -i audio.mp3 -c copy -map 0:0 -map 1:0 final.mp4

Unfortunately, this is a web development forum and not a forum that specializes in video encoding. As such, you will likely have to find a community that specializes in video encoding or ffmpeg.

Here are some possibilities:

http://forums.creativecow.net/ffmpeg

http://ffmpeg.zeranoe.com/forum/
http://ffmpeg.gusari.org/
Email lists and chat resources: http://www.ffmpeg.org/contact.html