say you have a srt subtitle file and any format of audio
we can combine such stream together to generate a video with the subtitle
ffmpeg --ffmpeg command
-i inputfile --input file
-fv subtitles=any.srt -video filter means adding subtitle within any.srt
-c copy --do not re-encode stream
output --output file name