Help for creating a new source
o.campana at videotec.com
Wed Dec 10 08:06:32 PST 2014
I have a camera that under linux does not work with V4L2, but it uses a proprietary API.
I want to wrap that API in a gstreamer plugin, so that I can use the captured frames with all the other gstreamer elements.
Here are my questions:
1. is there an example of a source that I can study? the GStreamer Plugin Writer's Guide refers to GstBaseSrc, but I am not able to understand chapter 23 well
2. what is the difference between finalize and dispose? Which one should I use when I close the pipeline to free my resources?
3. if I have an error during the init function, what's the best way to fail?
4. In the reference software that I have for my system , there is a loop that gets frames from the hardware. In which function do I have to put this code?
Thank you for your help,
Team Leader - Electronic R&D Department
Office +39.0445.697.411 Fax +39.0445.697.414
Address VIDEOTEC S.p.A. - Via Friuli, 6 - 36015 Schio (Vicenza) - Italy
Any information herein transmitted only concerns the person or the company named in the address and is deemed to be confidential It is strictly forbidden to transmit, post, forward or otherwise use said information to anyone other than the recipient. If you have received this message by mistake, please contact the sender and delete any relevant information from your computer. This mailbox is only meant for sending and receiving messages pertaining business matters and any other use for personal purposes is forbidden and unauthorized. Therefore, any email sent and received will be handled as ordinary business messages and subject to the company's own rules, and may thus be read also by people other than the user named in the mailbox address.
[http://videotec-admin.forza6.com/dep/Twitter_logo_blue.png]<http://twitter.com/videotec> [http://videotec-admin.forza6.com/dep/Youtube_logo_red.gif] <http://www.youtube.com/user/videotecspa>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel