MikeK's software notebook

MikeK's software notebook

What you will find

This used to be the place where I wrote stuff I was thinking about while working on the Mozilla project.

Maybe in the near future I'll start to update it again as I'm involved in a couple of new open-source projects - updates pending...

Happy me ;)

GStreamerPosted by Mike Kristoffersen 16 Apr, 2009 22:17:06
So why am I happy ? - well, first of all I went to the dentist today, so I don't have to think about dentists until next winter :) - and secondly because after several working days of going around in small circles and trying to figure out the buildsystem, GStreamer etc. I now have my own source plugin, that registers with the GStreamer framework and most importantly can be created by the gstreamer factory call like:

GstElement *streamerSource = gst_element_factory_make("nsGStreamSource", nsnull);

I think I with this passed an important step in the process smiley

I also did some changes for improved error handling and preparing the code that I build on top of for multiple video sources running silmuntanously - and last but not least fixed the cleanup code so it nicely releases the resources that it has aquired.

I'll try to make a GStreamer plugins for dummies page while I still remember what I did :)


  • Comments(2)

Fill in only if you are not real

The following XHTML tags are allowed: <b>, <br/>, <em>, <i>, <strong>, <u>. CSS styles and Javascript are not permitted.
Posted by Mike Kristoffersen 29 Jul, 2009 19:16:32

The reason I use GstPushSrc is that it looked like the most simple to use for the specific conditions I had, where the data can't be requested from the pipeline, but are rather generated at "random" from the outside.

Good you reminded me about the "for dummies" page - one day...


Posted by Pats 29 Jul, 2009 11:00:38

Looking forward to your dummies page man. I having to build a plugin implementing a live source - unable to figure out the advantages of using GstPushSrc over GstBaseSrc. The documentation is so obfuscated :(. What made you chose GstPushSrc over GstBaseSrc?