[Live-devel] PES Packet length problem

Ross Finlayson finlayson at live555.com
Sat Sep 9 03:18:22 PDT 2006


>PES packets can be longer than 6+65535. Quoting from ISO 13818-1, 2.4.3.7
>
>PES_packet_length - A 16-bit field specifying the number of bytes in 
>the PES packet following the last byte of the
>field. A value of 0 indicates that the PES packet length is neither 
>specified nor bounded and is allowed only in
>PES packets whose payload consists of bytes from a video elementary 
>stream contained in Transport Stream packets.

OK, I stand corrected - thanks.  I have now updated the 
"MPEG2TransportStreamFromPESSource" implementation so that the 
"PES_packet_length" field is set to 0 if the input data is too large 
to fit in 16 bits.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list