If there is only one subtitle track.
ffmpeg -i input.mp4 outfile.srt ffmpeg -i input.mp4 -map 0:s:0 sub.srt
ffmpeg -i input.mp4 -map 0:s:0 eng.srt ffmpeg -i input.mp4 -map 0:s:1 ita.srt ffmpeg -i input.mp4 -map 0:s:2 fre.srt
NOTE: This is assuming the mapping points to the correct audio languages.
ffmpeg -i input.mp4