X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e0b3a48f3ac9f4e5c3ec5efd13364ed3a639fd93..1b43fdc34bdbfa9b2817eef8284131a0d4ba7fc3:/doc/FILEFORMAT diff --git a/doc/FILEFORMAT b/doc/FILEFORMAT index 1f8fcdd2..4f550871 100644 --- a/doc/FILEFORMAT +++ b/doc/FILEFORMAT @@ -13,6 +13,12 @@ They don't have a private header. +The service reference contains the Service-ID of the recorded service. With +that ID, you can find the PMT and the elementary streams. + +As a backup method, just find the first available PMT and use that. + +Strings are always UTF-8 encoded. == .ap FILES == @@ -44,3 +50,8 @@ implicit 'in' point at zero. If the there is no final 'out' point, the end-of-file is an implicit 'out'-point. +Note that the PTS values are zero-based and continouus. If you want absolute +PTS values, you can either: + - use the .ap file, find discontinuities, and interpolate between the APs + - or just use the first PTS value as an offset, and work around PTS + wraparounds. (simple method)