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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -