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)
10-22-2014, 04:28 PM
Post: #1
Video decoding using java decoder (r3659)
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
Find all posts by this user
Quote this message in a reply
10-23-2014, 10:21 AM (This post was last modified: 10-23-2014 10:27 AM by onelight.)
Post: #2
RE: Video decoding using java decoder (r3659)
BLAZBLUE CONTINUUM SHIFT 2 [ULUS10579]
   

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

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
Find all posts by this user
Quote this message in a reply
10-23-2014, 11:49 AM
Post: #3
RE: Video decoding using java decoder (r3659)
Danball Senki W [HPJH50618]
VIDEO black, nothing show. sound is ok.
   

.zip  Danball Senki W log.zip (Size: 1.29 MB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
10-24-2014, 03:09 AM
Post: #4
RE: Video decoding using java decoder (r3659)
MONSTER HUNTER PORTABLE 3rd HD Ver
   
   

.zip  MONSTER HUNTER PORTABLE 3rd HD Ver LOG.zip (Size: 832.66 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
10-24-2014, 03:15 PM (This post was last modified: 10-24-2014 03:18 PM by gid15.)
Post: #5
RE: Video decoding using java decoder (r3659)
(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
Find all posts by this user
Quote this message in a reply
10-25-2014, 02:35 AM (This post was last modified: 10-25-2014 03:12 AM by onelight.)
Post: #6
RE: Video decoding using java decoder (r3659)
(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: 1)
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.
   
Find all posts by this user
Quote this message in a reply
10-25-2014, 08:44 PM
Post: #7
RE: Video decoding using java decoder (r3659)
I made a log for Eiyuu Densetsu Sora no Kiseki FC Kai HD using r3661: http://www.emunewz.net/forum/showthread....#pid215769
Find all posts by this user
Quote this message in a reply
10-26-2014, 06:24 AM
Post: #8
RE: Video decoding using java decoder (r3659)
(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
Find all posts by this user
Quote this message in a reply
10-27-2014, 06:09 AM (This post was last modified: 10-27-2014 06:13 AM by onelight.)
Post: #9
RE: Video decoding using java decoder (r3659)
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
   
Find all posts by this user
Quote this message in a reply
10-27-2014, 08:00 AM
Post: #10
RE: Video decoding using java decoder (r3659)
(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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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