This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video decoding using java decoder (r3659)
11-26-2014, 04:44 PM
Post: #31
RE: Video decoding using java decoder (r3659)
Not every time I get theat, some time error, some time OK.
It sense a debug log make JPCSP loading and running shower than make JPCSP pass that error.
Find all posts by this user
Quote this message in a reply
11-28-2014, 08:20 AM
Post: #32
RE: Video decoding using java decoder (r3659)
(11-26-2014 04:44 PM)onelight Wrote:  Not every time I get theat, some time error, some time OK.
It sense a debug log make JPCSP loading and running shower than make JPCSP pass that error.
OK... Is it always happening at the start of the video or can it also happen in the middle of the video?

Is it only for videos having subtitles (they use sceMpegGetUserdataAu from r3667)?

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
11-28-2014, 02:41 PM (This post was last modified: 11-28-2014 02:41 PM by onelight.)
Post: #33
RE: Video decoding using java decoder (r3659)
(11-28-2014 08:20 AM)gid15 Wrote:  
(11-26-2014 04:44 PM)onelight Wrote:  Not every time I get theat, some time error, some time OK.
It sense a debug log make JPCSP loading and running shower than make JPCSP pass that error.
OK... Is it always happening at the start of the video or can it also happen in the middle of the video?

Is it only for videos having subtitles (they use sceMpegGetUserdataAu from r3667)?

It probably happening at the start of the video, at that time video play very no smooth.
I get a new error.
   
Code:
21:26:26 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
21:26:26 ERROR hle.sceMpeg - Video Decoder Thread - sceMpegAvcDecode codec returned 0xFFFFFFFF
It sense video and audio play in different speed. audio is faster and video try skip some frames to pursue audio.
sorry about my bad engligh
Find all posts by this user
Quote this message in a reply
06-16-2015, 11:40 AM
Post: #34
RE: Video decoding using java decoder (r3659)
Youkoso Hitsuji-Mura Portable - [ULJM05466]
WHITE SCREEN
   

.zip  ULJM05466 jpcsp log.zip (Size: 11.63 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
06-16-2015, 04:23 PM
Post: #35
RE: Video decoding using java decoder (r3659)
Code:
19:34:58 DEBUG hle.scePsmfPlayer - Psmf disp thread - scePsmfPlayerGetVideoData videoDataFrameWidth=512, videoDataDisplayBuffer=0x44154000, videoDataDisplayPts=-1
The java exception should now be fixed when videoDataDisplayBuffer=0x4xxxxxxx in f466ac3

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
06-16-2015, 04:43 PM
Post: #36
RE: Video decoding using java decoder (r3659)
(06-16-2015 04:23 PM)gid15 Wrote:  
Code:
19:34:58 DEBUG hle.scePsmfPlayer - Psmf disp thread - scePsmfPlayerGetVideoData videoDataFrameWidth=512, videoDataDisplayBuffer=0x44154000, videoDataDisplayPts=-1
The java exception should now be fixed when videoDataDisplayBuffer=0x4xxxxxxx in f466ac3

Well done, tested with r29b805
   
Find all posts by this user
Quote this message in a reply
07-08-2015, 06:00 AM
Post: #37
RE: Video decoding using java decoder (r3659)
This error seems to pop up very often. It can either appear during the first time an opening video is played or during subsequent viewings. When this error appears, the video displays lots of graphical garbage. The audio would play at normal speed while the video can sometimes freeze (emulator can sometimes crash due to this error). The audio would play until the end and since the video was not in sync with the audio due to freezing, there would be no sounds throughout the rest of the video. Sometimes after the video has ended, it goes back to a certain point in the video and plays it again with no audio.
Code:
00:59:31 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -19
    at com.twilight.h264.decoder.H264Context.ff_h264_decode_mb_cabac(H264Context.java:3​476)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4910)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
00:59:31 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:32 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -1
    at com.twilight.h264.decoder.H264Context.ff_h264_decode_mb_cabac(H264Context.java:3​476)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4910)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
00:59:32 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:34 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
00:59:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:35 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:35 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:42 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:42 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -132
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:417)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:00:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:18 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:18 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:22 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:22 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:27 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:32 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:32 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:37 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:37 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:40 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:40 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:40 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:40 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:41 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:41 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:43 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:43 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:43 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:43 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:47 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:47 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -4
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:418)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:52 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:52 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:52 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:52 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:54 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:54 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:55 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:55 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:57 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:57 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:57 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:57 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:58 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:58 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:58 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:58 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:59 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:59 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:06 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:06 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:07 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:07 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:09 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:09 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:11 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:11 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:14 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:14 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:15 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:15 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:18 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:18 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:19 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:19 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:21 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:21 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:22 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:23 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:23 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:23 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:23 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:24 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: 2431
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:419)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:01:24 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:26 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:26 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:27 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:27 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:29 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:29 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:29 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:29 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:31 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:31 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -35
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:419)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:35 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:35 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:36 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:37 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:37 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
By the way, since Google Code is closing, have you made a copy of the h264j repository on GitHub? I would assume you would need it in order to continue developing the video decoder.
Find all posts by this user
Quote this message in a reply
07-08-2015, 08:56 AM
Post: #38
RE: Video decoding using java decoder (r3659)
(07-08-2015 06:00 AM)DragonNeos Wrote:  This error seems to pop up very often. It can either appear during the first time an opening video is played or during subsequent viewings. When this error appears, the video displays lots of graphical garbage. The audio would play at normal speed while the video can sometimes freeze (emulator can sometimes crash due to this error). The audio would play until the end and since the video was not in sync with the audio due to freezing, there would be no sounds throughout the rest of the video. Sometimes after the video has ended, it goes back to a certain point in the video and plays it again with no audio.
Code:
00:59:31 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -19
    at com.twilight.h264.decoder.H264Context.ff_h264_decode_mb_cabac(H264Context.java:3​476)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4910)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
00:59:31 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:32 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -1
    at com.twilight.h264.decoder.H264Context.ff_h264_decode_mb_cabac(H264Context.java:3​476)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4910)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
00:59:32 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:34 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
00:59:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:35 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:35 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
00:59:42 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
00:59:42 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -132
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:417)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:00:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:18 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:18 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:22 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:22 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:27 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:32 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:32 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:37 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:37 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:38 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:38 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:40 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:40 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:40 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:40 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:41 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:41 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:43 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:43 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:43 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:43 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:45 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:45 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:47 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:47 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -4
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:418)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:51 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:51 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:52 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:52 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:52 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:52 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:54 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:54 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:55 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:00:55 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:57 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:57 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:57 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:57 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:58 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:58 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:58 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:58 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:00:59 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:00:59 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:00 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:00 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:06 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:06 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:07 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:07 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:09 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:09 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:11 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:11 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:14 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:14 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:15 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:15 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:16 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:16 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:17 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:17 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:18 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:18 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:19 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:19 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:21 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:21 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:22 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:22 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:23 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:23 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:23 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:23 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:24 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: 2431
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:419)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:01:24 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:26 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:26 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:27 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:27 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:27 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:29 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:29 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:29 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:29 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:31 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:31 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:33 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:33 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException: -35
    at com.twilight.h264.decoder.H264DSPContext.idct_internal(H264DSPContext.java:419)
    at com.twilight.h264.decoder.H264DSPContext.h264_idct_add16(H264DSPContext.java:541​)
    at com.twilight.h264.decoder.H264Context.hl_decode_mb_internal(H264Context.java:252​3)
    at com.twilight.h264.decoder.H264Context.ff_h264_hl_decode_mb(H264Context.java:2579​)
    at com.twilight.h264.decoder.H264Context.decode_slice(H264Context.java:4916)
    at com.twilight.h264.decoder.H264Context.decode_nal_units(H264Context.java:6615)
    at com.twilight.h264.decoder.H264Context.decode_frame(H264Context.java:8594)
    at com.twilight.h264.decoder.H264Decoder.decode(H264Decoder.java:35)
    at com.twilight.h264.decoder.MpegEncContext.avcodec_decode_video2(MpegEncContext.ja​va:2300)
    at jpcsp.media.codec.h264.H264Decoder.decode(H264Decoder.java:69)
    at jpcsp.HLE.modules150.sceMpeg.decodeNextImage(sceMpeg.java:1288)
    at jpcsp.HLE.modules150.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1354)
    at jpcsp.HLE.modules150.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules150.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1060)
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:34 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:34 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:35 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:35 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:36 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:36 ERROR     h264 - Video Decoder Thread - H264 decode error 0xFFFFFFFF
01:01:36 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:37 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:37 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
01:01:39 ERROR     h264 - Video Decoder Thread - H264Decoder.decode
java.lang.ArrayIndexOutOfBoundsException
01:01:39 ERROR hle.sceMpeg - Video Decoder Thread - decodeNextImage codec returned 0xFFFFFFFF
By the way, since Google Code is closing, have you made a copy of the h264j repository on GitHub? I would assume you would need it in order to continue developing the video decoder.
Could you post an INFO log files with the following lines added in LogSettings.xml:
Code:
<logger name='hle.scePsmfPlayer'> <level value='debug' /> </logger>
<logger name='hle.scePsmf'> <level value='trace' /> </logger>
<logger name='hle.sceMpeg'> <level value='debug' /> </logger>

Thank you!

and yes, h264j has been migrated to github by the author: https://github.com/twilightdema/h264j

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
07-08-2015, 10:05 PM
Post: #39
RE: Video decoding using java decoder (r3659)
Here is the log. I let the log run several times until the video started to display graphical garbage and the audio started to not play smoothly. This resulted in a large file with a log size of about 125 MB.

As for h264j, a quick Google Search does not bring up this GitHub page. People still think that the Google Code variant is still supported as someone posted Issue 8. This issue doesn't appear on GitHub at all.


Attached File(s)
.7z  Log_r4098f5d(64bit)_INFO (h264j).7z (Size: 1.95 MB / Downloads: 0)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)