Basic concepts, some pointers please?
Tilman Baumann
tilman at baumann.name
Mon Sep 23 09:07:54 PDT 2013
Hi,
I would like to add gstreamer support to a proprietary media framework
on a TI Davinci based platform.
This platform has a relatively simple API that can deliver video frames
(h264 and MJEPEG) from some kind of hardware buffer.
I can also get metadata like timestamps and sequence numbers. The API is
non-blocking.
I have not really done anything with GObject. But it seems simple
enough. It should be simple to achieve what I need (streaming server).
There is enough example code around to figure it all out.
But the device driver aspect isn't really clear to me still. I can't
really find much about that at all.
I work quite well from examples. I guess if anyone could outline the
general idea or ideally point me to to some examples of other media
sources, that would be great.
Perhaps a example input element that reads a simple file but has all the
functionality. Or a simple webcam driver, which I guess would follow
similar patterns.
I guess I need to subclass gstbasesrc and also create a pad which then
reads the device? But I haven't really seen any code to tell me how to
go about doing that...
Cheers and sorry for the long winded palaver
Tilman Baumann
More information about the gstreamer-devel
mailing list