3 TS files are plain recordings, including PMT and PAT.
5 They don't have a private header.
9 .meta files have currently up to 7 lines:
19 The service reference contains the Service-ID of the recorded service. With
20 that ID, you can find the PMT and the elementary streams.
22 As a backup method, just find the first available PMT and use that.
24 Strings are always UTF-8 encoded.
26 tags is a space-delimited list of tags assigned to this movie.
28 length is the length of the recording, in PTS-units (1/90000s). filesize was
29 the filesize at the time the length was calculated, so you can validate if
30 this is still up-to-date or must be recalculated.
34 Stored offsets and PTS values. They are collected while recording. Only
35 GOP starts are stored.
37 File format is network-ordered (i.e. big endian), each entry contains
38 two 64 bit values (PTS, offset).
40 PTS values are not corrected (i.e. they aren't zero-based), offsets are
41 relative to the beginning of the file (or first file, when we implement
46 Also network ordered, they contain a 64bit value (PTS) and 32bit value
47 (type) for each cut. (If you want file offsets, use the .ap file to look up
56 If the first 'out'-point is not preceeded by an 'in'-point, there is an
57 implicit 'in' point at zero.
59 If the there is no final 'out' point, the end-of-file is an implicit
62 Note that the PTS values are zero-based and continouus. If you want absolute
63 PTS values, you can either:
64 - use the .ap file, find discontinuities, and interpolate between the APs
65 - or just use the first PTS value as an offset, and work around PTS
66 wraparounds. (simple method)