java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

GitHub | rsri | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 145#247648981

    GitHub | 7 months ago | rsri
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=1; index=1

      at org.jcodec.common.model.Picture8Bit.getPlaneData()
    2. JCodec
      H264Encoder.encodeFrame8Bit
      1. org.jcodec.common.model.Picture8Bit.getPlaneData(Picture8Bit.java:97)
      2. org.jcodec.codecs.h264.encode.MBEncoderI16x16.predictChroma(MBEncoderI16x16.java:202)
      3. org.jcodec.codecs.h264.encode.MBEncoderI16x16.chroma(MBEncoderI16x16.java:66)
      4. org.jcodec.codecs.h264.encode.MBEncoderI16x16.encodeMacroblock(MBEncoderI16x16.java:49)
      5. org.jcodec.codecs.h264.H264Encoder.encodeMacroblock(H264Encoder.java:294)
      6. org.jcodec.codecs.h264.H264Encoder.encodeSlice(H264Encoder.java:275)
      7. org.jcodec.codecs.h264.H264Encoder.doEncodeFrame8Bit(H264Encoder.java:166)
      8. org.jcodec.codecs.h264.H264Encoder.encodeFrame8Bit(H264Encoder.java:103)
      8 frames