Good gstreamer examples and how to build them?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Good gstreamer examples and how to build them?

Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
My question is where are some good example programs so I can learn the "right way" to do things?

This list would be a lot quieter if this kind of basic getting started stuff was exposed on the top level documentation page at gstreamer.freedesktop.org.


With help from this list I've modified the helloworld.c program from the Application Development Guide to capture video and built a simple video filter plugin using the info in the Plugin Writer's Guide and some Google results of other discussions on this list.  It ain't easy folks, and it's a lot harder than it needs to be simply because the critical basic information is buried in a morass of detail that is mostly useless until you've got the basics down pat, if its there at all!


Bad examples seem plentiful.  I'm using Ubuntu 8.04, so I've downloaded the source tarballs of what seems to match the version used (gstreamer-0.10.18).  There are examples subdirectories but the top level README file immediately suggests not building the package and then proceeds to tell me how, with no mention of the examples, which is all am really interested it at this point.

Poking around gst-plugins-base-0.10.18 source tree, I find ./tests/examples/seek  and a scrubby.c application that might be illustrative.  Poking around some more I figure out that running ./configure in the gst-plugins-base-0.10.18 directory will produce the needed Makefile in the ./tests/examples/seek subdirectory (and a whole bunch more).  

So now I can change to the seek subdirectory, build and run the scrubby program and have a example that at best shows me what not to do!  I mean if I run ./scrubby 0 test.wav, if I hit the "play" button in the window that pops up the audio plays and I can "scrub" with slider that displays 00:00:00.  But pretty much anything else behaves in a way that is not very useful or usually worse, locks up the scrubby app.

So where can I find some good examples and the recipe to build them?  Judging by Amarok and Totum the basic Ubuntu 8.04 gstreamer setup seems fine.  I might want to use it in the next version of my application, but at this point I'm not sure the benefits will be worth the time and trouble of doing so.  Totum might be OK, but I'm afraid all the Gnome UI stuff will really just get in the way of learning how it uses gstreamer.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel