Commit Graph

2372 Commits

Author SHA1 Message Date
bnnm
0b3050cf0a Added PSVita HEVAG (original algorithm by daemon1) 2016-12-21 20:44:16 +01:00
bnnm
4c25807b3d Prepare loop finder for HEVAG and minor touches 2016-12-21 00:48:47 +01:00
bnnm
75485c388e Moved VAG loop finder to function; comments, code preps 2016-12-20 23:29:36 +01:00
Christopher Snowhill
6a4577f561 Fixed MSS sample count handling, hopefully. 2016-12-18 19:54:41 -08:00
Christopher Snowhill
ad85fc8bc3 Make XMA support dependent on FFmpeg inclusion, for now. 2016-12-18 11:41:26 -08:00
Christopher Snowhill
0ff86bd75a Insert filters reference for xma.c 2016-12-18 11:38:57 -08:00
Christopher Snowhill
794204f193 Merge pull request #54 from bnnm/format-xma-misc
Formats: XMA and others
2016-12-18 11:01:56 -08:00
bnnm
8140800587 Added proper/looped .XMA 2016-12-18 18:12:27 +01:00
bnnm
c1c1cd1ba6 init_ffmpeg accepts any generic header; init_seek edge cases (for XMA) 2016-12-18 13:10:08 +01:00
bnnm
ce040bbb36 Added put_8bit for consistency/clarity 2016-12-18 12:46:11 +01:00
bnnm
d1dc2b6082 Added .BCWAV dual stereo (3DS Lego games) 2016-12-18 10:24:14 +01:00
bnnm
27868be723 Fixed v5 header coef positions 2016-12-16 20:34:44 +01:00
bnnm
2a7b645d23 Fixed PS2 MSS sample count and description 2016-12-16 20:29:02 +01:00
Christopher Snowhill
64a14c9158 Merge pull request #53 from bnnm/misc-changes
Misc changes
2016-12-11 11:18:48 -08:00
bnnm
b7a6fd21b0 Remove outdated txt, see BUILD.md instead 2016-12-11 13:28:38 +01:00
bnnm
efa976a942 Added simple build doc 2016-12-11 13:26:30 +01:00
bnnm
df68ac1e01 Minor update to format list 2016-12-11 13:08:59 +01:00
bnnm
76dc236b41 Added .pos support for .vgmstream (FFmpeg) files not directly supported
The format is LE 4+4 [loop_start loop_end], or LE 4+4+4 [loop_start
loop_end num_samples] when FFmpeg can't determine correctly num_samples
2016-12-11 13:05:54 +01:00
bnnm
e6334e72af MAIATRAC3PLUS: use fact_samples if possible (manual calcs can be off) 2016-12-10 16:07:54 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
85d34a7901 Always define VERSION if not defined 2016-12-10 10:09:13 +01:00
Christopher Snowhill
01b01803ce Add more file information reporting to foobar2000 input, and also correct seek handling that has been broken since the loop range wrapping was added years ago. 2016-12-09 18:55:25 -08:00
Christopher Snowhill
2082a7a869 Updated to use bundled copy of FFmpeg libraries on win32, built with media-autobuild_suite. 2016-12-09 14:26:48 -08:00
Christopher Snowhill
a652ef3731 Updated to use FFmpeg 'accurate' seeking. 2016-12-08 16:11:55 -08:00
Christopher Snowhill
7c63b8411e Merge pull request #48 from bnnm/format-fixes
Format fixes
2016-12-06 10:38:29 -08:00
bnnm
22d7708d68 Added FFmpeg MP4/AAC 2016-12-06 17:12:56 +01:00
bnnm
c5066fdd09 Check for segfault 2016-12-06 11:53:54 +01:00
bnnm
80c72166e5 AT3: read skip samples to fix edge loops 2016-12-06 00:28:16 +01:00
Christopher Snowhill
ef6778bbc1 Updated foobar2000 component and main library to enable FFmpeg support. 2016-12-05 14:34:27 -08:00
bnnm
6568acc305 Favor FFMPEG over MPEG due to inaccurate looping and worse MPEG support 2016-12-04 23:10:18 +01:00
bnnm
2ac3db4d03 SGDX fixes: AT3/AC3 codecs (via FFmpeg), ADPCM interleave, unify code 2016-12-04 23:10:18 +01:00
bnnm
bf7d3da39a Load HCA encryption keys from external file (songname.extkey or .extkey) 2016-12-04 23:10:17 +01:00
Christopher Snowhill
800a700b4e Merge pull request #47 from bnnm/vgmstream-generic-format
Added generic .vgmstream/.vgms passthrough extension
2016-12-04 13:17:49 -08:00
bnnm
a212cabac4 Added generic .vgmstream/.vgms passthrough extension
Meant to hijack common extensions so they play via vgmstream
(song.mp3.vgmstream)
2016-12-04 20:53:37 +01:00
Christopher Snowhill
ab4226ceb2 Merge pull request #46 from bnnm/ffmpeg-fixes4
Ffmpeg fixes4
2016-12-03 21:39:12 -08:00
bnnm
c5c97c4027 Fixed discard in edge cases 2016-12-03 18:17:37 +01:00
bnnm
0faa3286aa Don't manually check framesRead and rely on FFmpeg's EOFs
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
80c8791288 Improve init_seek: don't add existing index, find packet size (for M4A) 2016-12-03 01:56:27 +01:00
bnnm
8cdce2c196 Check on init if seek to 0 works (buggier demuxers may fail) 2016-12-02 22:33:51 +01:00
bnnm
609bfb5d61 Minor fixes and cleanup 2016-12-01 23:49:00 +01:00
bnnm
47be992b4b Fix for demuxers that can't seek to 0 (FFmpeg bugs, see init_seek) 2016-12-01 20:11:17 +01:00
bnnm
f5da8281e2 Move FFmpeg reset to ffmpeg_decoder (cleanup) 2016-12-01 19:58:51 +01:00
bnnm
2754f05b11 Move FFmpeg looping to ffmpeg_decoder for further changes (cleanup) 2016-11-30 23:48:49 +01:00
Christopher Snowhill
05f86831bf Merge pull request #45 from bnnm/ffmpeg-fixes3
FFmpeg: keep block size constant (for edge loops), don't write on EOF
2016-11-29 17:02:21 -08:00
bnnm
b9db20283d FFmpeg: keep block size constant (for edge loops), don't write on EOF 2016-11-29 20:22:20 +01:00
Christopher Snowhill
fa4498d964 Merge pull request #44 from bnnm/ffmpeg-fixes2
FFmpeg fixes
2016-11-27 14:10:09 -08:00
Christopher Snowhill
7c9ba0e01f Merge pull request #43 from bnnm/decryption-keyfiles
Decryption keyfiles
2016-11-27 14:07:22 -08:00
bnnm
f5e8e8ad8e Open key using streamFile, needed to allow user-defined callbacks 2016-11-27 22:42:42 +01:00
bnnm
088fb4a480 Add Gunhound EX PSP key; try to get key from external file
Needed for files which incorrectly guess its XOR key (like Gunhound).
The format for ADX keyfiles is 6 bytes with start/mult/add (ex.
0x111122223333).
2016-11-27 19:41:36 +01:00
bnnm
5a1a122698 Util to read encryption keys from external file based on a songname
The format is "(songname.ext)key" (per song), "(.ext)key" (per folder)
2016-11-27 19:35:26 +01:00