mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-04-25 14:16:10 +03:00
[GH-ISSUE #2215] Gran Turismo double video playback #804
Labels
No labels
Atrac3+
Audio
CPU emulation
D3D11
D3D9 (removed)
Depth / Z
Feature Request
Font Atlas
GE emulation
Guardband / Range Culling
HLE/Kernel
I/O
Input/Controller
MP3
Multithreading
Needs hardware testing
Networking/adhoc/infrastructure
No Feedback / Outdated?
OpenGL
PGF / sceFont
PSMF / MPEG
Platform-specific (Android)
Platform-specific (Windows)
Platform-specific (iOS)
PowerVR GPU
SDL2
Saving issue
User Interface
Vulkan
arm64jit
armjit
armv6
x86jit
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ppsspp#804
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @daniel229 on GitHub (Jun 11, 2013).
Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/2215
the log is too big
https://docs.google.com/file/d/0BzGZGDfFE68zSmdlNEdydnI1TXM/edit?usp=sharing
@Squall-Leonhart commented on GitHub (Jun 14, 2013):
most likely related http://www.gtplanet.net/why-gran-turismo-psp-looks-so-good/
@daniel229 commented on GitHub (Jun 14, 2013):
@unknownbrackets
@oioitff
I test the game again,video seems totally broken,only black screen,no sound, since this commit
github.com/hrydgard/ppsspp@6b84743082log:
http://pastebin.com/MYexBh7n
@oioitff commented on GitHub (Jun 14, 2013):
I notice that game call:
That means it tried to play second audio stream in mpeg stream. If the second audio stream doesn't exist, then audio timestamp would keep 0. I guess that's why it's broken.
@unknownbrackets commented on GitHub (Jun 14, 2013):
It also calls
scePsmfGetNumberOfSpecificStreams()which appears to be broken atm.-[Unknown]
@oioitff commented on GitHub (Jun 14, 2013):
In scePsmfGetNumberOfSpecificStreams(), I think we could return values from PSMF::currentVideoStreamNum and PSMF::currentAudioStreamNum.
Btw, I wonder if this is wrong in Psmf::Psmf :
Maybe it should be:
Maybe that's why the game called sceMpegRegistStream with the wrong streamNum.
@unknownbrackets commented on GitHub (Jun 14, 2013):
Hmm, that sounds right. But I wonder how it numbers them? For example, FFmpeg numbers all streams in the file uniquely, e.g. 0 might be video, 1 English audio, 2 Japanese audio, 3 French audio, and 4 might be subtitles. If 0/1 were working before, that kinda sounds right.
Unfortunately I don't have this game, I dunno if I have any psmfs that have multiple audio streams to test against...
-[Unknown]
@oioitff commented on GitHub (Jun 14, 2013):
The stream numbers in ffmpeg is a bit different from mpeg file.
In mpeg file, each kinds of stream channel start from 0;
In ffmpeg, it try to rename the all the stream number together from 0, and it only marks those recognized stream. So right now most pmf files only have one stream in ffmpeg, because atrac3plus audio stream are not recognized.
@thedax commented on GitHub (Jun 14, 2013):
Issue is fixed in Revision 1348, but sound playback during the intro video is now broken. It began sometime between 1299 and 1348.
Debug log from 1348: http://www.mediafire.com/download/y2zgm3tw2q9t93y/ppsspp-debug.7z
@unknownbrackets commented on GitHub (Jun 14, 2013):
Hmm, smells questionable:
sceMpegRegistStream(09ca1f80, 0, -1)
-[Unknown]
@solarmystic commented on GitHub (Jun 14, 2013):
@thedax
Are you implying that 1299 is the last build to have functional sound playback in the GT intro video? And that the build right after 1299 is the problematic one?
@daniel229 commented on GitHub (Jun 15, 2013):
fixed in https://github.com/hrydgard/ppsspp/pull/2280