Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[CNX-Software] - Linux hardware video encoding on Amlogic A311D2 processor

Featured Replies

amlogic a311d2 h265 hardware video encoding sample

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

Guest
This topic is now closed to further replies.

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.