[gst-devel] Using gstreamer to encode separate frames into video

Andy Wingo wingo at pobox.com
Thu Dec 15 03:28:09 CET 2005


Hi,

On Thu, 2005-12-15 at 00:11 -0500, Peter Williams wrote:
> I don't know how to manually feed frames into
> the pipeline.

You could construct a pipeline without a source, e.g. theoraenc !
oggmux ! filesink. Then get the sink pad of theoraenc, and directly push
buffers to it (using gst.Pad.push()).

You'll have to make sure that the caps on the buffer are set correctly.

That's probably the easiest way to do it if your "source" isn't amenable
to being converted into a custom video source element.

Regards,
-- 
Andy Wingo
http://wingolog.org/





More information about the gstreamer-devel mailing list