From e0220e08f526f9ca41b12d640ac52d26e1ccec05 Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 18 Jan 2014 09:10:18 +1030 Subject: Show how to turn off prediction with libopus --- doc/draft-ietf-codec-oggopus.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/draft-ietf-codec-oggopus.xml b/doc/draft-ietf-codec-oggopus.xml index 5d2d342b..84c51719 100644 --- a/doc/draft-ietf-codec-oggopus.xml +++ b/doc/draft-ietf-codec-oggopus.xml @@ -1299,8 +1299,16 @@ The drawback of this approach is that it creates a small discontinuity An encoder MAY avoid this discontinuity by using the following procedure: Encode the last frame of the first segment as an independent frame by - turning off all forms of inter-frame prediction. -De-emphasis is allowed. + turning off all forms of inter-frame prediction. +
+ +In encoders derived from the reference implementation, this can be done with: + + +
+De-emphasis is allowed. Set the granulepos of the last page to a point near the end of the last frame. Begin the second segment with a copy of the last frame of the first -- cgit v1.2.1