-
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
Audio problems with the hysteria project 1 and 2 #3844
Comments
ppsspp android version |
Hmm, this doesn't give a lot of information. Does this happen on Windows? Can you post a log? -[Unknown] |
The problem also happens in linux. |
Similar problem also has Hysteria Project 2. |
Has this changed or improved at all? -[Unknown] |
If you select non-buffered rendering the flickering stops but after the selection of the first action in the game it shows black screen.
|
It seems like it's trying to play a video and failing. Does it make any difference to hold fast forward and mash the buttons a bunch? Is it supposed to show a long video or one in the background maybe? -[Unknown] |
I tried both games with v0.9.7-24-g384af34 (non-buffered rendering to stop the flickering) and it seems to work (no black screen).
|
How are the videos now (in the latest git build, which... isn't available on the buildbot atm... arg)? -[Unknown] |
Saigo no Yakusoku no Monogatari is also missing BGM during video.and report these errors when ffmpeg at3+ stuff merged,Last working build is 0.91-1963-g8de3d88,0.91-2005-gdea4668. |
Has this improved, especially the flickering? Also, maybe the au changes helped here? I suppose we are not decoding the right audio data... but I'm not sure why. That or it really is a problem in ffmpeg. -[Unknown] |
Audio of the video in Saigo no Yakusoku no Monogatari is not changed |
Apparently, this hack fixes the audio in the Last Promise Story video: Core/HW/SimpleAudioDec.cpp, from: codecCtx_->channels = channels_;
codecCtx_->channel_layout = channels_ == 2 ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
codecCtx_->sample_rate = sample_rate_; To: codecCtx_->channels = 1;
codecCtx_->channel_layout = AV_CH_LAYOUT_MONO;
codecCtx_->sample_rate = sample_rate_ * 2; This might mean we're not demuxing this properly or something (maybe our frame size is wrong? or maybe it's actually mono or something?), not really sure. It sounds like the channels are 2/STEREO by default and the sample rate is 44100 (so this sets it to 88200.) Seems questionable, anyway... If you extract the video and play it with this patch (not sure if you have a build with it?): Does it play correctly? I know it's a pain to build ffmpeg/ffplay so if you don't already have it maybe we can find some other way. Also, does such a thing help Hysteria Project? -[Unknown] |
I had built ffplay with that patch long time ago and it play the sound.That hack also help Hysteria Project.
But not help Prince Of Persia Revelations
|
hysteria project 1 in ffplay
|
Interesting, it states that both are actually mono. So, one way or another, we are misdetecting the audio. This isn't shocking, since we always assume videos have stereo audio from what I can tell? But, I wonder why the doubling of the sample rate is necessary then. Maybe just that we demux mono incorrectly. Prince of Persia - is it broken as well, without any hack? Definitely that hack is not "right". If it's also currently broken, what does ffplay say about it? Is it also mono? -[Unknown] |
JPCSP also think it's mono,some tool also tell it's mono. I think it's mono. Prince of Persia video info
|
Did #8472 help? |
Yes,it did. |
How about Prince Of Persia Revelations? Or is that a separate issue? -[Unknown] |
Prince Of Persia Revelations the video sound is fixed, but the atrac has issue. |
Darn, I guess we should create a new issue? I suppose it's probably new since v1.1.1? -[Unknown] |
Oh,no,the Prince Of Persia Revelations is still same as before,both video sound and the ingame sound have problem,and it's always before |
Problems with the hysteria project psp game the game load and start perfectly but then game begin the ppsspp show black screen pls fix the problem
The text was updated successfully, but these errors were encountered: