CBPS Forums

Console Hacking => PS Vita => Reverse Engineering => Topic started by: Graphene on January 16, 2020, 07:04:23 PM

Title: AVContent.db values for ATRAC9 files
Post by: Graphene on January 16, 2020, 07:04:23 PM
Files with this values will be accepted by Music app as ATRAC9:
codec_type: 29
container_type: 13
Files must be wholelooped.

Since ATRAC9 files have WAVE header we can use SceRiffPromoter (by simply changing the extension from .at9 to .wav). Only sampling_rate and size fields will be filled, but this is enough to start  playback. Everything else will be filled automatically after first file playback.
Title: Re: AVContent.db values for ATRAC9 files
Post by: Graphene on January 18, 2020, 01:04:39 AM
Some more information:
1. Maximum ATRAC9 bitrate supported by PS Vita is 192kbps.
2. By default, ATRAC9 have limited band (all frequencies higher than ~18kHz are cut). To bypass that and achive highest sound quality possible, use -nbands 18 when encoding.

Quality and performance comparision:
1. MP3 320kbps: cuts most of the audio information higher than 16kHz, file size 9.72Mb, core load during playback ~50%
2. ATRAC9 192kbps -nbands 18: keeps everything up to 24kHz intact, file size 5.83Mb, core load during playback ~40%