The parameter "initPts" is not properly implemented in Jpcsp: it should give the start timestamp within the movie. This has to apply for the video and the external audio.
EDIT: a draft implemented for initPts is now available in r2899. Could you test it?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
The parameter "initPts" is not properly implemented in Jpcsp: it should give the start timestamp within the movie. This has to apply for the video and the external audio.
EDIT: a draft implemented for initPts is now available in r2899. Could you test it?
Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.
L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.
L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.
Very good that's one issue down only the play speed one remains .
12-04-2012, 09:11 PM (This post was last modified: 12-04-2012, 09:15 PM by gid15.)
(12-04-2012, 07:08 PM)andutrache Wrote: Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.
L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.
L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.
Very good that's one issue down only the play speed one remains .
Good news!
Could you again post a log with the scePsmfPlayer at DEBUG level for the pause problem?
The function scePsmfPlayerBreak is not implemented and could be the reason for the missing pause.
When playing the movie "at 2x speed", does Jpcsp run at 60 FPS? Hyakki already reported that the video is playing too fast in other games as well when using scePsmfPlayer.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
12-04-2012, 10:24 PM (This post was last modified: 12-04-2012, 10:31 PM by andutrache.)
(12-04-2012, 09:11 PM)gid15 Wrote:
(12-04-2012, 07:08 PM)andutrache Wrote: Good job now even though the movies still go out of sync with the audio it now properly skips to the fail scene when failing.
L.E: I also found something else out the game has a mode where it should pause the movie at every choice but even though it displays the choice it the movie continues in the background instead of pausing.
L.E.E: When it should pause a 41495 [user_main] INFO compiler - Replacing CodeBlock at 0x0882770C by Native Code 'nop' appears in the console.
Very good that's one issue down only the play speed one remains .
Good news!
Could you again post a log with the scePsmfPlayer at DEBUG level for the pause problem?
The function scePsmfPlayerBreak is not implemented and could be the reason for the missing pause.
When playing the movie "at 2x speed", does Jpcsp run at 60 FPS? Hyakki already reported that the video is playing too fast in other games as well when using scePsmfPlayer.
Yes when the movie runs 2x speed Jpcsp has exactly 60 fps. And i remember that some time ago when it was blinking at normal speed it had about 24 fps or 30 i don't remember clearly.
I shall post the log shortly.
L.E: Log up, about 2 or 3 pauses should be in there.
OK, the game is pausing and resuming using scePsmfPlayerChangePlayMode:
- playMode=0x3: pause
- playMode=0x0: play
I've tried to implemented the pause in r2902 and also to workaround the problem with the 2x video play speed. Video and audio should now be better synchronized.
@Hyakki: could you also retest the other games you had showing the double video speed problem? I don't remember in which thread these were listed.
Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
OK, the game is pausing and resuming using scePsmfPlayerChangePlayMode:
- playMode=0x3: pause
- playMode=0x0: play
I've tried to implemented the pause in r2902 and also to workaround the problem with the 2x video play speed. Video and audio should now be better synchronized.
@Hyakki: could you also retest the other games you had showing the double video speed problem? I don't remember in which thread these were listed.
Thank you!
It is almost playable now.
Problem is the video now plays a bit slower than it should and it results in pausing at the wrong time, and when it pauses the last sound repeats itself until you make the choice, also the video seems to stutter a bit (as in it's not fluent).
Also i don't know why but JPCSP sometimes hangs when inputting the command correctly, but only sometimes (seemingly at random). NVM fixed it it was because of the Compiler Method Size it was 50 and i put it at 3000 and now it works no problem.
L.E: Also the last second or so of the video seems to be cut off, there is also the problem of the intro videos not ending and i have to skip them manually with the start button or else black screen.
(12-05-2012, 09:29 PM)andutrache Wrote: Problem is the video now plays a bit slower than it should and it results in pausing at the wrong time, and when it pauses the last sound repeats itself until you make the choice, also the video seems to stutter a bit (as in it's not fluent).
In r2905, the last sound should no longer repeat when pausing.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log