[gst-devel] dvdec + jpegenc & interations

Thomas Vander Stichele thomas at apestaart.org
Wed Jul 28 02:06:03 CEST 2004


On Tue, 2004-07-27 at 22:58, mammique wrote:
> > > test.png PNG 720x480+0+0 DirectClass 8-bit 688kb 0.040u 0:01
> > > 
> > > BTW, i don't understand why this don't works with only one iteration, i
> > > must specify 2 iterations to grab the image, if no the file is empty.
> > 
> > Iteration is not something you can use to specify that you want only one
> > frame.  It's something internal to GStreamer and you shouldn't depend at
> > all on a specific value of it.
> > 
> 
> Ha ok, btw how to control it correctly (frame by frame) ?

various possibilities; use fakesink with handoff signal to get each
buffer, and stop after the first one; use a padprobe to look at the pad
to see when data is being pushed out.

Take a look at gst-thumbnail in nautilus-media for an example.

Thomas

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
She feels that my sentimental side should be held with kid's gloves
She doesn't know that I left my urge in the icebox
She says I'm a prey for the female
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list