The .TS file format is used to broadcast high-definition TV (HDTV) - it is specifically designed for less reliable transmission and broadcast fits well with this. When the signal gets degraded the transport stream (TS) can handle error correction and stream synchronization issues much better than other formats.
Transport stream (TS) is specified in MPEG-2, and it is a standard format for transmission and storage of audio, video, and data, and is used in broadcast systems such as DVB and ATSC. Various elements make up a transport stream - namely; Packet - A packet is the basic unit of data in a transport stream, PID - Each table or elementary stream in a transport stream is identified by a 13-bit packet ID (PID), Programs - Transport stream has a concept of programs. Each single program is described by a Program Map Table (PMT) which has a unique PID, Program Specific Information(PSI) - There are 4 PSI tables: Program Association (PAT), Program Map (PMT), Conditional Access (CAT), and Network Information (NIT), PAT - PAT stands for Program Association Table. It lists all programs available in the transport stream, PMT - Program Map Tables (PMTs) contain information about programs, PCR - To enable a decoder to present synchronized content, such as audio tracks matching the associated video, at least once each 100 ms a Program Clock Reference, or PCR is transmitted in the adaptation field of an MPEG-2 transport stream packet
Free Lossless Audio Codec, or FLAC for short, is an audio compression technique. It is a lossless compression type meaning that the compression takes place without data being discarded. FLAC is an open source codec. FLAC is a format that is recommended to those backing up a CD collection because the sound quality will remain high, whereas MP3 compression will result in a deterioration compared to the original.
Using FLAC to compress an audio file to approximately 50% of its original size. The main benefits of a FLAC file in addition to it being lossless is that it can be used for streaming, and decoding is fast, allowing for real time decoding to take place. A FLAC file also contains several data integrity checks in the header file. The metadata associated with the audio has been future proofed also to allow new fields to be defined without impacting existing decoders.