write multiple rtsp to different flies

colmekik iank at colmek.com
Thu Sep 3 16:13:30 UTC 2020


Alexey wrote
>  
> I can write simple rtsp to file as  gst-launch-1.0 -e uridecodebin
> uri="rtsp" ! nvvidconv ! jpegenc ! matroskamux ! filesink
> location=out.mp4.
> How can I write multiple rtsp to diffrent files?

You could just run two separate pipelines with the script you used above OR
you could do something like this:
 gst-launch-1.0 -e uridecodebin \
uri="FIRSTrtsp" ! nvvidconv ! jpegenc ! matroskamux ! filesink
location=FIRSTout.mp4 uridecodebin \
uri="SECONDrtsp" ! nvvidconv ! jpegenc ! matroskamux ! filesink
location=SECONDout.mp4




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list