EmuNewz Network

Full Version: Video decoding using java decoder (r3659)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi,

in r3559, I've commited a huge change to migrate the PSP video decoding from Xuggle to the new h264j java decoder. The goal is to improve the compatibility of the sceMpeg, scePsmf and scePsmfPlayer modules, but the effect of this first draft commit will probably to break a lot of playable games.

So, I need your help in regression testing a large set of applications. Please report any regression issues related to r3659 in this thread.

In your report, it would be helpful to include a log at INFO level with the following lines added in your LogSettings.xml
Code:
<logger name='compiler'> <level value='debug' /> </logger>
<logger name='hle.sceMpeg'> <level value='debug' /> </logger>
<logger name='hle.scePsmfPlayer'> <level value='debug' /> </logger>
<logger name='hle.scePsmf'> <level value='debug' /> </logger>

Thank you for your help! Smile
BLAZBLUE CONTINUUM SHIFT 2 [ULUS10579]
[attachment=17682]
[attachment=17683]

Code:
Video
ID                             : 224 (0xE0)
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : Main@L2.1
Format settings, CABAC         : Yes
Format settings, ReFrames      : 1 frame
Duration                       : 1mn 46s
Bit rate mode                  : Variable
Bit rate                       : 1 119 Kbps
Width                          : 480 pixels
Height                         : 272 pixels
Display aspect ratio           : 16:9
Frame rate                     : 29.970 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.286
Stream size                    : 14.3 MiB (98%)
Color primaries                : BT.601 NTSC
Transfer characteristics       : BT.601
Matrix coefficients            : BT.601
Danball Senki W [HPJH50618]
VIDEO black, nothing show. sound is ok.
[attachment=17684]
[attachment=17685]
MONSTER HUNTER PORTABLE 3rd HD Ver
[attachment=17688]
[attachment=17689]
[attachment=17690]
(10-23-2014 10:21 AM)onelight Wrote: [ -> ]BLAZBLUE CONTINUUM SHIFT 2 [ULUS10579]

Code:
16:36:02 DEBUG hle.scePsmfPlayer - user_main - scePsmfPlayerConfigPlayer psmfPlayer=0x96054E0, configMode=0x1, configAttr=0x0
This should be fixed in r3661



(10-24-2014 03:09 AM)onelight Wrote: [ -> ]MONSTER HUNTER PORTABLE 3rd HD Ver

Code:
11:03:11  WARN hle.sceMpeg - videoThread - Unimplemented sceMpegAvcConvertToYuv420 mpeg=0xA009740, yCbCrBuffer=0x09887040, unknown1=0x09857260, unknown2=0x0
This function is now properly implemented in r3661. This should hopefully fix the issue.



(10-23-2014 11:49 AM)onelight Wrote: [ -> ]Danball Senki W [HPJH50618]
VIDEO black, nothing show. sound is ok.
I cannot recognize a problem from the log file. Did it work before r3659? Does it display with the external software renderer?


Thank you for the regression testing! Smile
(10-24-2014 03:15 PM)gid15 Wrote: [ -> ]
(10-23-2014 10:21 AM)onelight Wrote: [ -> ]BLAZBLUE CONTINUUM SHIFT 2 [ULUS10579]
fixed in r3661


(10-24-2014 03:09 AM)onelight Wrote: [ -> ]MONSTER HUNTER PORTABLE 3rd HD Ver
implemented in r3661. but the first 1s will be blank screen, I can hear sound, need witting 1s can see video.


(10-23-2014 11:49 AM)onelight Wrote: [ -> ]Danball Senki W [HPJH50618]
VIDEO black, nothing show. sound is ok.
It not work before r3659. work with the external software renderer
[attachment=17703]
[attachment=17704]
Thank you for update

BTW
another issue is about this:
It not start r3659, it exist a long time
When jpcsp is loading,if it need a long time before load in.
it should be black screen, but it will show this
[attachment=17705]

Before or after video, or game is loading, you also can see this.
[attachment=17706]
I made a log for Eiyuu Densetsu Sora no Kiseki FC Kai HD using r3661: http://www.emunewz.net/forum/showthread....#pid215769
(10-25-2014 02:35 AM)onelight Wrote: [ -> ]BTW
another issue is about this:
It not start r3659, it exist a long time
When jpcsp is loading,if it need a long time before load in.
it should be black screen, but it will show this


Before or after video, or game is loading, you also can see this.
I also noticed garbage data being sometimes displayed when using the option "Enable saving GE screen to textures instead of memory", but never really cared about it Sad. Is it now fixed with r3662?
fixed with r3662
[attachment=17709]
Phantasy Star Portable 2 - NPJH50043
Code:
14:12:41  WARN hle.sceMpeg - user_main - Unimplemented sceMpegGetUserdataAu mpeg=0x9097840, streamUid=0x82, auAddr=0x09FFF490, resultAddr=0x09FFF3B0
14:12:41 DEBUG hle.sceMpeg - user_main - sceMpegGetAtracAu mpeg=0x9097840, streamUid=0x81, auAddr=0x09FFF450, attrAddr=0x09FFF3A0
14:12:41 DEBUG hle.sceMpeg - user_main - readNextAudioFrame SceMpegRingbuffer(packets=0x3C0, packetsRead=0x11EB, packetsWritten=0x11EB, packetsFree=0x0, packetSize=0x800, hasVideo=true, videoBuffer=pspFileBuffer(addr=0x08400080, maxSize=0x1E0000, currentSize=0x1E0000, readPosition=0x175800, writePosition=0x175800, filePosition=0x8F5800, fileMaxSize=0x7FFFFFFF), hasAudio=true, audioBuffer=pspFileBuffer(addr=0x08400080, maxSize=0x1E0000, currentSize=0x0, readPosition=0x175800, writePosition=0x175800, filePosition=0x8F5800, fileMaxSize=0x7FFFFFFF))
14:12:41 DEBUG hle.sceMpeg - user_main - After readNextAudioFrame SceMpegRingbuffer(packets=0x3C0, packetsRead=0x11EB, packetsWritten=0x11EB, packetsFree=0x0, packetSize=0x800, hasVideo=true, videoBuffer=pspFileBuffer(addr=0x08400080, maxSize=0x1E0000, currentSize=0x1E0000, readPosition=0x175800, writePosition=0x175800, filePosition=0x8F5800, fileMaxSize=0x7FFFFFFF), hasAudio=true, audioBuffer=pspFileBuffer(addr=0x08400080, maxSize=0x1E0000, currentSize=0x0, readPosition=0x175800, writePosition=0x175800, filePosition=0x8F5800, fileMaxSize=0x7FFFFFFF))
14:12:41 DEBUG hle.sceMpeg - user_main - hleMpegGetAtracAu returning result=0x80618001, pts=-1, dts=-1
14:12:41 DEBUG hle.sceMpeg - user_main - videoFrameCount=795(pts=2474382), audioFrameCount=696(pts=2989885), pts difference 515503, vcount=4470
14:12:41 DEBUG hle.sceMpeg - readThread - sceMpegRingbufferAvailableSize ringbufferAddr=0x09097850
14:12:41 DEBUG hle.sceMpeg - readThread - sceMpegRingbufferAvailableSize returning 0x0, vcount=4470
14:12:41 DEBUG hle.sceMpeg - readThread - sceMpegRingbufferPut ringbufferAddr=0x09097850, numPackets=0x20, available=0x0
14:12:41 DEBUG hle.sceMpeg - readThread - sceMpegRingbufferAvailableSize ringbufferAddr=0x09097850
14:12:41 DEBUG hle.sceMpeg - readThread - sceMpegRingbufferAvailableSize returning 0x0, vcount=4470
14:12:41

BTW, not start r3659, video miss subtitles even using external software renderer
[attachment=17710]

PSP
[attachment=17711]
(10-27-2014 06:09 AM)onelight Wrote: [ -> ]Phantasy Star Portable 2 - NPJH50043

BTW, not start r3659, video miss subtitles even using external software renderer
Good hint. The subtitles are maybe contained into the mpeg user data:
Code:
14:12:41  WARN hle.sceMpeg - user_main - Unimplemented sceMpegGetUserdataAu mpeg=0x9097840, streamUid=0x82, auAddr=0x09FFF490, resultAddr=0x09FFF3B0

It would be interesting if you could create a INFO log with the following lines in LogSettings.xml:
Code:
<logger name='compiler'> <level value='debug' /> </logger>
<logger name='hle.sceMpeg'> <level value='trace' /> </logger>
Pages: 1 2 3 4
Reference URL's