We found that Amlogic decoder/encoder have been installed with Gstreamer in the host, but we’d like to use the hw plugins with gstreamer in OpenCV. If we reinstall gstreamer using apt to build with OpenCV, we can’t find the hw plugins, we think we should do something from souece code. Do you have information on how to use the hw plugins with gstreamer in OpneCV?
In addition, can we import some hw elements from host to use hw plugins in a docker container?
Hello. I am trying to find a way to decode h264, h265 videostreams on the gpu. with ubuntu. I am not good with c and c++. I was hoping to find a way to do it using ffmpeg, gstreamer etc. Just need to decode and encode them for ip camera aplications. On a python script. Thanks for commenting about the new kernel.
Hello @numbqq, in fact, I have successfully used default h264 plugins (avdev_h264) of Gstreamer to decode and get the video stream in python, but I don’t know how to find and use the hardware decoders that come with vim3 Amlogic. I can’t find them after reinstalling Gstreamer to use with OpenCV. Do you have any information about how to install Gstreamer to find the hw decoders? Or we should also wait the new kernel to find the decoders?
Gstreamer hardware decoding plugin doesn’t work well with 4.9 kernel, you can wait for our new 5.15 kernel in Q3. Or you can try to use hardware decoding with other api: VIM3/3L Hardware Decoding [Khadas Docs]
Thank you for replying. I am currently designing systems that work with ip cameras. Thus need maximum hardware utilization due to limited resources. Thank you for the reply. I will push them to the future development and develop other parts for now! Would love to have Khadas as a hardware provider of our new startup!