so, now that ffmpeg supports PGS, is it possible to be able to read PGS streams from m2ts files and convert them into SUB/IDX or just SUB?March 1, 2010
We have been busy over the past few months. Among other things, the results are an Indeo 5 video decoder as well as audio decoders for AMR-NB, Sipro, MPEG-4 ALS and WMA Voice, complete support for Bink, CDG and IFF PBM/ILBM bitmaps, an RTSP muxer, Bluray (PGS) subtitle support, a protocol for file concatenation and the ffprobe tool for extracting information from multimedia files.
otherwise, you have to demux the PGS stream(s) from the m2ts file, then use a 3rd party application (bdsup2sub, source code available here) to convert it to sub, then encode the video and mux the sub stream(s) into the container.
not only does this muxing/remuxing thing take a lot of time, it also requires you to have a lot of space available in order to be done.