I need a custom ffmpeg build which can stream a mkv video to stdout (pipe) with embedded subtitle.
It must support both ass and srt type subtitles and it must stream auido, video, subtitle as mp4 or flv at the same time.
Those audio,video and subtitle will be embedded in mkv file. Also it must have the ability to extract those audio,video,subtitle from a mkv file. I need source codes too.