JPEG encode with Gstreamer in memory
Hi. I want to encode\decode jpeg in memory using one of the gstreamer plugins, i.e. use smth like "appsrc ! jpegenc ! appsink" configuration. Is it possible with VideoCapture, VideoWriter? Thanks.
Why not use
imencode
? VideoCapture and VideoWriter do not support this configuration, you should use GStreamer directly.I don't use
imencode
bcz I want to use NVIDIA Tegra hardware-accelerated JPEG encoding modulenvjpegenc
.