webrtc example: feeding video data from a pipeline

Guennadi Liakhovetski g.liakhovetski at gmx.de
Sun Oct 11 14:02:34 UTC 2020


On Sat, 10 Oct 2020, Guennadi Liakhovetski wrote:

> On Sat, 10 Oct 2020, Anton Pryima wrote:

[snip]

> > Then, at line 383 of the same file, you need to change:
> > "videotestsrc is-live=true pattern=ball
> > to your:
> > "raspivid -t 0 -h 480 -w 640 -fps 25 -hf -b 2000000
> > (same change for your audio stream)
>
> Hm, how is this supposed to work? "videotestsrc" is a gstreamer pipeline
> element, "raspivid" is a standalone application. You cannot just put it in
> the string for gst_parse_launch()? That's why I tried to get them to
> stream data via a named pipe, but that didn't work.

Now I know how that is supposed to work. It turns out there's already a
rpicamsrc plugin in gstreamer! With that one I'm getting a whole lot
closer to the goal!

Thanks
Guennadi


More information about the gstreamer-devel mailing list