Record two RTSP streams at a time

About encoding, codec settings, muxers and filter usage
zweann
New Cone
New Cone
Posts: 1
Joined: 04 Sep 2017 09:35

Record two RTSP streams at a time

Postby zweann » 04 Sep 2017 09:38

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?

rastafioul
New Cone
New Cone
Posts: 1
Joined: 25 Sep 2017 12:04

Re: Record two RTSP streams at a time

Postby rastafioul » 25 Sep 2017 12:08

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...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Record two RTSP streams at a time

Postby Jean-Baptiste Kempf » 28 Nov 2017 14:22

--sout-keep
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 19 guests