[FFmpeg-devel] [PATCH v3 0/2] Argonaut Games ASF and ADPCM decoding support
Zane van Iperen
zane at zanevaniperen.com
Tue Jan 21 12:09:15 EET 2020
Hi all,
This patchset adds support for the ASF container and ADPCM variant used by
some Argonaut Software games such as 'Croc! Legend of the Gobbos' and 'Croc 2'.
It has been tested against:
- ANISOUND/*.ASF from Croc 1
- music/*.asf from Croc 2
- FIGHT/SOUND/*.ASF from https://samples.ffmpeg.org/game-formats/brender/part2.zip
v3: [2][3][4][5]
- ignore file extension in probe
- reduce maximum possible probing score to 61
- returned the stolen empty line
- move the decoder into adpcm.c with the existing ones
- formatting fixes
v2: [1]
- change to use AV_RLxx() instead of relying on #pragma pack()
- use MKTAG()
- formatting fixes
[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/255986.html
[2]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/256005.html
[3]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/256014.html
[4]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/256021.html
[5]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-January/256024.html
Zane
Zane van Iperen (2):
avcodec: add decoder for argonaut games' adpcm codec
avformat: add demuxer for argonaut games' ASF format
Changelog | 2 +
doc/general.texi | 1 +
libavcodec/Makefile | 1 +
libavcodec/adpcm.c | 152 +++++++++++++++++++++++
libavcodec/allcodecs.c | 1 +
libavcodec/avcodec.h | 1 +
libavcodec/codec_desc.c | 7 ++
libavcodec/version.h | 2 +-
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/argo_asf.c | 262 +++++++++++++++++++++++++++++++++++++++
libavformat/version.h | 4 +-
12 files changed, 432 insertions(+), 3 deletions(-)
create mode 100644 libavformat/argo_asf.c
--
2.17.1
More information about the ffmpeg-devel
mailing list