libavformat: Add a muxer wrapping mpegts encoding into RTP

Multimedia / Libav - Martin Storsjö [martin.st] - 18 December 2014 15:12 UTC

Since this structurally is quite different from normal RTP (multiple streams are muxed into one single mpegts stream, which is packetized into one single RTP session), it is kept as a separate muxer.

Since this structurally also behaves differently than normal RTP, all of the other muxers that do chained RTP muxing (rtsp, sap, mp4) would need to be updated similarly to handle this - in particular, creating one single rtp_mpegts muxer for the whole presentation instead of one rtp muxer per stream.

8a70ef9 libavformat: Add a muxer wrapping mpegts encoding into RTP
Changelog | 1 +
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/rtpenc_mpegts.c | 165 +++++++++++++++++++++++++++++++++++++++++++
libavformat/version.h | 2 +-
5 files changed, 169 insertions(+), 1 deletion(-)

Upstream: git.libav.org


  • Share