bnnm
c042878a1b
One more debug util
2016-12-29 13:27:10 +01:00
bnnm
ad660177c4
New utils for common/repetitive actions in stream headers
...
Meant to be more specialized than util.c (the main difference is that
header.c includes VGMSTREAM and may define other struts), used mainly in
metas
2016-12-29 13:24:24 +01:00
bnnm
9bd2003218
Fix minor warning
2016-12-29 01:46:49 +01:00
bnnm
fa31aa2cd7
Fixed wrong meta
2016-12-28 16:14:44 +01:00
bnnm
d4f45eaaee
Moved debug FSB5 MPEG from fsb.c to fsb5.c
2016-12-28 11:39:56 +01:00
bnnm
790bb79cc9
Allow to disable mpg123 stderr output for recoverable MPEGs (FSBs)
2016-12-28 01:38:56 +01:00
bnnm
ad3b081681
Fix possible segfault
2016-12-27 23:18:41 +01:00
bnnm
e06ddd0076
Fixed minor compiler warnings (unused/uninitialized vars)
2016-12-27 16:33:10 +01:00
bnnm
08a1a50ccb
Fixed regression/segfault in multistream .mtaf [MGS3]; cleanup
...
Apparently some MTAF ripped with an old tool contain block data, and a
previous change attempted to support them. This broke multistream MTAF
(block header starts with 0x01, and frame header starts with 0x00, but
also 0x01 in multistreams).
Those MTAF should be re-ripped without blocks.
2016-12-27 14:35:23 +01:00
bnnm
e6b6a34a67
Removed unused layouts
2016-12-27 14:30:45 +01:00
bnnm
0f2627f8da
Added VGM_DEBUG_OUTPUT flag to define debug logging utils
2016-12-27 14:28:12 +01:00
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
12760d2183
Sanify loops: ignore negative start
2016-12-22 23:25:18 +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
Christopher Snowhill
0ff86bd75a
Insert filters reference for xma.c
2016-12-18 11:38:57 -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
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
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
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
bnnm
b9db20283d
FFmpeg: keep block size constant (for edge loops), don't write on EOF
2016-11-29 20:22:20 +01:00