EmuNewz Network

Full Version: Media Engine in r1537
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Some new changes were introduced in r1537. Now, faked MPEG videos are the default setting and the Media Engine no longer depends on the JPCSP connector.

What happens now is that if you check "Use Media Engine" only one file (TMP.PMF) will be written and processed in the tmp folder. This file is then deleted when the decoding is flushed or sceMpeg/scePsmfPlayer calls a delete function. This will mostly help those who don't need the raw media files for decoding, since it doesn't fills the tmp folder with huge media files.

If you want to extract these files (Atrac3plus or MPEG streams), check the "Use JPCSP Connector" instead. The fake MPEG video will run with the additional instructions and the folders will be created normally like they used to. The only media that doesn't get extracted is the Atrac3plus streams contained inside PMF files. If you also want to extract these, you'll need to check both options "Use Media Engine" and "Use JPCSP Connector" and they'll be extracted while the movies play.

If, for any reason, you have to interrupt a movie by closing the emulator, the TMP.PMF will still be in the tmp folder. It's a good idea to delete this file to avoid unexpected behaviour, even though it will get overwritten by the next movie.

Also, you can still use the external audio, but you have to extract the files first. After that, you can uncheck the "Use JPCSP Connector" and the Media Engine will use the temporary file and the audio files located inside each folder.

The final goal of this new media interface (PacketChannel) will be avoiding using raw files and send the data directly to the Media Engine with a ByteChannel. Smile
is is possible for the media engine to check if the Movie.pmf exists first and play that file if it does, rather then make a new file (TMP.PMF)..
or somehow increase write rate, since a few movies i tested Jpcsp play faster then the file can write causing a crash (mostly on really big videos)

the easiest to test on its the first crisis core video (where the menu is) about 40-50 seconds into the video it will start getting blocky and crash