(10-10-2013 06:32 PM)maximumspatium Wrote: Hi guys (and girlz),
my ATRAC3+ decoder has finally been posted to the FFmpeg project.
You can either follow up on our discussion here:
http://ffmpeg.org/pipermail/ffmpeg-devel...49248.html
or grab the latest Git snapshot, apply the above-mentioned patches and start to experiment with the decoder yourself.
Enjoy!
Best regards
Maxim
(10-04-2013 11:06 PM)Henrik Wrote: Not only did the preliminary version that Maxim gave me work flawlessly on the bunch of games I tested it on (I have to add a disclaimer that I obviously didn't test it on the entire PSP game library though), but it appears to run considerably faster than our current "solution". So CPU usage when playing Atrac3+ music will decrease for those of you who have been using the plugin, improving speed somewhat.
I'm pleased to hear that!
At the time being, you're running a scalar version of the decoder. Its speed can be increased by 15-20% by vectorizing several DSP functions.
Most modern CPUs include some kind of SIMD/Vector instructions in order to improve the performance of multimedia applications...
(10-05-2013 02:54 PM)Hykem Wrote: Even though it will take a while for ATRAC3+ to reach JPCSP (still has to go through Xuggler), PPSSPP will be able to implement it soon and give people the so long awaited missing sound.
IIRC, Xuggler is just a Java wrapper for FFmpeg, isn't?
What do you need for Xuggler being able to decode ATRAC3+? A custom FFmpeg build?
Best regards
Maxim
Pretty much, yes. However, I believe it should be possible to implement the changes directly in Xuggler's source code and build the whole framework at the same time (Xuggler + FFmpeg) with little trouble.
I've been looking into this and since Xuggler is built on top of FFmpeg's code it should be just a matter of updating the FFmpeg captive files first (
https://github.com/artclarke/xuggle-xugg...er/captive ) and then manually add the new codec's info to the source code (
https://github.com/artclarke/xuggle-xugg...r/ICodec.h ) and apply all the necessary changes afterwards.
I'll try forking Xuggler and merge the latest FFmpeg snapshot and your patch to see what I can come up with.
Good luck with the review, Maxim.
Regards,
Hykem