05-07-2010, 05:58 PM
Orphis is right. Plus, the process gets much more complicated when we're using a codec that has almost no information available.
Anyway, I've updated the ME again in r1510. Now the video sequences are no longer external (only for sceMpeg videos, scePsmfPlayer is still using external methods), they're now re-converted and written to memory.
It now mimicks the PSP system much more accurately:
Video data is written to memory -> Data is sent to Media Engine -> Video is processed and decoded -> Sequential images are generated and sent back from the Media Engine -> These images are converted to pixels, readapted and finally written back to memory.
Expect some stuttering and laggy videos, because they now depend on the emulator's speed, but now Crisis Core should display them properly (menu and subtitles overlaying the video, just like it was doing with faked MPEG sequences). Also, you can now take screenshots and watch them full screen.
By the way, I've also added an experimental external audio loading mechanism. If you want to test it, place a file named ExtAudio.wav in the same folder the Movie.pmf is located and it should play while the video is displaying. This is mostly targeted at testing the software conversion solutions available (Goldwave, Sonic Stage), so I've restricted it to .wav files.
Anyway, I've updated the ME again in r1510. Now the video sequences are no longer external (only for sceMpeg videos, scePsmfPlayer is still using external methods), they're now re-converted and written to memory.
It now mimicks the PSP system much more accurately:
Video data is written to memory -> Data is sent to Media Engine -> Video is processed and decoded -> Sequential images are generated and sent back from the Media Engine -> These images are converted to pixels, readapted and finally written back to memory.
Expect some stuttering and laggy videos, because they now depend on the emulator's speed, but now Crisis Core should display them properly (menu and subtitles overlaying the video, just like it was doing with faked MPEG sequences). Also, you can now take screenshots and watch them full screen.
By the way, I've also added an experimental external audio loading mechanism. If you want to test it, place a file named ExtAudio.wav in the same folder the Movie.pmf is located and it should play while the video is displaying. This is mostly targeted at testing the software conversion solutions available (Goldwave, Sonic Stage), so I've restricted it to .wav files.