[FFmpeg-devel] [PATCH v6 1/4] avformat/flvenc: Add support for HEVC over flv in muxer

Steven Liu lingjiujianke at gmail.com
Thu Apr 13 09:41:08 EEST 2023


Jean-Baptiste Kempf <jb at videolan.org> 于2023年4月13日周四 08:42写道:
>
> Hello,
>
> On Wed, 12 Apr 2023, at 03:30, Steven Liu wrote:
> > Implements HEVC according to Enhanced FLV spec found at
> > https://github.com/veovera/enhanced-rtmp
>
> The spec is not final, so please wait before merging this :)
> But it looks good.
>
> >  libavformat/flv.h    | 16 ++++++++++++
>
> > @@ -110,6 +116,16 @@ enum {
> >      FLV_CODECID_H264    = 7,
> >      FLV_CODECID_REALH263= 8,
> >      FLV_CODECID_MPEG4   = 9,
> > +    FLV_CODECID_HEVC    = 10,
>
> By adding this to the enum, if there a risk that invalid streams, aka using 10 inside the bitstream get decoded too? (Instead of using the fourcc)

Okay, Just use fourcc for enhanced flv, new patchset resubmit:
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=8732


Thanks
Steven


More information about the ffmpeg-devel mailing list