Commit Graph

881 Commits

Author SHA1 Message Date
bnnm
8daafeea90 Adjusted loop detection for some dual stereo files (Ecco the Dolphin)
It was detecting one channel as looping and other as non-looping.
2016-12-26 16:09:16 +01:00
bnnm
46d7fcfe80 Added Killzone VAGp (.vag); code cleanup 2016-12-26 13:30:43 +01:00
bnnm
973c4bff1d Added namco XMA (.xma), Soul Calibur II HD XMA (.past) variations 2016-12-26 13:27:47 +01:00
bnnm
ea7b8d2570 Added short VAG variation (SGXD type 5 found in PS3 Afrika) 2016-12-21 23:00:34 +01:00
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
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
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
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
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
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
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
Christopher Snowhill
fa4498d964 Merge pull request #44 from bnnm/ffmpeg-fixes2
FFmpeg fixes
2016-11-27 14:10:09 -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
69116cb6ad Fix VGM_USE_MPEG #ifdef 2016-11-26 15:15:50 +01:00
bnnm
75dd0d0d8b FFmpeg fixes
- add samplesPerBlock to FFmpeg struct (for clarity)
- delete functions defs already in meta.h
- comments as I tried to understand the code better
2016-11-26 13:43:59 +01:00
bnnm
eb491e0e1b Added WMSF variation; AT3/MP3 support via FFMPEG 2016-11-25 22:29:07 +01:00
bnnm
a359dd1816 Null FFMpeg codecdata pointer on failure to avoid segfault 2016-11-25 19:35:52 +01:00
bnnm
ae5d71e377 Allow FFMPEG and MAIATRAC3PLUS to coexist 2016-11-14 22:20:00 +01:00
bnnm
ec2a652b29 Document AINF header 2016-11-13 21:08:11 +01:00
bnnm
eddd789222 Add loop support for Zero Time Dilemma (PC) 2016-11-13 21:08:11 +01:00
bnnm
5cd11594e2 Merge remote-tracking branch 'upstream/master' 2016-10-31 00:37:17 +01:00
Christopher Snowhill
82609f8cf6 Merge pull request #37 from bnnm/format-ps2-svag-snk
Support for PS2 SNK SVAG
2016-10-30 15:07:32 -07:00
bnnm
3c96211b06 LF was actually ok (they where CRLF previously but this is a unix file) 2016-10-30 18:59:09 +01:00
bnnm
ef8653569b attemp to fix LF 2016-10-30 12:53:34 +01:00
bnnm
5d9b186625 Less C99 2016-10-30 10:36:29 +01:00
bnnm
5ff5f8adf9 support for looping and v2 format (GANTZ) 2016-10-29 10:20:45 +02:00
Chris Moeller
94309292d9 Remove C99-isms for MSVC 2010. 2016-10-28 16:50:39 -07:00
bnnm
b5a9db8ae2 support for PS2 SNK SVAG 2016-10-27 23:21:12 +02:00
bnnm
f1b0b0ea82 fixed AT3plus sample count (needed for non-looped files) 2016-10-26 23:53:58 +02:00
Christopher Snowhill
713883d9bc Merge branch 'master' of github.com:kode54/vgmstream 2016-08-24 17:34:13 -07:00
Christopher Snowhill
36aa6bf9cd Add .sgb extension for RIFF WAV parser. 2016-08-10 18:31:06 -07:00
Christopher Snowhill
8337395ba9 Fix bitrate reporting for FFmpeg. 2016-08-10 18:30:48 -07:00
Arne Morten Kvarving
e6a8e8890d fixed: coding_FFmeg is conditionally defined 2016-07-31 14:54:57 +02:00