[FFmpeg-devel] [PATCH] avcodec: Fix time reporting for DFPWM streams

2022-06-10 Thread Jack Bruienne
This adds the exact bits per sample for DFPWM to av_get_exact_bits_per_sample. Previously, the DTS and PTS were set to 0 because the codec never reported them, but adding this allows libavformat to automatically set DTS and PTS from the byte position of the stream. Signed-off-by: Jack

[FFmpeg-devel] [PATCH v7 3/3] libavformat: Added DFPWM WAV container support

2022-03-07 Thread Jack Bruienne
to being an external parameter as in the raw format. This format is already supported in my AUKit library, which is the CC analog to libav (albeit much smaller). Support in other applications is TBD. Signed-off-by: Jack Bruienne --- libavformat/riff.c| 3 +++ libavformat/riffenc.c | 4 ++-- 2

[FFmpeg-devel] [PATCH v7 2/3] libavformat: Add DFPWM raw format

2022-03-07 Thread Jack Bruienne
raw data. Please see the previous patch for more information on DFPWM. Changes since v4: Fixed descriptions of formats. Changes since v2/v3: Removed unused MIME parsing code, and added channels option. Signed-off-by: Jack Bruienne --- Changelog | 2 +- MAINTAINERS

[FFmpeg-devel] [PATCH v7 1/3] libavcodec: Added DFPWM1a codec

2022-03-07 Thread Jack Bruienne
most often. I got in contact with someone who knows DFPWM much better than I do, and I worked with them to make a few adjustments that should improve the audio quality. I also made sure that the output matches the Java codec exactly, so it should have the exact same quality as other codecs.

Re: [FFmpeg-devel] [PATCH v6 1/2] libavcodec: Added DFPWM1a codec

2022-03-07 Thread Jack Bruienne
On 3/7/22 06:03, Tomas Härdin wrote: tor 2022-03-03 klockan 10:44 -0500 skrev Jack Bruienne:  From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “GreaseMonkey” Russell in 2012, originally to be used as a voice

[FFmpeg-devel] [PATCH v6 1/2] libavcodec: Added DFPWM1a codec

2022-03-03 Thread Jack Bruienne
most often. I got in contact with someone who knows DFPWM much better than I do, and I worked with them to make a few adjustments that should improve the audio quality. I also made sure that the output matches the Java codec exactly, so it should have the exact same quality as other codecs.

[FFmpeg-devel] [PATCH v5 2/2] libavformat: Add DFPWM raw format

2022-02-27 Thread Jack Bruienne
descriptions of formats. Changes since v2/v3: Removed unused MIME parsing code, and added channels option. Signed-off-by: Jack Bruienne --- Changelog | 2 +- MAINTAINERS | 1 + doc/general_contents.texi | 1 + libavformat/Makefile | 2 + libavformat

[FFmpeg-devel] [PATCH v5 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread Jack Bruienne
rked with them to make a few adjustments that should improve the audio quality. I also made sure that the output matches the Java codec exactly, so it should have the exact same quality as other codecs. Signed-off-by: Jack Bruienne --- Changelog | 1 + MAINTAINERS

[FFmpeg-devel] [PATCH v4 2/2] libavformat: Add DFPWM raw format

2022-02-27 Thread Jack Bruienne
raw data. Please see the previous patch for more information on DFPWM. Changes since v2/v3: Removed unused MIME parsing code, and added channels option. Signed-off-by: Jack Bruienne --- Changelog | 2 +- MAINTAINERS | 1 + doc/general_contents.texi | 1

[FFmpeg-devel] [PATCH v4 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread Jack Bruienne
rove the audio quality. I also made sure that the output matches the Java codec exactly, so it should have the exact same quality as other codecs. Signed-off-by: Jack Bruienne --- Changelog | 1 + MAINTAINERS | 1 + doc/general_contents.texi | 1 + libavcodec/M

[FFmpeg-devel] [PATCH v3 1/2] libavcodec: Added DFPWM1a codec

2022-02-26 Thread Jack Bruienne
with them to make a few adjustments that should improve the audio quality. I also made sure that the output matches the Java codec exactly, so it should have the exact same quality as other codecs. Signed-off-by: Jack Bruienne --- Changelog | 1 + MAINTAINERS

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec: Added DFPWM1a codec

2022-02-25 Thread Jack Bruienne
18:43, Jack Bruienne wrote: From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “GreaseMonkey” Russell in 2012, originally to be used as a voice codec for asiekierka's pixmess, a C remake of 64pixels. It is a 1-bit-

[FFmpeg-devel] [PATCH v2 2/2] libavformat: Add DFPWM raw format

2022-02-25 Thread Jack Bruienne
raw data. Please see the previous patch for more information on DFPWM. Signed-off-by: Jack Bruienne --- Changelog | 2 +- MAINTAINERS | 1 + doc/general_contents.texi | 1 + libavformat/Makefile | 2 + libavformat/allformats.c | 2 + libavformat

[FFmpeg-devel] [PATCH v2 1/2] libavcodec: Added DFPWM1a codec

2022-02-25 Thread Jack Bruienne
ize is constant with respect to the input size. Signed-off-by: Jack Bruienne --- Changelog | 1 + MAINTAINERS | 1 + doc/general_contents.texi | 1 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c| 2 + libavcodec/codec_desc.c | 7 +

Re: [FFmpeg-devel] [PATCH] libavcodec, libavformat: Added DFPWM1a codec and raw format

2022-02-25 Thread Jack Bruienne
ed patches fixing the issues you mentioned promptly. On 2/25/22 03:15, Paul B Mahol wrote: On Fri, Feb 25, 2022 at 02:54:35AM -0500, Jack Bruienne wrote: From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “Gr

[FFmpeg-devel] [PATCH] libavcodec, libavformat: Added DFPWM1a codec and raw format

2022-02-24 Thread Jack Bruienne
e-chains.ogg It reports "Application provided invalid, non monotonically increasing dts to muxer in stream 0", which appears to be because the initial timestamp is not 0:00. This affects all raw muxers, including PCM. Signed-off-by: Jack Bruienne --- Changelog | 1 + MAINT