[FFmpeg-devel] avformat: adding RTP support for AV1

Chris Hodges Chris.Hodges at axis.com
Fri Nov 22 09:43:00 EET 2024


Hello,

Axis Communications AB would like to contribute a packetizer and 
depacketizer in avformat implementing the RTP for AV1 specification.

This is my first contribution and I have read the chapter about 
submitting patches a couple of times. Nevertheless, I am sorry there are 
mistakes in the process. Thank you for your time reviewing the patch.

The patch is rather large with >40 KB. There are no tests due to missing 
test infrastructure for these parts of libavformat, which is a bit 
unfortunate. However, the patch (after a few iterations) has been 
running without problems for the last couple of months with various 
different kinds of AV1 streams against GStreamer instances, but sending 
RTSP from and to ffmpeg has also been verified and has been stable.

The implementation is basically split into rtpenc_av1, rtpdec_av1 and 
some extra lines for SDP discovery.

I am open for all review requests regarding the implementation, this is 
also my first dive into the ffmpeg code base, so if I missed something,
I will be glad to fix it.

Thank you. Patch follows.

-- 
Chris


More information about the ffmpeg-devel mailing list