Some info about stream
A simple program contains video and audio. These are "elements" that make up a program or "service". When we convert these elements into digital streams, they are called "elementary streams".
The next step is to cut the elementary streams up into small "packets" of data for transport. These packets (many times for multiple services) are then woven into a combined "transport stream" for transmission. Think of this as a super highway with a lot of cars driving all one direction. So, how do we pick out the packets we need for a particular program (service)?
When the elementary streams are packetized, they are assigned a "Packet ID" (PID). All packets with the same PID belong to the same elementary steam. This is like saying that all Red Dodge Minivans in our highway example belong to the same owner and all the White Toyota Camrys belong to another owner. There will be one PID for a particular video stream, another PID for another video stream, another PID for a specific audio stream, etc.
The video and audio PIDs are grouped together into a "Service" (layman's term "TV channel"). This service is assigned a "Service ID" (SID). So, each program will have a SID. The SID will be associated with the PIDs for the elementary streams that make up the service.
Google translated
Alcuni dati di flusso
Un semplice programma contiene video e audio. Questi sono "elementi" che compongono un programma o "service". Quando ci convertiamo questi elementi in flussi digitali, sono chiamati "flussi elementari".
Il passo successivo consiste nel tagliare i flussi elementari in piccoli "pacchetti" di dati per il trasporto. Questi pacchetti (molte volte per diversi servizi) sono poi intrecciati in un combinato "flusso di trasporto" per la trasmissione. Pensate a questo come una superstrada con un sacco di auto che guidano tutti una sola direzione. Allora, come possiamo scegliere il pacchetto di cui abbiamo bisogno per un particolare programma (servizio)?
Quando i flussi elementari sono packetized, sono assegnati un "Packet ID" (PID). Tutti i pacchetti con lo stesso PID appartengono alla stessa di vapore elementare. Questo è come dire che tutti i Red Dodge minivan nel nostro esempio autostrada appartengono allo stesso proprietario e tutti i bianchi Toyota Camry appartengono ad un altro proprietario. Ci sarà una PID per un particolare flusso video, un altro PID per un altro flusso video, un altro PID per un flusso audio specifico, etc.
Il PID video e audio sono raggruppati in un "servizio" (termine "canale TV" del laico). Questo servizio viene assegnato un "servizio ID" (SID). Così, ogni programma avrà un SID. Il SID sarà associato con i PID per i flussi elementari che compongono il servizio.