[FFmpeg-devel] [PATCH v4 0/9] avformat: wav-s337m support + new probe_stream option
Nicolas Gaullier
nicolas.gaullier at cji.paris
Sat Oct 3 01:23:37 EEST 2020
Because of the dependencies, I had to group all the patchs in a serie, but they are 3 functionnal parts :
* patch 1 is necessary to fix dolby_e pts that will be part of the test in patch 8
* patch 2,3,4,5,6,7,8 : s337m support in wav
this is a rework of a precedent serie (https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=106)
* patch 9 : AVOption to disable codec auto-detect : it seems it is a general request from many users, and it
is also critical here for dolby_e as many broadcasters will still need to just pass-through dolby_e data as they already do.
Thus, the patchset 2,3,4,5,6,7 should not be applied without the last patch 9 applied quickly behind...
Here are the updates on the s337m serie since the last revision:
* an error message has been removed in s337m_get_offset_and_codec because it could never be seen in the actual implementation and thus seemed useless
* the decoding test has been replaced by a demuxing test (Tomas review)
The test sample 512.wav can be downloaded here :
https://0x0.st/zdW-.wav
Thank you for the review!
Nicolas
Nicolas Gaullier (9):
avcodec/dolby_e: set constant frame_size
avformat/s337m: Split read_packet/get_packet
avformat/s337m: Consider container bit resolution
avformat/s337m: New ff_s337m_probe()
avformat/wavdec: s337m support
avformat/wavdec.c: Reindent after last commit
avformat/wavdec: fix s337m/spdif probing beyond data_end
avformat/wavdec: Test s337m
avformat: Add probe_stream option
doc/formats.texi | 3 ++
libavcodec/dolby_e.c | 1 +
libavformat/avformat.h | 9 ++++-
libavformat/options_table.h | 1 +
libavformat/s337m.c | 69 ++++++++++++++++++++++++++++++++-----
libavformat/s337m.h | 54 +++++++++++++++++++++++++++++
libavformat/utils.c | 2 ++
libavformat/version.h | 2 +-
libavformat/wavdec.c | 53 +++++++++++++++++++---------
tests/Makefile | 1 +
tests/fate/audio.mak | 3 ++
tests/ref/fate/s337m-wav | 11 ++++++
12 files changed, 181 insertions(+), 28 deletions(-)
create mode 100644 libavformat/s337m.h
create mode 100644 tests/ref/fate/s337m-wav
--
2.27.0.windows.1
More information about the ffmpeg-devel
mailing list