-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Diva 2nd has corrupted keyframes in mpeg movies (again) #2705
Comments
Is this still happening, or has it improved? -[Unknown] |
It's still happening. Tested with daa9d27. |
I looked at this a bit closer, and the removal of this seems to be the culprit: if (ctx->avc.avcDecodeResult == 0) {
// return PSP_ERROR_MPEG_NO_DATA at first call before mpegAvcDecode
ctx->avc.avcDecodeResult = MPEG_AVC_DECODE_SUCCESS;
return hleDelayResult(PSP_ERROR_MPEG_NO_DATA, "mpeg get avc", mpegDecodeErrorDelayMs);
} If I add it back in, no corrupted keyframes. If I remove it again, the corrupted keyframes return. |
Hm, I wonder why we removed that... |
According to the commit, it's "more correct". But is it truly? |
@thedax , just wonder the above commit helps this game? |
It actually does, yeah. |
I'll close this for now, since that sketchy commit fixed it, but I'll reopen if it creeps back up. |
This has crept back up. I don't know in what build it returned, though. I'll check a bit later. Edit: It appeared sometime between 0.9.7 and the newest git builds. I'll bisect tomorrow. |
Well, it's silly to bisect. I forgot that the "fix" was reverted with #5212, so of course it came back. |
I'm not sure what my problem is then, it doesn't happen on the real PSP with either my translated or unpatched ISO, nor in ffmpeg's FFPlay. I'm also using default settings. |
I guess I have a slightly corrupted ISO in some way, then. I don't get how when FFPlay doesn't exhibit the issue, but whatever. Closing this. |
Now I don't know what to think. I just used a fresh copy from PSN (eboot.pbp format) and I'm still getting this. :\ Surely it's unlikely that that is corrupted, too? |
Does io on thread affect it? Maybe it's different per region? -[Unknown] |
The game is Japanese only, so it's not a region issue. I/O on thread has no effect. |
@daniel229: You have an NVidia GPU, right? What driver are you using, and what sort of Geforce did you have again? I forget. |
Well, corruption like that should have more to do with ffmpeg/io (e.g. not having a complete frame ready for ffmpeg) than with graphics, I would think. But maybe I'm wrong. -[Unknown] |
I tried a few different drivers and they didn't make a difference, but I just wanted to rule out the possibility.. |
This is still happening to me in the latest builds, and ffmpeg seems to have errors decoding the first few frames:
It's still really weird that nobody else can repro this..no matter how many times I re-download this game from PSN, it still happens for me. |
I don't think it's just you, I think most people just don't notice :P We clearly have a bug. |
Heh, probably. I thought I had it resolved a moment ago, but it was just a fluke..the second time I saw the video it had the corrupted frames, so who knows.. |
It's still there in the latest commit (1.0.1-2686-g4bdde2a, built with latest FFmpeg and not the FFmpeg bundled with repo)
The bug is very subtle (no visual artifacts or alike) and can only be noticed when looking at the log. |
Kind of weird, but I also got this problem when playing Project Diva Extend
|
This issue has seemingly been fixed; I compiled the latest commit and I can't reproduce this any longer, so I'll go ahead and close this again. |
No problem, thanks for fixing it. |
Someone's reporting this is happening again, but only on Android. Exactly the same part of the video afaict. -[Unknown] |
A git bisect (from 0.8.1-1 to 0.8.1-430) claims 64a042d is responsible, but I'm sure we can find a way to make it play correctly if we test enough.
How it is currently (highlighted in red):
What it should look like:
Project Diva 2nd - JP 1.00
The text was updated successfully, but these errors were encountered: