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

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -