Videoconvert needs to be optimized
Tim Müller
tim at centricular.com
Mon May 19 09:34:58 PDT 2014
On Mon, 2014-05-19 at 16:19 +0000, Yaroslav Andrusyak wrote:
Hi,
it would be helpful to know what exactly you're actually
testing/comparing/benchmarking, as in: GStreamer version used, pipeline,
etc.
Cheers
-Tim
>
> 2014-05-19 15:17 GMT+00:00 Mart Raudsepp <leio at gentoo.org>:
> On P, 2014-05-18 at 18:46 -0400, Nicolas Dufresne wrote:
> > Le dimanche 18 mai 2014 à 18:33 +0000, Yaroslav Andrusyak a
> écrit :
> > > Gstreamer is are great software, i use it for
> srcreencastin with
> > > hardware vaapi and omx h264 encoding.
> > > But conversion from ximagesrc (BGRx) --> vaapi\omx (NV12)
> with
> > > videoconvert (videoconvert_convert_matrix8)
> > > uses too many CPU resources.
> >
> > The biggest gain would be to get an HW accelerated post
> process method
> > to do the work. Basically a way to replace videoconvert with
> an
> > accelerated version.
> >
> > Videoconvert already has a lot of optimization, we can't
> trade
> > correctness for speed, hence there will always be a certain
> amount of
> > work to do. Though you have an interesting typo, "many CPU",
> an option
> > could be to add some parallel processing to videoconvert so
> the load
> > could be spread across multiple cores. This will for sure
> require a
> > lot of work, but could enabled real time processing of
> larger images
> > in certain cases.
>
>
> I did some test gstreamer(omx\vaapi\x264enc vs
> http://www.maartenbaert.be/simplescreenrecorder/)
> simplescreenrecorder
> has Convert_BGRA_YUV420_SSSE3 https://github.com/MaartenBaert/ssr/blob/master/src/AV/FastScaler_Convert_SSSE3.cpp and looks very good.
> Gstreamer has hardware h264 encoders, but slow BGRx NV12 convert.
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list