[FFmpeg-devel] Patch to libavc/opus to create extradata if missing

Tristan Matthews tmatth at videolan.org
Wed Jul 6 17:10:51 EEST 2022


Hi,

On Sun, Jan 3, 2021 at 8:09 PM Andreas Rheinhardt <
andreas.rheinhardt at gmail.com> wrote:

> Jonathan Baudanza:
> > On Sun, Jan 3, 2021, at 3:34 PM, Andreas Rheinhardt wrote:
> >> Lynne:
> >>>
> >>> Apart from that LGTM.
> >>
> >> +1 if the case of more than two channels has been properly tested.
> >>
> >
> > I tested this by creating an (invalid) SDP file with channels set to 3.
> In this case, the rtp demuxer fails with the following message:
> >
> >    [sdp @ 0x7fe40280b800] Error creating opus extradata: Invalid data
> found when processing input
> >
> > It might be more descriptive if we added a log warning about the channel
> count. WDYT?
>
> It's ok as-is.
>
> - Andreas
>

Could this land? I found another case that it fixes (specifically
streamcopy + muxing a specific mkv file that was captured via RTP).

Best,
Tristan


More information about the ffmpeg-devel mailing list