BaseTransform with live video

rs99 ralf.sippl at gmail.com
Wed Apr 10 13:21:20 UTC 2019


Hello,

I have a set of plugins written in Python. A transform element
(BaseTransform subclass) analyzes video frames and outputs data as a stream
of serialized Python objects (custom application/x-mydatastream caps;
serialization is done in do_prepare_output_buffer()). A second element, an
aggregator, takes data from this stream and merges it with the initial video
stream (coming from a tee element), drawing overlays on top of it.

Basically, this works fine, but the resulting stream is only as fast as the
slowest element in the pipeline, the transform element which runs the
analysis. For live video input, this means that frames are being dropped.
Ideally, I'd like the video to be played at full framerate, with the
overlays displayed when available, or based on cached data. Is this
possible?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list