[libav-tools] RTSP multiple streams
pkelly at gmail.com
Thu Jul 6 17:55:31 CEST 2017
For reference, I managed to work this one out by using the channelsplit
avconv -re -i /tmp/testcall101.wav -filter_complex channelsplit -f rtsp
-muxdelay 0.1 -codec:a pcm_mulaw rtsp://172.16.6.125:5545/testcall101
It auto detects the 2 channels in testcall101.wav and that is converted
into 2 streams within the RTSP filter.
On 6 July 2017 at 11:44, Pete Kelly <pkelly at gmail.com> wrote:
> I've confirmed this is also the case in version 11.9.
> Am I trying to do something which is simply not supported as yet?
> On 4 July 2017 at 16:31, Pete Kelly <pkelly at gmail.com> wrote:
>> I'm using something along the lines of:
>> avconv -re -i /tmp/file.wav -f rtsp -muxdelay 0.1 -codec:a pcm_mulaw
>> I was hoping that simply by providing 2 input streams that the generated
>> SDP would have 2 input streams (i.e. 2x a=control lines), however this
>> isn't the case at least in 9.2:
>> avconv -re -i /tmp/file.wav -re -i /tmp/file2.wav -f rtsp -muxdelay 0.1
>> -codec:a pcm_mulaw rtsp://192.168.86.224:5545/abc
>> On 4 July 2017 at 15:16, Luca Barbato <lu_zero at gentoo.org> wrote:
>>> On 7/3/17 8:23 PM, Pete Kelly wrote:
>>> > Does anyone know how I can specify multiple streams on the command
>>> > I've tried with libav 9.2 (possibly too old) however no matter how
>>> > input streams I specify there is only ever a single stream in the SDP
>>> > generated by avconv.
>>> > Many thanks for any advice or pointers.
>>> recent Libav should be able to just connect to the server and send the
>>> data w/out problems.
>>> (see rtspenc.c)
>>> which is the command line you are using?
>>> libav-tools mailing list
>>> libav-tools at libav.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libav-tools