[FFmpeg-devel] [PATCH] Add an RTSP muxer

Martin Storsjö martin
Mon Jan 4 16:11:13 CET 2010


Hi,

Here's a stab at a RTSP muxer, tested with a Darwin Streaming Server 
setup.

Tested with the following kind of command line:
ffmpeg -re -i <input file> -f rtsp -vcodec mpeg4 -acodec libfaac 
rtsp://server/filename.sdp

First the patch series adds some fixes to the SDP writing code, then 
refactors the RTP muxer to work both as an internal component within the 
RTSP muxer as well as the current standalone RTP muxer. Finally, the patch 
series adds support to the RTSP demuxer for working as a muxer, too.

Many parts of the series aren't individual and can be applied in any 
order.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-sure-the-inet_ntop-function-for-formatting-IP-a.patch
Type: text/x-diff
Size: 2266 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Make-sure-the-destination-address-is-written-as-an-I.patch
Type: text/x-diff
Size: 1414 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-the-URL-used-for-the-SDP-destination.patch
Type: text/x-diff
Size: 1512 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Always-set-the-destination-address-even-if-no-port-w.patch
Type: text/x-diff
Size: 1054 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Initialize-RTPMuxContext-st.patch
Type: text/x-diff
Size: 777 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Add-a-ByteIOContext-member-to-RTPMuxContext.patch
Type: text/x-diff
Size: 1141 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-a-log-context-member-to-RTPMuxContext.patch
Type: text/x-diff
Size: 1158 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Use-the-log_context-member-instead-of-the-AVFormatCo.patch
Type: text/x-diff
Size: 4445 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0007.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Use-the-ByteIOContext-from-RTPMuxContext-instead-of-.patch
Type: text/x-diff
Size: 2913 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0008.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Use-the-AVStream-st-member-from-RTPMuxContext-instea.patch
Type: text/x-diff
Size: 1930 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0009.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Remove-the-AVFormatContext-parameter-from-rtp-muxer-.patch
Type: text/x-diff
Size: 14824 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0010.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Split-out-reusable-internal-entry-points-to-the-rtp-.patch
Type: text/x-diff
Size: 3853 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0011.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Add-functions-for-allocating-and-freeing-RTPMuxConte.patch
Type: text/x-diff
Size: 1610 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0012.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Remove-an-unused-member.patch
Type: text/x-diff
Size: 615 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0013.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Add-internal-rtsp-functions-for-doing-requests-that-.patch
Type: text/x-diff
Size: 2819 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0014.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-Add-a-RTSPClientState-for-recording.patch
Type: text/x-diff
Size: 855 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0015.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-Add-a-flag-for-storing-the-direction-of-the-rtsp-ses.patch
Type: text/x-diff
Size: 752 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0016.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-Allow-storing-a-ByteIOContext-used-for-output-RTP-st.patch
Type: text/x-diff
Size: 1564 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0017.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-Create-RTPMuxContext-objects-as-private-transport-fo.patch
Type: text/x-diff
Size: 2669 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0018.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-Add-proper-mode-to-output-setup-requests.patch
Type: text/x-diff
Size: 1111 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0019.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-Add-a-function-for-doing-the-RECORD-RTSP-request.patch
Type: text/x-diff
Size: 1273 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0020.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-Split-rtsp_read_header-into-a-reusable-function-rtsp.patch
Type: text/x-diff
Size: 1204 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0021.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-Enable-rtsp_open-to-work-for-output-too.patch
Type: text/x-diff
Size: 3563 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0022.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0024-Add-an-RTSP-muxer.patch
Type: text/x-diff
Size: 6043 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100104/28e9e50a/attachment-0023.patch>



More information about the ffmpeg-devel mailing list