Re: Porting perl-GStreamer to gst 1.0
- From: Timm Murray <tmurray wumpus-cave net>
- To: gtk-perl-list gnome org
- Subject: Re: Porting perl-GStreamer to gst 1.0
- Date: Thu, 20 Nov 2014 21:06:15 -0600
Things done:
* Used Glib::Object::Introspection::GValueWrapper to wrap types for caps. This is wrapped in GStreamer1::Caps::Simple to mimic the original GStreamer Perl module
* Fleshed out docs, particularly some porting notes
* Fleshed out adding to the pipeline and linking elements in examples/
rpi_src.plAll the above has been pushed to github.
In examples/
rpi_src.pl, a callback is being set on a fakesink to grab the jpeg and save it to a file. It doesn't seem that this is getting called. The light does come on for my Raspberry Pi's camera module, so the pipeline should be running and grabbing data from the camera.
I realize that this could be done more simply by setting "location=/path/to/file" on a filesink, but I want to do it this way because:
1) I want to provide an example of using a signal callback
2) My app needs to do more than just save the data to the file
Feel like things are really close now.
Thanks,
Timm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]