diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-16 03:37:21 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-16 03:37:21 +0000 |
| commit | e0b3a48f3ac9f4e5c3ec5efd13364ed3a639fd93 (patch) | |
| tree | cd77c2097409ebc44f7492ba3fc056f98a3c6ff2 /doc/FILEFORMAT | |
| parent | 49fe6e80f4664c97c95ea73001c3a8b34718b564 (diff) | |
| download | enigma2-e0b3a48f3ac9f4e5c3ec5efd13364ed3a639fd93.tar.gz enigma2-e0b3a48f3ac9f4e5c3ec5efd13364ed3a639fd93.zip | |
document fileformats
Diffstat (limited to 'doc/FILEFORMAT')
| -rw-r--r-- | doc/FILEFORMAT | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/FILEFORMAT b/doc/FILEFORMAT new file mode 100644 index 00000000..1f8fcdd2 --- /dev/null +++ b/doc/FILEFORMAT @@ -0,0 +1,46 @@ +== TS FILES == + +TS files are plain recordings, including PMT and PAT. + +They don't have a private header. + +== .meta FILES == + +.meta files have currently 4 lines: + +<service reference> +<name> +<description> +<recording time> + + +== .ap FILES == + +Stored offsets and PTS values. They are collected while recording. Only +GOP starts are stored. + +File format is network-ordered (i.e. big endian), each entry contains +two 64 bit values (PTS, offset). + +PTS values are not corrected (i.e. they aren't zero-based), offsets are +relative to the beginning of the file (or first file, when we implement +splitting) + +== .cut FILES == + +Also network ordered, they contain a 64bit value (PTS) and 32bit value +(type) for each cut. (If you want file offsets, use the .ap file to look up +the PTS values.) + +Type is: + +0 - 'in' point +1 - 'out' point +2 - mark + +If the first 'out'-point is not preceeded by an 'in'-point, there is an +implicit 'in' point at zero. + +If the there is no final 'out' point, the end-of-file is an implicit +'out'-point. + |
