Reputation: 2965
What is the proper logic when creating PES packets from video ES frame that is larger than 65527 bytes ? Because PES_packet_length is 16bits in length not entire ES frame can be represented.
Should one split one ES frame in multiple PES packets ? If yes and video frame is keyframe does only first PES packet's TS packet have random_access_indicator==1 ? If yes should all PES packets have PTS/DTS set to same value or just first PES packet have PTS/DTS ?
Upvotes: 1
Views: 1587
Reputation: 31081
For video frames, it is legal to use a size of 0 for the PES length.
Upvotes: 2