This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jpcsp movie playback - Intresting find for movie flickering (NVIDIA)
09-21-2012, 11:00 AM
Post: #2
RE: Jpcsp movie playback - Intresting find for movie flickering (NVIDIA)
(09-21-2012 10:01 AM)hyakki Wrote:  I was bored so I ended up fooling with nvidia control panel and discovered a setting under vsync called adaptive, so I set it to half (my refresh is 60/59hz so half would be 30 (30fps), I assume for this to work for other people they would also need to set 60hz refresh for their monitor to get the 30fps cap (this shouldn't be an issue with modern LCD/LED monitors)



And I found that this solved many movie flickering and audio dysync problems that plagued some movies under jpcsp (so far I have tested in "last ranker" (now the movie has no flickering at all, used to be completely unwatchable due to sever flicker), Final Fantasy 2 intro movie flicker gone, Final Fantasy 3 intro movie flicker gone) , I will try to test more but I need to remember what other game movies flickered)
Interesting!
I looks like the video decoding is going faster than the sound can be played and the game is adding blank images to keep video and sound in sync.

There are parameters in Jpcsp to tweak these aspects:
Code:
sceMpeg.maxAheadTimestamp = 40000; // if the video and audio decoding are more than 40000 timestamps (about half a second) out of sync, an error is returned by the decoding.
scePsmfPlayer.psmfMaxAheadTimestamp = 40000; // same but for games using scePsmfPlayer to play the video
sceMpeg.atracDecodeDelay = 3000; // the audio decoding is taking 3000 microseconds (empirical value)
sceMpeg.avcDecodeDelay = 5400; // the video decoding is taking 5400 microseconds (empirical value)
Could you try to tweak these values and see if they have an impact?
For the flickering, I would try to either increase maxAheadTimestamp/psmfMaxAheadTimestamp (but this could cause the video and audio to get more out of sync) or increase avcDecodeDelay (so that the video decoding is not happening too fast).

Thank you!

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Jpcsp movie playback - Intresting find for movie flickering (NVIDIA) - gid15 - 09-21-2012 11:00 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)