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

Kieran Kunhya kierank at obe.tv
Tue Jan 23 11:05:10 EET 2024


On Tue, 23 Jan 2024 at 08:33, Gyan Doshi <ffmpeg at gyani.pro> wrote:

>
>
> 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
>

Yes, and the other uncertainty is that the PTS must be cotimed with the
video so you have to guess whether it's the previous PTS or the next one.

Kieran


More information about the ffmpeg-devel mailing list