Hi, This is the latest version of the patchset for enabling support for the MP4A-LATM payload format - this is IMO the least ugly way of handling it.
In this iteration, it is enabled via a private avoption (a flag in a flags field) on the RTP muxer - that part is really the right way to do things I'd say. The later part of the patchset, for exposing these options in muxers that internally chain a RTP muxer, is the part that perhaps isn't totally optimal, but I'm not really aware of any cleaner way of doing it, without totally over-engineering it. I'll be away for two weeks now, so if there are any issues with these patches, it'll have to wait until after that. (I'm posting it now so that this patchset at least is public, since I still think this patchset is better than any of the previous ones.) // Martin Juan Carlos Rodriguez (1): rtpenc: MP4A-LATM payload support Martin Storsjö (9): sdp: Allow passing an AVFormatContext to the SDP generation avoptions: Add an av_flag_is_set function for inspecting flag fields sdp: Reindent after the previous commit rtpenc: Declare the rtp flags private AVOptions in rtpenc.h rtpenc_chain: Pass the rtpflags options through to the chained muxer rtspenc: Add an AVClass for setting muxer specific options rtspenc: Add RTP muxer options movenc: Pass the RTP AVFormatContext to the SDP generation movenc: Add a RTP muxer/hinter options libavcodec/Makefile | 2 +- libavformat/Makefile | 1 + libavformat/internal.h | 4 +- libavformat/movenc.c | 8 ++- libavformat/movenc.h | 1 + libavformat/rtpenc.c | 19 +++++++- libavformat/rtpenc.h | 10 ++++ libavformat/rtpenc_chain.c | 8 +++ libavformat/rtpenc_latm.c | 61 ++++++++++++++++++++++ libavformat/rtsp.h | 5 ++ libavformat/rtspenc.c | 15 ++++++ libavformat/sdp.c | 121 ++++++++++++++++++++++++++++++++++++-------- libavutil/opt.c | 10 ++++ libavutil/opt.h | 1 + 14 files changed, 239 insertions(+), 27 deletions(-) create mode 100644 libavformat/rtpenc_latm.c -- 1.7.3.1 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
