Commit Graph

1352 Commits

Author SHA1 Message Date
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
bnnm
900390d153 add flag to disable MPEG 2016-11-27 16:14:40 +01:00
bnnm
4ad87a0b77 Update FFmpeg path; add flag to disable MPEG
Also FFMPEG_ACCURATE_LOOP added until some crash issues with MPEG are
fixed
2016-11-27 16:14:19 +01:00
Chris Moeller
f7a46e65f4 Updated .gitignore. 2016-11-26 12:04:58 -08:00
Chris Moeller
577df6df59 Updated XMPlay plugin. 2016-11-26 11:53:43 -08: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
d196211753 Ignore hidden files/folders, except .gitignore 2016-11-26 13:32:19 +01:00
bnnm
eb491e0e1b Added WMSF variation; AT3/MP3 support via FFMPEG 2016-11-25 22:29:07 +01:00
bnnm
9e6458c4b9 describe_vgmstream: FFMpeg long_name may be NULL 2016-11-25 22:19:18 +01:00
bnnm
a359dd1816 Null FFMpeg codecdata pointer on failure to avoid segfault 2016-11-25 19:35:52 +01:00
Christopher Snowhill
537dc454a5 Merge pull request #41 from bnnm/build-fixes
Build fixes: FFMPEG support in test/winamp
2016-11-20 11:36:37 -08:00
Christopher Snowhill
e60cc12983 Merge pull request #42 from bnnm/ffmpeg-fixes
FFmpeg looping fix (sample discard was not working in some cases)
2016-11-20 11:35:34 -08:00
bnnm
cda61c3eeb simplify slightly discarding 2016-11-20 18:55:00 +01:00
bnnm
ec068700ae ffmpeg looping: allow compile with accurate (slower?) looping + document 2016-11-20 15:51:02 +01:00
bnnm
729658a19c fix discard samples (looping works now) + document 2016-11-20 15:39:21 +01:00
bnnm
81d1f410a1 Fix missing decode_hca 2016-11-15 23:45:02 +01:00
bnnm
6381858c2f Added optional FFMPEG support in text.exe/winamp 2016-11-15 00:05:19 +01:00
bnnm
ae5d71e377 Allow FFMPEG and MAIATRAC3PLUS to coexist 2016-11-14 22:20:00 +01:00
Christopher Snowhill
841755eb8b Merge pull request #40 from bnnm/minor-fixes
Minor fixes
2016-11-13 16:02:46 -08:00
bnnm
13e641b431 Merge branch 'master' of https://github.com/kode54/vgmstream into minor-fixes 2016-11-13 22:04:28 +01:00