Apple HLS streams MPEG-2 TS files containing video and audio data in packetized elementary stream format. These segments (
.ts files) can be joined in order to build final video.
Recent version of HLS can now produce segments with video data only in TS files, and audio data only in another TS files. This is used to serve multilanguages video.
Regardless of HLS itself, how can I process to remux TS files containing video data, and audio data, in one TS file? Joining TS files together doesn't work; I get data from first TS file combined with the same type of data from next TS files (only video or audio).