[FFmpeg-devel] [PATCH v11 0/6] Support enhanced flv in FFmpeg

Steven Liu lq at chinaffmpeg.org
Fri Jun 2 10:31:03 EEST 2023


Reference file: https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf
The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.js.
you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp.
The enhanced flv documentation contributors include
Jean-Baptiste Kempf (FFmpeg, VideoLAN).
So this should be support by ffmpeg too.

v8:
    Support vp9 codec according to enhanced flv.
    Support PacketTypeCodedFrames type for hevc in flv.
v9:
    Add dependency codec object files for flvenc in Makefile.
    Move the hevc,av1,vp9 codec out of FF_COMPLIANCE_UNOFFICIAL.

v10:
    modify first patch comment like the others before commit.
    exheader mode should only happened in video stream this patchset.

v11:
    use IsExHeader|FrameType in enhanced flv muxer,

Steven Liu (6):
  avformat/flvenc: support mux hevc in enhanced flv
  avformat/flvdec: support demux hevc in enhanced flv
  avformat/flvenc: support mux av1 in enhanced flv
  avformat/flvdec: support demux av1 in enhanced flv
  avformat/flvenc: support mux vp9 in enhanced flv
  avformat/flvdec: support demux vp9 in enhanced flv

 libavformat/Makefile |  2 +-
 libavformat/flv.h    | 15 +++++++++
 libavformat/flvdec.c | 73 +++++++++++++++++++++++++++++++++++++++-----
 libavformat/flvenc.c | 61 ++++++++++++++++++++++++++++++------
 4 files changed, 132 insertions(+), 19 deletions(-)

-- 
2.40.0



More information about the ffmpeg-devel mailing list