RSS Bot Posted May 22, 2022 Share Posted May 22, 2022 I’ve spent a bit more time with Ubuntu 22.04 on Khadas VIM4 Amogic A311D2 SBC, and while the performance is generally good features like 3D graphics acceleration and hardware video decoding are missing. But I was pleased to see a Linux hardware video encoding section in the Wiki, as it’s not something we often see supported early on. So I’ve given it a try… First, we need to make a video in NV12 pixel format that’s commonly outputted from cameras. I downloaded a 45-second 1080p H.264 sample video from Linaro, and converted it with ffmpeg: [crayon-6289ed6d13e21975150960/] I did this on my laptop. As a raw video, it’s pretty big with 3.3GB of storage used for a 45-second video: [crayon-6289ed6d13e2b937853985/] Now let’s try to encode the video to H.264 on Khadas VIM4 board using aml_enc_test hardware video encoding sample: [crayon-6289ed6d13e2d570299477/] The output explains the parameters used. There are some error messages, [...] The post Linux hardware video encoding on Amlogic A311D2 processor appeared first on CNX Software - Embedded Systems News. View the full article Link to comment Share on other sites More sharing options...
Recommended Posts