bnnm
0103f449d0
Pass stream_index to FFmpeg manually for flexibility
2017-08-19 10:28:28 +02:00
bnnm
5cddab629d
Add FFmpeg audio stream selection
2017-08-18 18:56:43 +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
04f2cb0344
Moved FFmpeg RIFF utils to their own file
...
I'm going to add more later so it was getting kind of unwieldy
2017-02-25 13:54:05 +01:00
bnnm
248ec021d8
Add FFmpeg fake riff helpers: XMA1, XWMA, XMA2 tweaks
2017-02-25 12:25:10 +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
376b4acbb2
Minor func rename (ffmpeg_make_riff_xma2_from_fmt)
2017-01-14 22:25:15 +01:00
bnnm
f5750ba2cc
Moved make_riff_x to ffmpeg_decoder.c (only actually used by FFmpeg)
...
Also added make_riff_xma2_from_fmt_be
2017-01-13 23:47:52 +01:00
bnnm
7e520162a3
FFmpeg: remove ACCURATE_LOOPING flag now it's battle-tested
...
It's fast enough and the older looping code would need to be redone
anyway
2017-01-08 02:54:18 +01:00
bnnm
cdfd47eb7b
FFmpeg: expose block/frame size, rename totalFrames for clarity
2016-12-10 15:53:29 +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
609bfb5d61
Minor fixes and cleanup
2016-12-01 23:49:00 +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
bnnm
cda61c3eeb
simplify slightly discarding
2016-11-20 18:55:00 +01:00
bnnm
729658a19c
fix discard samples (looping works now) + document
2016-11-20 15:39:21 +01: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
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