mencoder -oac pcm -ovc copy -of avi -o output.avi input1.mov input2.mov

avconv -i 'output.avi' -vcodec libx264 -preset ultrafast -profile:v baseline -acodec aac -strict experimental -r 24 -b 3000k -ar 44100 -ab 59k -s 640x362 'output.mp4'