[FFmpeg-devel] [PATCH 2/5] avutil/mpegts_audio_desc_metadata: add helper function for AC3 descriptor 0x6a

Kieran Kunhya kierank at obe.tv
Thu Aug 6 17:52:33 EEST 2020


On Thu, 6 Aug 2020 at 15:48, <lance.lmwang at gmail.com> wrote:

> On Thu, Aug 06, 2020 at 07:51:55AM +0100, Kieran Kunhya wrote:
> > >
> > > It's audio descriptor information although it's stored in PSI table,
> but
> > > it'll map to
> > > specific audio packet in the end, so I don't think it's hacky. I have
> > > tested
> > > with mpts with multiple audio stream, it's pass-by if copy specifc
> audio
> > > stream.
> > >
> >
> > Why not just parse the AC-3 packet header in the mux and change the PSI
> > there?
>

No, I don't mean use a parser, the ac3 packet header is a simple bitstream,
it's only a few bytes that need reading.

Kieran


More information about the ffmpeg-devel mailing list