bnnm
b083042704
Cleanup
2018-08-19 10:07:27 +02:00
bnnm
de9fe570e0
Add subsongs for FFmpeg formats
2018-06-09 17:30:28 +02:00
bnnm
49e62d2bcc
Move read_pos_file to ffmpeg.c since it was only needed there
2018-03-29 20:38:06 +02:00
bnnm
4263533ba9
Move FFmpeg code from ffmpeg.c to ffmpeg_decoder.c for consistency
2017-05-19 17:21:22 +02:00
bnnm
85a3ec749f
Show stream numbers in the description (few multi-stream formats only)
2017-03-04 02:05:07 +01:00
bnnm
9ff0e2b8a7
Fix again rare FFmpeg bug when reading "fake" filesizes
2017-02-25 13:43:05 +01:00
bnnm
9317ce9cc2
Add ffmpeg_set_skip_samples to manually fix encoder delay in some cases
2017-02-12 13:17:01 +01:00
bnnm
8d973f4eb9
Allow negative start time in init_seek (for Ogg)
2017-02-12 12:18:44 +01:00
bnnm
13bec0d5be
Add check in free_ffmpeg to avoid segfault if data is NULL
...
free() accepts NULL so free_ffmpeg should too, I guess
2017-02-04 17:54:43 +01:00
bnnm
c3490f99d9
Fix a rare FFmpeg bug when reading "fake" filesizes
2017-01-27 23:16:00 +01:00
bnnm
07c179e51c
Remove unused init_ffmpeg_faux_riff
...
Superseded by init_ffmpeg_header_offset and various ffmpeg_make_riff_x
2017-01-14 22:29:47 +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
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
cdfd47eb7b
FFmpeg: expose block/frame size, rename totalFrames for clarity
2016-12-10 15:53:29 +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
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
Christopher Snowhill
8337395ba9
Fix bitrate reporting for FFmpeg.
2016-08-10 18:30:48 -07:00
Chris Moeller
cbe9bc3d6b
Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder.
2016-07-16 23:02:27 -07:00