[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
Thu Aug 6 17:48:27 EEST 2020


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?

At first, I consider to pass-by the input descriptor so I haven't dig into the
AC-3 parser/decode yet, I'm not sure whether it's possible to get all fields
of the descriptor from AC-3 header. If it's OK, I think the parser should
export such API to get the different audio descriptor after parse frame.

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