Re: [FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-22 Thread Tomas Härdin
tis 2023-02-21 klockan 10:43 + skrev Nicolas Gaullier: > > I haven't worked enough with S377m to really know, but I do know > > it's a mess. Is there a way to differentiate "regular" packed 20- > > bit audio from S377m in wav? > > > > /Tomas > > There is a relevant overview of S337m in this d

Re: [FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-21 Thread Nicolas Gaullier
>I haven't worked enough with S377m to really know, but I do know it's a mess. >Is there a way to differentiate "regular" packed 20-bit audio from S377m in >wav? > >/Tomas There is a relevant overview of S337m in this dolby paper: https://developer.dolby.com/globalassets/professional/dolby-e/dol

Re: [FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-21 Thread Tomas Härdin
fre 2023-02-17 klockan 09:44 + skrev Nicolas Gaullier: > > > @@ -56,6 +56,12 @@ static int s337m_get_offset_and_codec(void > > > *avc, > > > avpriv_report_missing_feature(avc, "Data type %#x in > > > SMPTE 337M", data_type & 0x1F); > > > return AVERROR_PATCHWELCOME; > > >

Re: [FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-17 Thread Nicolas Gaullier
>> @@ -56,6 +56,12 @@ static int s337m_get_offset_and_codec(void *avc, >> avpriv_report_missing_feature(avc, "Data type %#x in >> SMPTE 337M", data_type & 0x1F); >> return AVERROR_PATCHWELCOME; >> } >> +    if (container_word_bits && >> +    !(container_word_bits ==

Re: [FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-16 Thread Tomas Härdin
mån 2023-02-13 klockan 19:09 +0100 skrev Nicolas Gaullier: > Prepare the support of s337m in muxers other than raw (ex: wav). > For example, this forbids reading 16 bits DolbyE stream from a 24 bit > wav file. > --- >  libavformat/s337m.c | 21 +++-- >  libavformat/s337m.h |  3 ++- >

[FFmpeg-devel] [PATCH 2/6] avformat/s337m: Consider container bit resolution

2023-02-13 Thread Nicolas Gaullier
Prepare the support of s337m in muxers other than raw (ex: wav). For example, this forbids reading 16 bits DolbyE stream from a 24 bit wav file. --- libavformat/s337m.c | 21 +++-- libavformat/s337m.h | 3 ++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/libavfo