Splitting a source into 3 sinks

Dwight Kulkarni dwight at realtime-7.com
Tue Sep 7 20:44:41 UTC 2021


Hi all,

I am trying to take one video source and split it so that it goes to three
different sinks:
source is:
v4l2src device=/dev/video1 ! video/x-raw, width=1920, height=1080,
framerate=15/1 ! queue ! vpuenc_h264

1) First sink is RTP/RTSP server
! queue
! rtph264pay name=pay0 pt=96

2) Second sink is local file storage
! h264parse ! splitmuxsink location=video%02d.mkv max-size-time=10000000000
muxer-factory=matroskamux muxer-properties="properties,streamable=true"

3) Last sink is:
jpegenc ! multifilesink location=img%d.jpg

I am trying to figure out how I can split this one source to multiple
sinks.

Can anyone advise ?

-- 
Sincerely,

Dwight Kulkarni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210907/df517c98/attachment.htm>


More information about the gstreamer-devel mailing list