Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/rtmpproto: support enhanced rtmp

2023-08-25 Thread Martin Storsjö
On Fri, 25 Aug 2023, Steven Liu wrote: Martin Storsjö 于2023年8月25日周五 17:38写道: On Fri, 25 Aug 2023, Steven Liu wrote: >> > +list_len = (fourcc_str_len + 1) / 5; >> > +// write the fourCcList field name >> > +ff_amf_write_field_name(, "fourCcList"); >> > + >> > +

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/rtmpproto: support enhanced rtmp

2023-08-25 Thread Steven Liu
Martin Storsjö 于2023年8月25日周五 17:38写道: > > On Fri, 25 Aug 2023, Steven Liu wrote: > > >> > +list_len = (fourcc_str_len + 1) / 5; > >> > +// write the fourCcList field name > >> > +ff_amf_write_field_name(, "fourCcList"); > >> > + > >> > +// write the fourcc array

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/rtmpproto: support enhanced rtmp

2023-08-25 Thread Martin Storsjö
On Fri, 25 Aug 2023, Steven Liu wrote: > +list_len = (fourcc_str_len + 1) / 5; > +// write the fourCcList field name > +ff_amf_write_field_name(, "fourCcList"); > + > +// write the fourcc array length > +ff_amf_write_array_start(, list_len); > + > +

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/rtmpproto: support enhanced rtmp

2023-08-25 Thread Steven Liu
Martin Storsjö 于2023年8月25日周五 17:04写道: > > On Fri, 25 Aug 2023, Steven Liu wrote: > > > Add option named rtmp_enhanced_codec, > > it would support hvc1,av01,vp09 now, > > the fourcc is using Array of strings. > > > > Signed-off-by: Steven Liu > > --- > > doc/protocols.texi | 6 ++ > >

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/rtmpproto: support enhanced rtmp

2023-08-25 Thread Martin Storsjö
On Fri, 25 Aug 2023, Steven Liu wrote: Add option named rtmp_enhanced_codec, it would support hvc1,av01,vp09 now, the fourcc is using Array of strings. Signed-off-by: Steven Liu --- doc/protocols.texi | 6 ++ libavformat/rtmpproto.c | 35 +++ 2 files