[gst-devel] JPEG truncation
Thomas Andrews
tandrews at grok.co.za
Wed Mar 3 11:19:35 CET 2010
Hi,
I have constructed a plugin based on videotestsrc to display images from
a Baumer camera. (Source here: http://www.grok.org.za/gst/)
My problem is that the plugin does not work properly if it can only get
one frame at a time. The result is that if I create a jpeg using the
command below, there is some corruption right at the bottom of the JPEG.
gst-launch-0.10 baumercamsrc ! ffmpegcolorspace ! jpegenc quality=100 !
filesink location=/tmp/bar.jpg
Even if I simulate data from the camera, I get the problem, so it's the
plugin that's at fault. It requests exactly the right buffer size each
time, so it's not like it's actually getting too little data.
It just seems that videotestsrc 'expects' continuous data. How would I
change that?
Many thanks,
Thomas
More information about the gstreamer-devel
mailing list