Multiple Gstreamer Pipelines
Marianna Smidth Buschle
msb at qtec.com
Fri Sep 10 08:35:01 UTC 2021
With v4l2 you can't open the device from 2 places at the same time.
So you need a single v4l2src and a tee to split it.
Or use fx v4l2loopback.
Or other pipeline decoupling elements: proxysink/src, interpipesink/src,
intervideo, ...
On 09.09.2021 17.58, gstreamer-devel-request at lists.freedesktop.org wrote:
> Date: Thu, 9 Sep 2021 11:42:08 -0400
> From: Dwight Kulkarni<dwight at realtime-7.com>
> To: Discussion of the development of and with GStreamer
> <gstreamer-devel at lists.freedesktop.org>
> Subject: Multiple Gstreamer Pipelines
> Message-ID:
> <CAKW2B8g8aaEOHzx6EwVDH_yz-6aSoti6py_35+AjYTwM3DSc2A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi all,
>
> I have a main RTSP pipeline thread. Now I've created pipeline#2 on a
> different thread to save some video files.
>
> They are both accessing the same device /dev/video1
>
> However, I can't get both of them to run at the same time.
>
> If I start pipeline#2, I see that it starts saving video files.
>
> However, when I try to view through VLC on the RTSP server it shows error
> after it asks me for the authentication info.
>
> If I disable pipeline#2, I start seeing my VLC client again.
>
> Has anyone experienced this behaviour ? Is there a property I need to set
> to make both pipelines work together ?
>
> -- Sincerely, Dwight Kulkarni
--
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”
More information about the gstreamer-devel
mailing list