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

lance.lmwang at gmail.com lance.lmwang at gmail.com
Tue Aug 11 17:34:25 EEST 2020


On Thu, Aug 06, 2020 at 03:52:33PM +0100, Kieran Kunhya wrote:
> 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.

I haven't found  out how to recreated all the same field of original descriptor by the
information of the header. For the header, I can get fscod, frmsizcod, bsid and I'm not
sure how to map to dvb ac3 descriptor exactly, do you know which project is using this way?
Thanks.
> 
> Kieran
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

-- 
Thanks,
Limin Wang


More information about the ffmpeg-devel mailing list