Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Linux hardware video encoding on Amlogic A311D2 processor

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-6289ee4f3cdae899016719/] 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-6289ee4f3cdb7079738495/] Now let’s try to encode the video to H.264 on Khadas VIM4 board using aml_enc_test hardware video encoding sample: [crayon-6289ee4f3cdb9254858981/] 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.



This post first appeared on CNXSoft – Embedded Systems News, please read the originial post: here

Share the post

Linux hardware video encoding on Amlogic A311D2 processor

×

Subscribe to Cnxsoft – Embedded Systems News

Get updates delivered right to your inbox!

Thank you for your subscription

×