I am working on validating hardware video encoder in the VIM3L.
I am using Linux Khadas 4.9.241 kernel and image is created using fenix.
I found that VIM3L has the Library and test application for that. I got it from
https://github.com/numbqq/encoder_libs_aml
I used downloaded video <sunflower_1080p25.y4m> and tried to encode using following command
Please check the demo help message for supported formats.
H264 only supoport : 0:nv12 1:nv21 2:i420 (yu12) 3:rgb888 4:bgr888 input now, if you use other format you have to convert to such format or you can modify the encoder library.
I checked with your video, you can convert your video to I420(YU12) format and use the encoder demo to encode.
@numbqq Thanks for your valuable reply, I would like to add support for the required format as converts the format before encoding is cpu and time consuming process.
Can you please give some pointers for adding support of new format in library?
Also, is there any plan to integrate hardware encoder with Gstreamer?