GStreamer issues

Dan Williams dcbw at redhat.com
Sun Jun 10 20:03:31 EDT 2007


On Sun, 2007-06-10 at 04:24 -0400, Noah Kantrowitz wrote:
> So I am working with the camera, trying to get it to dump to a PNG (or
> anything else for that matter). My current problem is that I can't
> reliably determine when it has finished the capture and has written to a
> file. My gst pipeline is 'v4l2src ! ffmpegcolorspace ! pngenc ! filesink
> location="/tmp/snap.png"'. I would think that MESSAGE_EOS would mean it
> is done, but dumping the filesize at that point shows it is still 0
> bytes. Anyone have any ideas (other than shell out to gst-launch for
> every capture)?

Take a look at the "Camera" activity included on the machines.  It has
the ability to take snapshots.

Dan


> --Noah
> 
> 
> plain text document attachment (signature.asc)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGa55FA9fEp2eRsU8RAusKAJ95X/AvjQvAjvMe/f3a6A05XtEZMgCgj9ga
> aXHAYoZdlvyQGTu6CQvjPiU=
> =YRus
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel



More information about the Devel mailing list