ericmckean / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Decoder fails when first frame is scaled #654

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior? What do you see instead?

When the first frame sent to the decoder is scaled, the decode fails with this 
message: Failed to decode frame: Corrupt frame detected
  Additional information: A stream must start with a complete key frame

What version are you using? On what operating system?
This problem occurs with this patch currently under code review:
https://gerrit.chromium.org/gerrit/#/c/67605
The patch originates with Version 1.2, synced with origin/master on 2013-10-23. 
The tests were run on goobuntu

Can you reproduce using the vpxdec or vpxenc tools? What command line are
you using?
This problem can be reproduced with the vp9_spatial_scalable_encoder

$ ./vp9_spatial_scalable_encoder -w 352 -h 288 -f 2 -z 0 
hantro_collage_w352h288.yuv /tmp/failure.ivf
$ ./vpxdec --codec=vp9 -o /tmp/decoded.yuv /tmp/failure.ivf
> Failed to decode frame: Corrupt frame detected
>   Additional information: A stream must start with a complete key frame

If vp9_spatial_scalable_encoder is configured to first create a full-size 
frame, vpxdec works correctly
$ ./vp9_spatial_scalable_encoder -w 352 -h 288 -f 2 -z 1 
hantro_collage_w352h288.yuv /tmp/failure.ivf
$ ./vpxdec --codec=vp9 -o /tmp/decoded.yuv /tmp/failure.ivf
> [no error message]

This problem can also be reproduced using this test case
$ ./test_libvpx --gtest_filter=SvcTest.DISABLED_FirstFrameHasLayers 
--gtest_also_run_disabled_tests

Please provide any additional information below.

Original issue reported on code.google.com by ivanma...@google.com on 28 Oct 2013 at 9:01

Attachments:

GoogleCodeExporter commented 9 years ago
agrange is investigating this issue

Original comment by ivanma...@google.com on 28 Oct 2013 at 9:34

GoogleCodeExporter commented 9 years ago

Original comment by jimbankoski@google.com on 7 Nov 2013 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by agra...@google.com on 23 Jan 2014 at 5:53