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
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
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
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
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
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
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
cc9b21bd48
Check if there are samples to play so it won't generate empty files
2016-11-13 21:08:10 +01:00
bnnm
5cd11594e2
Merge remote-tracking branch 'upstream/master'
2016-10-31 00:37:17 +01:00
Chris Moeller
e449722e93
Update MSVC project files.
2016-10-30 15:12:09 -07: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
Chris Moeller
3f813fad09
Revert to MSVC 2010.
2016-10-28 16:49:44 -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
59b49aa99c
Updated PS2 MTAF decoder for features in the format that had yet to be discovered.
2016-08-24 17:33:18 -07:00
Christopher Snowhill
42c00f304b
Add rollback to FFmpeg loop seeking, since FFmpeg doesn't seem to institute any rollback of its own.
2016-08-14 15:18:34 -07:00
Christopher Snowhill
c4c7ec55bf
Tab normalization.
2016-08-10 18: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