mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
fix mistakes in README
Original commit message from CVS: fix mistakes in README
This commit is contained in:
parent
400ade1e8f
commit
77d4bd5b94
1 changed files with 4 additions and 5 deletions
|
@ -52,12 +52,11 @@ In Vorbis, the granulepos represents the number of samples that can be
|
|||
decoded from all packets up to that point.
|
||||
|
||||
In GStreamer, the vorbisenc elements produces a stream where:
|
||||
- OFFSET is the byte offset this buffer is at; ie a running count of the
|
||||
- OFFSET is the time corresponding to the granulepos
|
||||
number of bytes produced before
|
||||
- OFFSET_END is the granulepos of the produced vorbis buffer
|
||||
- TIMESTAMP is the timestamp matching the begin of the buffer
|
||||
- DURATION is set such that TIMESTAMP + DURATION is the correct
|
||||
in a raw vorbis stream we use the granulepos as the offset field.
|
||||
- DURATION is set to the length in time of the buffer
|
||||
|
||||
Ogg media mapping
|
||||
-----------------
|
||||
|
@ -323,9 +322,9 @@ Possible ways:
|
|||
In practice
|
||||
-----------
|
||||
- all encoders of formats that can be muxed into Ogg produce a stream where:
|
||||
- OFFSET is abused to be the granulepos of the encoded theora buffer
|
||||
- OFFSET_END is abused to be the timestamp corresponding exactly to the
|
||||
- OFFSET is abused to be the timestamp corresponding exactly to the
|
||||
granulepos
|
||||
- OFFSET_END is abused to be the granulepos of the encoded theora buffer
|
||||
- TIMESTAMP is the timestamp matching the begin of the buffer
|
||||
- DURATION is the length in time of the buffer
|
||||
|
||||
|
|
Loading…
Reference in a new issue