EmuNewz Network
Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) (/showthread.php?tid=242314)



Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - gid15 - 12-07-2018

Dear Jpcsp community!

the current implementation of the video play modules (sceMpeg and scePsmfPlayer) was not matching perfectly the PSP implementation. It was working in most of the cases, but not 100%. As it was difficult to continue improving the current implementation, I have decided to completely rewrite those modules in order to better match the PSP implementation, hopefully as close to 100% as possible...

The new implementation is available in commit a054603. As this is a huge change, it is still buggy and will probably introduce problems into games/applications that were working properly up to now... please report such issues in this thread, I will work on a correction. Hopefully the large effort will also help the cases that were not working in the past Smile

When reporting an issue caused by this change, please add the following lines to your LogSettings.xml before generating a log at the INFO level:
Code:
<logger name='compiler'> <level value='debug' /> </logger>
<logger name='hle.scePsmfPlayer'> <level value='trace' /> </logger>
<logger name='hle.sceMpeg'> <level value='trace' /> </logger>
<logger name='hle.sceMpegbase'> <level value='trace' /> </logger>
<logger name='hle.sceVideocodec'> <level value='trace' /> </logger>
<logger name='hle.sceAudiocodec'> <level value='trace' /> </logger>
<logger name='hle.scePsmf'> <level value='debug' /> </logger>
<logger name='hle.sceMp4'> <level value='trace' /> </logger>
<logger name='hle.mp4msv'> <level value='trace' /> </logger>

Thank you for your support in regression testing!


RE: Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - onelight - 12-11-2018

ICONE.pmf not show at vsh


RE: Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - gid15 - 12-11-2018

(12-11-2018, 01:10 AM)onelight Wrote: ICONE.pmf not show at vsh
Is it fixed in d3d294a (or later)?

Thank you for testing!


RE: Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - DragonNeos - 12-15-2018

The changes to sceMpeg and scePsmfPlayer haven't seemed to improve video playback on PlayView titles such as Atelier Escha & Logy: Alchemists of the Dusk Sky - Records of the Dusk World Vol.1.

Here's a video that shows the video decoding and timing issues: https://www.youtube.com/watch?v=RzSc5iRV2BM

Since the log is so large (about 224 MB), I have uploaded it to MediaFire.


RE: Complete rewrite of the video play modules (sceMpeg and scePsmfPlayer) - gid15 - 12-17-2018

(12-15-2018, 11:15 AM)DragonNeos Wrote: The changes to sceMpeg and scePsmfPlayer haven't seemed to improve video playback on PlayView titles such as Atelier Escha & Logy: Alchemists of the Dusk Sky - Records of the Dusk World Vol.1.

Here's a video that shows the video decoding and timing issues: https://www.youtube.com/watch?v=RzSc5iRV2BM

Since the log is so large (about 224 MB), I have uploaded it to MediaFire.
From the logs, it is using sceMp4, which has not been updated. This is explaining why there is no improvement here. But I will try to find out from the logs how to fix sceMp4 as well...