[libav-tools] RTSP multiple streams

Pete Kelly pkelly at gmail.com
Mon Jul 3 20:23:34 CEST 2017


Hi

I've been using avconv on the command line to stream (RECORD) local files
to an RTSP server that I am hosting.

Part of the RTSP spec involves an SDP being sent from the client (libav) to
the RTSP server to describe the audio that will be sent.

All works well, apart from the fact that I would like to record multiple
RTP streams to the RTSP server, which it looks like libav can deal with
according to the loop in the code here inserting multiple a=control lines:

https://github.com/libav/libav/blob/master/libavformat/sdp.c#L777

Does anyone know how I can specify multiple streams on the command line?
I've tried with libav 9.2 (possibly too old) however no  matter how many
input streams I specify there is only ever a single stream in the SDP
generated by avconv.

Many thanks for any advice or pointers.

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20170703/b2932f27/attachment.html>


More information about the libav-tools mailing list