/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
// VP8 Set Reference Frame // ======================= // // This is an example demonstrating how to overwrite the VP8 encoder's // internal reference frame. In the sample we set the last frame to the // current frame. If this is done at a cut scene it will avoid a keyframe. // This technique could be used to bounce between two cameras. // // Note that the decoder would also have to set the reference frame to the // same value on the same frame, or the video will become corrupt. // // Usage // ----- // This example adds a single argument to the `simple_encoder` example, // which specifies the frame number to update the reference frame on. // The parameter is parsed as follows: // // // Extra Variables // --------------- // This example maintains the frame number passed on the command line // in the `update_frame_num` variable. // // // Configuration // ------------- // // The reference frame is updated on the frame specified on the command // line. // // Observing The Effects // --------------------- // Use the `simple_encoder` example to encode a sample with a cut scene. // Determine the frame number of the cut scene by looking for a generated // key-frame (indicated by a 'K'). Supply that frame number as an argument // to this example, and observe that no key-frame is generated.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.