rtsp -> fakesink performance

Scot Zarkiewicz scotzark at gmail.com
Mon Nov 21 01:16:11 UTC 2022


Hi-

 I have a pipeline that is configured as below:

rtspsrc location=rtsp://192.168.0.90:554/axis-media/media.amp ! decodebin !
fakesink enable-last-sample=true name=sink

I am grabbing frames from the RTSP for processing in my application.  All
is working well, but I am only able to run at about 10 fps.  The bulk of
the time is being spent in the code below (commenting this out I get around
30 fps):

    caps = gst_caps_from_string ("image/png");
    pic_sample = gst_video_convert_sample (from_sample, caps,
GST_CLOCK_TIME_NONE, &err);

This isn't surprising as this is obviously a computationally
intensive operation, but I was wondering if there was a different plugin or
set of plugs that might use the hardware decoder to pop out actual
png/jpg/bmp images w/o having to do this in software?

Thanks in advance for any help on this,

Scot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221120/09d86711/attachment.htm>


More information about the gstreamer-devel mailing list