Splitting a source into 3 sinks

Shishir Pokharel akaccr at gmail.com
Tue Sep 7 22:00:46 UTC 2021


Use tee if you want to split once source to multiple sinks. 

/Shishir

> On Sep 7, 2021, at 17:45, Dwight Kulkarni via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
> 
> 
> 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/5ce8be52/attachment.htm>


More information about the gstreamer-devel mailing list