01-08-2014, 10:59 PM
In r3432 I've added some major changes that will need extensive testing.
In SettingsGUI I've renamed the Misc tab to Media (all the options are media related anyway) and moved debugger memory option to Memory.
Under the Crypto tab, SAVEDATA encryption is now enabled by default, but the new options disables the SAVEDATA encryption in order to preserve compatibility with unencrypted SAVEDATA.
Also, a new option was added to allow extracting the key to encrypt and decrypt SAVEDATA. This key is unique per game and it will be necessary for a future SAVEDATA handling external tool.
The VideoEngine changes that broke the saving GE to textures option were reverted while I work on a proper fix.
The biggest change is of course the addition of Atrac3+ native decoding. This feature is highly experimental and was achieved by adding Maxim's atrac3plus decoder in Xuggler's internal FFMPEG captive code.
Here are the main changes in my custom Xuggler build:
- AVX is now disabled. This was found by hyakki and ensures proper stability for certain x64 based computers.
- IAudioResampler.resample now wraps libswscale instead of the old audioconvert functions in order to provide proper conversion between the FLTP sample format (atrac3plus) and the supported S16 format.
- In the main java code for Xuggler there's now a wrapper for libavfilter (IFilterGraph). There original idea came from here: https://groups.google.com/forum/#!msg/xu...1sMnCZvLw/
I've complemented Jakub Stachowski's approach with audio filters and other small improvements. This is not being used in JPCSP yet.
- The FFMPEG source code was modified as needed to work with Maxim's decoder. Since the decoder was written for a far more superior version of FFMPEG than the one used by Xuggler, several code rewrites were needed.
I've compiled and added Xuggler's jars as well as binaries for Linux (x86 and x64) and Windows (x86 and x64) builds in r3432. I'm still working on a MacOS port.
All the media functioning should remain unchanged (mpeg, psmf, at3, audio), so any regressions in this area are really important to report.
To test Atrac3+ support, just enable it's option under the Media tab from Settings. Media Engine must be enabled, of course.
Please beware that crashes, bugs or any kind of unexpected behavior is likely to occur as this still needs a lot of testing.
All the reports are welcome. Enjoy!
In SettingsGUI I've renamed the Misc tab to Media (all the options are media related anyway) and moved debugger memory option to Memory.
Under the Crypto tab, SAVEDATA encryption is now enabled by default, but the new options disables the SAVEDATA encryption in order to preserve compatibility with unencrypted SAVEDATA.
Also, a new option was added to allow extracting the key to encrypt and decrypt SAVEDATA. This key is unique per game and it will be necessary for a future SAVEDATA handling external tool.
The VideoEngine changes that broke the saving GE to textures option were reverted while I work on a proper fix.
The biggest change is of course the addition of Atrac3+ native decoding. This feature is highly experimental and was achieved by adding Maxim's atrac3plus decoder in Xuggler's internal FFMPEG captive code.
Here are the main changes in my custom Xuggler build:
- AVX is now disabled. This was found by hyakki and ensures proper stability for certain x64 based computers.
- IAudioResampler.resample now wraps libswscale instead of the old audioconvert functions in order to provide proper conversion between the FLTP sample format (atrac3plus) and the supported S16 format.
- In the main java code for Xuggler there's now a wrapper for libavfilter (IFilterGraph). There original idea came from here: https://groups.google.com/forum/#!msg/xu...1sMnCZvLw/
I've complemented Jakub Stachowski's approach with audio filters and other small improvements. This is not being used in JPCSP yet.
- The FFMPEG source code was modified as needed to work with Maxim's decoder. Since the decoder was written for a far more superior version of FFMPEG than the one used by Xuggler, several code rewrites were needed.
I've compiled and added Xuggler's jars as well as binaries for Linux (x86 and x64) and Windows (x86 and x64) builds in r3432. I'm still working on a MacOS port.
All the media functioning should remain unchanged (mpeg, psmf, at3, audio), so any regressions in this area are really important to report.
To test Atrac3+ support, just enable it's option under the Media tab from Settings. Media Engine must be enabled, of course.
Please beware that crashes, bugs or any kind of unexpected behavior is likely to occur as this still needs a lot of testing.
All the reports are welcome. Enjoy!