[FFmpeg-devel] [PATCH 1/2] avcodec/s302m: enable non-PCM decoding

Gyan Doshi ffmpeg at gyani.pro
Tue Jan 23 10:32:44 EET 2024



On 2024-01-23 01:26 pm, Kieran Kunhya wrote:
> On Tue, 23 Jan 2024 at 06:50, Gyan Doshi <ffmpeg at gyani.pro> wrote:
>
>> Set up framework for non-PCM decoding in-place and
>> add support for Dolby-E decoding.
>>
>> Useful for direct transcoding of non-PCM audio in live inputs.
>>
> Does this handle a Dolby E packet spanning multiple S302M packets? I'm not
> saying you should support this as it's rare and very annoying to implement
> but it does happen.

No, this does not handle spanned payload.
I have access to a sample where it looks like the packetizer got 
mis-aligned and I think
cases like those are better handled by a parser.

Adding support for multiple payload packets in one 302m packet is on my 
to-do although
the parser is better suited for that as well as the last payload packet 
might be fragmented.

Regards,
Gyan



More information about the ffmpeg-devel mailing list