[Live-devel] MPEG2 Transport Stream Index File

Ross Finlayson finlayson at live555.com
Tue Apr 29 17:23:38 PDT 2008


>In an MPEG2 Transport stream index file (.tsx), does each index record
>correspond to one transport stream packet?

No.  Each index record represents a chunk of video data that appears 
within one Transport Stream Packet.

>  (In other words, are the number
>of index records in a .tsx file equal to the number of transport stream
>packets in a corresponding .ts file?)

No, but there's a trivial way to count the number of Transport Stream 
Packets in a ".ts" file - just divide the file size (in bytes) by 188.
-- 

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


More information about the live-devel mailing list