Open PSHFigment opened 2 years ago
Greetings RPCS3 developers, I hope this message finds you well. I'm one of the developers for the Destination Home project and I wanted to add some additional information/details that can possibly give insight on this issue.
To add to this post PlayStation Home supports the following media/video codecs.
Furthermore, it also supports the following video container formats:
I know that Home as well can play video bit rates up to the maximum allowed for each supported MPEG-4 profile level e.g., up to 8 Mbps for MPEG-4 & 14 Mbps for AVC/H.264. From research, I know there are some general guidelines that the Home client will accept for video content. Note this, is just what I've seen from various media content for scenes on Home.
Format | Width | Height | FPS |
---|---|---|---|
MPEG-4 Part 2, Simple Profile | 176 | 144 | 15 FPS |
MPEG-4 Part 2, Simple Profile | 352 | 288 | aprox. 29 FPS |
MPEG-4 Part 2, Advanced Simple Profile | 352 | 288 | aprox. 29 FPS |
MPEG-4 Part 2, Advanced Simple Profile | 640 | 480 | aprox. 29 FPS |
MPEG-4 Part 2, Advanced Simple Profile | 720 | 576 | aprox. 29 FPS |
MPEG-4 Part 10 (AVC/H.264) | 320 | 240 | aprox. 29 FPS |
MPEG-4 Part 10 (AVC/H.264) | 640 | 480 | aprox. 29 FPS |
MPEG-4 Part 10 (AVC/H.264) | 720 | 480 | aprox. 29 FPS |
MPEG-4 Part 10 (AVC/H.264) | 1280 | 720 | aprox. 29 FPS |
It seems on our end, that the audio from content is being played just fine. However, as a showcase from the image below you can clearly see the screen is distorted.
In contrast on original hardware (PS3) you can see that in the same location the video content is playing as intended, for the end-user.
This video (_NowPlaying_AnimalHouseChainSwing.mp4) has the following properties:
General
Video
Audio
ID: 2
To provide some documentation, here were the original logs from my current gameplay on RPCS3.
Thanks for the detailed info. But please hide or remove the huge log and upload a file attachment instead
Thanks for the detailed info. But please hide or remove the huge log and upload a file attachment instead
Hey Megamouse, I've redacted the huge logfile from the original post & thank you in advance for looking into this issue. Down below here are the logs in a .txt file RPCS3_PlayStation_Home_Video_Bug (3).txt
After further analysis, it seems that some video content on Home runs on RPCS3 as intended in certain spaces. For instance, in the Konami Penthouse public scene, the video is parsing information for the client. In turn, the end-user will be able to see the video along with its original audio. For documentation purposes here is a quick video of Konami_clothing_PSHOME_Profile3.mp4
running along with RPCS3 logs for your review.
Not so sure why some video content is working without any issues in certain areas versus others, but hopefully this brief synopsis can help you out.
Here is the original Konami_clothing_PSHOME_Profile3.mp4
file that you can review as well.
General:
Video:
Audio:
Other #1
Other #2:
please try with #11754
Screen is completely black now instead of glitching with this client (audio works but no video.), this gets spammed into the log as well.
E SYS: 'cellVdecDecodeAu' failed with 0x80610101 : CELL_VDEC_ERROR_ARG, vdec=1, auInfo=1, upper=0, startAddr=0x42daf380 [1]
Please try again with the PR
Please try again with the latest version
Hey Megamouse, sorry for the delayed response I have been busy with my academic career, and just saw this comment. However, I just tested out the RPCS3 client version rpcs3-v0.0.21-13475-6a671554_win64
& ran PlayStation Home, and unfortunately the client still only displays audio & the actual video footage seems to be distorted/fuzzy.
As always, here are logs from this session.
how can i reproduce this on my own?
The newest error looks like output pitch is broken. Hmm, maybe it is worth trying enabling WCB and CPU blit to debug this. But yea, we need some kind of steps to reproduce this one ourselves.
It might still be a straightforward vdec pitch issue, similar to what i fixed for Uncharted 2.
Yea. It seems like the data is there, just incorrect scanning pitch.
Hey Megamouse, here is the offline client you can look at it to replicate this issue, Home has an MLA issue in this client. However, with Home's navigator, you can travel to Central Plaza. Just for documentation purposes, here is a quick guide I posted on YouTube on how to fully travel to Central Plaza for debugging.
https://github.com/NagatoDEV/PlayStation-Home-Master-Archive/releases/tag/v1.00
What happens if you LLE libvdec?
Hey, illusion0001 that seemed to actually work by activating the LLE libvdec.sprx option in RPCS3 settings to activate with the following client rpcs3-v0.0.21-13475-6a671554_win64
Thanks for confirming, only HLE issue now
It appears that the rendering and the outgoing data are correct. So the issue is caused earlier. This means that either the data offsets or pitch is wrongly set by us, or the frame is not decoded correctly or the frame data is wrong in the first place.
I think it's just us doing some derpy stuff with av. I managed to get a slightly different picture by using a different method of determining the incoming data offsets, but it seems I only made it worse xD
The fix wasn't correct and broke other games.
Quick summary
RPCS3 doesn't support or incorrectly supports MP4 format of video codec's used in PlayStation Home.
Details
RPCS3 doesn't correctly display Home's video format. visuals distorted but audio plays fine. (PS3, display of video in Bowling Alley.) (RPCS3, display of video in Bowling Alley.) (Original Video from PlayStation Home content snapshot..) https://user-images.githubusercontent.com/74638626/162596647-f56fdc1c-d730-406c-9d45-5637caa88e83.MP4
Logs
https://cdn.discordapp.com/attachments/838553670831308820/962539682044997672/RPCS3.log
Specs
Processor Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz 3.60 GHz Installed RAM 32.0 GB GPU NVIDIA GeForce RTX 2080 Ti System type 64-bit operating system, x64-based processor Edition Windows 10 Home Version 21H1 OS build 19043.1586 & Ryzen 5800H GeForce 3050ti 16GB Ram Windows 11