avformat: add DFPWM raw format

Multimedia / FFmpeg - Jack Bruienne [gmail.com] - 10 March 2022 13:11 UTC

This patch builds on my previous DFPWM codec patch, adding a raw audio format to be able to read/write the raw files that are most commonly used (as no other container format supports it yet).

The muxers are mostly copied from the PCM demuxer and the raw muxers, as DFPWM is typically stored as raw data.

Please see the previous patch for more information on DFPWM.

70fef2371c avformat: add DFPWM raw format
Changelog | 2 +-
MAINTAINERS | 1 +
doc/general_contents.texi | 1 +
libavformat/Makefile | 2 ++
libavformat/allformats.c | 2 ++
libavformat/dfpwmdec.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++
libavformat/rawenc.c | 13 ++++++++
libavformat/version.h | 4 +--
8 files changed, 104 insertions(+), 3 deletions(-)

  • Share