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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video decoding using java decoder (r3659)
#1
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
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#2
BLAZBLUE CONTINUUM SHIFT 2 [ULUS10579]
   

.zip   BLAZBLUE CONTINUUM SHIFT 2 log.zip (Size: 987.14 KB / Downloads: 214)

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
Reply
#3
Danball Senki W [HPJH50618]
VIDEO black, nothing show. sound is ok.
   

.zip   Danball Senki W log.zip (Size: 1.29 MB / Downloads: 213)
Reply
#4
MONSTER HUNTER PORTABLE 3rd HD Ver
   
   

.zip   MONSTER HUNTER PORTABLE 3rd HD Ver LOG.zip (Size: 832.66 KB / Downloads: 215)
Reply
#5
(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
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#6
(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
   

.zip   Danball Senki W [HPJH50618] external software renderer log.zip (Size: 1.4 MB / Downloads: 208)
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
   

Before or after video, or game is loading, you also can see this.
   
Reply
#7
I made a log for Eiyuu Densetsu Sora no Kiseki FC Kai HD using r3661: http://www.emunewz.net/forum/showthread....#pid215769
Reply
#8
(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?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#9
fixed with r3662
   
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
   

PSP
   
Reply
#10
(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>
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply


Forum Jump:


Users browsing this thread: 13 Guest(s)