View Full Version : HEVC wrapped In TS container
Dave1024
24th June 2015, 18:51
Hi All,
HEVC, the emerging video standard wrapped in TS container.
In this context 0x27/0x24 is the stream id for HEVC in TS.
H.264/AVC also identified by 0x27 as the stream id in TS.
How can i differ HEVC and AVC in TS. (I am asking about the parameter to differ both the video standards.)
Thanks,
Dave.
LoRd_MuldeR
24th June 2015, 19:38
MPEG Transport Streams can carry multiple elementary audio/video streams.
The packets of these elementary streams are transmitted/stored in an interleaved way, but each packet has a PID in its header. All packets of the same elementary stream have the same PID (and packets of different elementary streams have different PIDs), so the demultiplex can re-assemble each elementary stream. So that's probably what you mean with "stream id". But the PID is chosen, more or less, arbitrarily! It does not tell you anything about the type of the stream! Suppose there are several AVC streams (or several HEVC streams) in the same TS file. Of course these streams will need to have different PID's, although they may have the same format. There's not the one PID that indicates "AVC" or "HEVC".
What you are looking for is the PMT (Program Map Table). The PMT specifies which elementary streams (PIDs) in the TS file belong to a specific program. Each program usually has one video stream and at least one audio stream, but there can be an arbitrary number of elementary streams associated with a particular program. For each of these streams, the PMT stores the PID and the stream_type. Note that there can be multiple programs (and thus several PMTs) in the same TS file!
See also:
http://www.etherguidesystems.com/help/sdos/mpeg/semantics/mpeg-2/stream_type.aspx
sneaker_ger
24th June 2015, 21:38
HEVC, the emerging video standard wrapped in TS container.
In this context 0x27/0x24 is the stream id for HEVC in TS.
H.264/AVC also identified by 0x27 as the stream id in TS.
Where did you get this info?
/edit:
Maybe a confusion about hexadecimal and decimal values?
AVC = 0x1B (HEX) = 27 (DEC)
HEVC = 0x24 (HEX) = 36 (DEC)
:confused:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.