My favorites | Sign in
Project Home Downloads Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 469: VP8_EFLAG_FORCE_ARF use in 2-pass causes an assert
3 people starred this issue and may be notified of changes. Back to list
Status:  Available
Owner:  ----
Cc:  jz...@google.com, jimbankoski@google.com


Sign in to add a comment
 
Project Member Reported by jz...@google.com, Aug 8, 2012
vp8/encoder/onyx_if.c:3072: update_reference_frames: Assertion `!cm->copy_buffer_to_arf' failed.

Settings based on altref_test.cc:MonotonicTimestamps:

  const vpx_rational timebase = { 33333333, 1000000000 };
  cfg_.g_timebase = timebase;
  cfg_.rc_target_bitrate = 1000;
  cfg_.g_lag_in_frames = 1;

  libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
                                     timebase.den, timebase.num, 0, 30);
---

  virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
                                  libvpx_test::Encoder *encoder) {
    flags_ = 0;
    AltRefTestBase::PreEncodeFrameHook(video, encoder);
    if (video->frame() == 2) flags_ |= VP8_EFLAG_FORCE_ARF;
  }

Setting g_lag_in_frames >= 5 or so will not trigger the assert.

Aug 17, 2012
Project Member #1 albe...@google.com
(No comment was entered for this change.)
Status: Available
Owner: ---
Cc: jimbankoski@google.com
Labels: Mstone-12
Sign in to add a comment

Powered by Google Project Hosting