Hi, I picked up the patch for MP4A-LATM support in the rtp muxer, that was posted on ffmpeg-devel yesterday, and I've tried to polish it up for inclusion.
Compared to Juan's initial approach, I don't change the codec id from CODEC_ID_AAC to CODEC_ID_AAC_LATM, since the actual data passed in still is normal AAC. (E.g., one could view this as a LATM muxer, where we feed in normal AAC and output LATM AAC.) To cope with this, a flag in the AVFormatContext flags field is used (just as in Juan's patch) to signal that we want it wrapped in LATM. Some of the other codepaths touching RTP/SDP are adjusted to pass this flag along, so in my version, the MP4A-LATM payload format works in the RTP hinting in the mov muxer, and in the RTSP muxer, too. Juan Carlos Rodriguez (1): rtpenc: MP4A-LATM payload support Martin Storsjö (4): sdp: Allow passing AVFormatContext flags to the SDP generation movenc: Pass AVFormatContext flags to the SDP generation rtpenc_chain: Pass the MP4A_LATM flag to chained muxers Reindent libavformat/Makefile | 1 + libavformat/avformat.h | 1 + libavformat/internal.h | 3 +- libavformat/movenc.c | 6 +- libavformat/options.c | 1 + libavformat/rtpenc.c | 5 ++- libavformat/rtpenc.h | 1 + libavformat/rtpenc_chain.c | 1 + libavformat/rtpenc_latm.c | 60 ++++++++++++++++++++++ libavformat/sdp.c | 117 ++++++++++++++++++++++++++++++++++++-------- 10 files changed, 170 insertions(+), 26 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
