Page 1 of 1

Record two RTSP streams at a time

Posted: 04 Sep 2017 09:38
by zweann
Hey Guys!
I have the following problem:

I have written a batch file which contains the following line to record a rtsp stream to a mp4 file:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --play-and-exit --run-time="300" -I -V dummy -vvv "rtsp://192.168.178.254:554/?freq=418&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,100,101,84,102,103,104,105,106,1176,2070,2171" --sout=#transcode{vcodec=h264,vb=1024,deinterlace}:standard{access=file,mux=mp4,dst="D:\Music\iTunes\iTunes Media\TV Shows\20170904-0930-1504509888.mp4"}
That works fine!
But when I start a second recording, the first one will stop.

Do you know where my problem is?

Re: Record two RTSP streams at a time

Posted: 25 Sep 2017 12:08
by rastafioul
I am aso interested in this action.

Maybe take out "--play-and-exit"

I would also rather use the command line to start and stop the recording.
Maybe using linux and killing the pid, but I am not sure about this.

If anybody has better idea...

Re: Record two RTSP streams at a time

Posted: 28 Nov 2017 14:22
by Jean-Baptiste Kempf
--sout-keep