Log in

View Full Version : Adding subtitles to .TS file?


Joniii
8th October 2007, 06:24
I've been wondering how to add subtitles into .TS file but haven't found any guides of it. Is it even possible at all? TS file is 1080p video.

skontel
10th October 2007, 03:44
What kind of TS is it? ATSC MPEG-2 TS? Also, are you talking about sub-titles as closed caption, or as foreign language sub-titles?

In MPEG-2 TS (ATSC), the closed caption data is typically encapsulated inside the video stream on the video PID, as user-data. I'm not sure what is available out there for creating such streams, however. That is, short of purchasing professional broadcasting equipment.

I'm guessing that your encoding solution will at least in part depend on your decoding solution. In other words, you will probably need to find out exactly what your decoder can handle, before you can choose/decide on your encoder.

I've been looking for a Linux/Unix tool that can mux ATSC TS including the user-data insertion. So far, no luck. There are several tools out there that *do* create a TS, but none can create a correct TS due to the high-res clock required for keeping track of the PCR. Sadly, PCs don't have a clock that is sufficiently accurate. :(

I'd be curious to hear what you find.