[gst-devel] encoder implementation

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Jun 15 13:11:19 CEST 2009


On Mon, 2009-06-15 at 11:59 +0200, Mattias Barthel wrote:

Hi,

> I am going to implement an encoder element.
> I am not sure if I should use the basetransform as a template.
> Since the encoder itself produces varying data sizes, I see some 
> problems in using the
> get_unit_size callback.
> 
> Maybe the best way here is to use GstElement directly?

Yes. Like all of our encoders in -base, -good, and -ugly do. We don't
have base classes for encoders yet (with the exception of the video
encoder base class in -base git, but it's not clear how stable/ready
that is yet).

Cheers
 -Tim






More information about the gstreamer-devel mailing list