protocols - Calculate PES_packet_data_byte count when PES_packet_length == 0 -
in mpeg-ts
stream, in pes bitstream pes_packet_length
can 0 pes packet size
determined payload_unit_start_indicator==1
of ts packet (first ts packet of next pes packet), right ?
now when total size of pes packet known pes_packet_length
unknown (0) how calculate stuffing_byte
count , pes_packet_data_byte count
?
pes_packet_length can 0 true video frames. audio frames can not of length 0. in case, stuffing bytes not allowed, , adaption field padding should used instead. (af size can 0, if 1 padding byte needed)
Comments
Post a Comment