Working environment is chromium version 53
I would like to get some reference on what would be the best way to approach this problem for an arm8 based Linux - chromium build, any reference to already proved out solution or direction would be helpful. Here the target is equipped with OMX IL (+gst-omx) and V4L2 libraries.
Working environment is chromium version 53This version of Chrome is nearly a year old. I can't offer detailed analysis of the state of the media stack back then, nor would I feel safe using a browser that old.
I would like to get some reference on what would be the best way to approach this problem for an arm8 based Linux - chromium build, any reference to already proved out solution or direction would be helpful. Here the target is equipped with OMX IL (+gst-omx) and V4L2 libraries.The existing V4L and VAAPI decoders are workable on Linux. You may need to tweak them a bit if your driver isn't similar enough to what CrOS has.There are several unfinished code reviews around that enable the use of VDAs on OS_LINUX builds, eg. https://codereview.chromium.org/1743543004/.
- Dan
Also the OMX libraries is available on the hardware, but i see the OMX based decoding (OmxVideoDecodeAccelerator) is removed in the latest TOT, is it known to be of any reason
But still did not see the v4l2 HVA is correctly been considered in the pipeline, ended up in "PIPELINE_ERROR decoder: not supported error". debugging on this now.
Could not see a technical document on the gpu decoder pipeline, do you have any to share
But still did not see the v4l2 HVA is correctly been considered in the pipeline, ended up in "PIPELINE_ERROR decoder: not supported error". debugging on this now.Once the VDA is compiling, the main hurdle is the GpuVideoDecodeAcceleratorFactory:
- GetDecoderCapabilities() must list support for the codecs, profiles, and resolutions of interest, otherwise the VDA will never be constructed.
- CreateVDA() must return an instance of the VDA.
Thanks a lot Dan, found actually the VDA creation is failed in the gpu decoder, and there is some problem with the driver, following up for the vendor support on this
Hi Dan, got it working after modifying the V4L2 driver, currently i could see only with --in-process-gpu makes this work in Intel wayland, yet to see with M60 native wayland support which Igalia is doing