hook up new device as src, uri, or something else ?

George and Candy Koharchik t1mbre at tx.rr.com
Mon Aug 27 01:15:19 UTC 2018


Thanks Mandar: I'll give it a try!

blueshirt

------------------------------

Message: 2
Date: Sun, 26 Aug 2018 10:22:59 +0530
From: Mandar Joshi <emailmandar at gmail.com>
To: Discussion of the development of and with GStreamer
	<gstreamer-devel at lists.freedesktop.org>
Subject: Re: hook up new device as src, uri, or something else ?
Message-ID:
	<CAC9_qu06KjgeWy17DRtVrG9g64Nj0ijeyT11i960vzmOBLgJSA at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

>   The device delivers YUV pixels to memory. I can grab them from  memory mapped buffers. I’d like to plug them into the gstreamer software, but I’m not sure where.
>
>   I started with the source for videotestsrc, but I need something more than just a handful of colors.
>   Next I thought v4l2src, but I don’t need something that does all the 
> v4l2 driver protocol. Something  closer to filesrc, but live, 
> non-seekable. I just need to grab pixels from memory (that memory mapped  buffer), and put them out as video.

You could try writing a bin. It's simpler.
You can refer to my youtubebin https://github.com/mndar/gstyoutubebin
which allows you to use the youtube-dl script in a GStreamer pipeline.

Regards
Mandar Joshi
Czar Softech


------------------------------





More information about the gstreamer-devel mailing list