summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/mpcf.txt
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-06 18:03:11 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-06 18:03:11 +0000
commit38aba7699a1faa5479000815b9028d2c917d9e50 (patch)
tree35f0bade9f048bfe45fb19c288c20eb99a72a179 /DOCS/tech/mpcf.txt
parent1c95f2711f7cc219e140b78035992e739ab9d442 (diff)
downloadmpv-38aba7699a1faa5479000815b9028d2c917d9e50.tar.bz2
mpv-38aba7699a1faa5479000815b9028d2c917d9e50.tar.xz
use fraction for time_base
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9298 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r--DOCS/tech/mpcf.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index ec1d6ae7d4..c3a6b25ad8 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -85,7 +85,8 @@ stream_header:
fourcc v
average_bitrate v
language_code v
- time_base v
+ time_base_nom v
+ time_base_denom v
lsb_timestamp_length v
fixed_fps u(1)
codec_specific_header_flag u(1)
@@ -191,10 +192,17 @@ language_code
something like 'u'<<24 + 's'<<16 + 'e'<<8 + 'n' (US english), can be 0
if unknown
-time_base
+time_base_nom / time_base_denom = time_base
the number of timer ticks per second, this MUST be equal to the fps
if the fixed_fps is 1
- MUST be < 2^15
+ time_base_denom MUST not be 0
+ time_base_nom and time_base_denom MUST be relative prime
+ time_base_nom MUST be < 2^15
+ examples:
+ fps time_base_nom time_base_denom
+ 30 30 1
+ 29.97 30000 1001
+ 23.976 24000 1001
lsb_timestamp_length
length in bits of the lsb_timestamp