Image Corruption pulling images via appsink from RTSP stream:
Nirbheek Chauhan
nirbheek.chauhan at gmail.com
Fri Dec 23 05:10:10 UTC 2022
On Thu, 22 Dec, 2022, 22:24 Scot Zarkiewicz, <scotzark at gmail.com> wrote:
> On this point:
>
> " you may like to encode to JPEG as part of the pipeline itself."
>
> Do you mean use jpegenc in the pipeline so that we do not have to do the
> conversion in the appsink code?
>
Yes. The function you're calling is going to spawn a new pipeline with
appsrc ! jpegenc ! appsink to convert each frame. It's much less efficient
than just putting a jpegenc in the pipeline, unless you're only converting
one in 10 frames or something.
Cheers,
Nirbheek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221223/676d0902/attachment.htm>
More information about the gstreamer-devel
mailing list