Linux hardware video encoding on Amlogic A311D2 processor

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:

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:

Now let’s try to encode the video to H.264 on Khadas VIM4 board using aml_enc_test hardware video encoding sample:

The output explains the parameters used. There are some error messages, […]

$349 AMD Kria KR260 Robotics Starter Kit takes on NVIDIA Jetson AGX Xavier devkit

AMD Xilinx Kria KR260 Robotics Starter Kit features the Kria K26 Zynq UltraScale+ XCK26 FPGA MPSoC system-on-module (SoM) introduced last year together with the Kria KV260 Vision AI Starter Kit. Designed as a development platform for robotics and industrial applications, the KR260 is said to deliver nearly 5x productivity gain, up to 8x better performance per watt and 3.5x lower latency compared to Nvidia Jetson AGX Xavier or Jetson Nano kits. We’ll have a better look at the details below. Kria KR260 Robotics Starter Kit specifications: SoM – Kria K26 module with: MPSoC – Xilinx Zynq Ultrascale+ custom-built XCK26 with quad-core Arm Cortex-A53 processor  up to 1.5GHz, dual-core Arm Cortex-R5F real-time processor up to 600MHz, Mali-400 MP2 GPU up to 667MHz, 4Kp60 VPU, 26.6Mb On-Chip SRAM, 256K logic cells, 1,248 DSP slices, 144 Block RAM blocks, 64 UltraRAM blocks System Memory – 4GB 64-bit DDR4 (non-ECC) Storage – 512 Mbit […]

Ubuntu Kylin 20.04 OS works on RISC-V hardware

China-developed Ubuntu Kylin 20.04 is now supporting RISC-V architecture with an image for HiFive Unmatched mini-ITX motherboard, and work will be done on an unnamed Starfive SBC that should be the VisionFive board with a GPUless JH7100 dual-core RISC-V SoC or an upgraded version with JH7110 SoC featuring an Imagination IMG BXE-4-32 GPU. You may have read recent reports about China asking government entities, including state-owned enterprises (SOE), to replace foreign hardware and software within a two-year period. So that means avoiding systems based on Intel and AMD processors, so working on RISC-V open architecture makes perfect sense, since over time, Chinese manufacturers should be able to make RISC-V SoCs and PCs based on those processors, albeit probably not within the next two years at any significant scale. Ubuntu Kylin 20.04 RISC-V, as well as the newly released Ubuntu Kylin 22.04 x86, can be found on the English download page […]

Embedded World 2022 – June 21-23 – Virtual Schedule

Embedded World 2020 was a lonely affair with many companies canceling attendance due to COVID-19, and Embedded World 2021 took place online only. But Embedded World is back to Nuremberg, Germany in 2022 albeit with the event moved from the traditional month of February to June 21-23. Embedded systems companies and those that service them will showcase their latest solution at their respective booths, and there will be a conference with talks and classes during the three-day event. The programme is up, so I made my own little Embedded World 2022 virtual schedule as there may be a few things to learn, even though I won’t be attending. Tuesday, June 21, 2022 10:00 – 13:00 – Rust, a Safe Language for Low-level Programming Rust is a relatively new language in the area of systems and low-level programming. Its main goals are performance, correctness, safety, and productivity. While still ~70% of […]

MediaTek unveils Genio 1200 premium AIoT processor with 4.8 TOPS NPU

MediaTek has introduced the Genio platform for AIoT devices, and unveiled the first chip of the Genio family with the Genio 1200 Octa-core Cortex-A78/A55 processor with a 4.8 TOPS NPU, 4K video support, and designed for premium AIoT products. The chip is manufactured with a 6nm processor, is said to consume less than 8W, supports dual 4Kp60 video output and up to 48MP @ 30 fps video capture, and  WiFi 6, Bluetooth 5.2 and 5G connectivity can be added through add-in chips. Targets applications include Smart Home appliances, HMI, industrial IoT, robotics, and more. MediaTek Genio 1200 key features and specifications: CPU – Octa-core processor with four Cortex-A78 cores @ up to 2.2 GHz, four Cortex-A55 cores GPU – Arm Mali-G57 MC5 GPU VPU Encoding up to 4Kp60 with H.265/HEVC Decoding up to 4Kp90, AV1, VP9, HEVC, H.264 codecs supported AI accelerator – Dual-core Mediatek AI processor (APU) with INT8, INT16, […]

Allwinner T507 industrial processor powers automotive single board computer and module

Forlinx OKT507-C single board computer for automotive applications is powered by FETT507-C system-in-module equipped with Allwinner T507 industrial processor, 2GB RAM, and 8GB eMMC flash. Allwinner T507 offers the same features as Allwinner H616 for TV boxes with a quad-core Cortex-A53 CPU, a Mali G31 MP2 GPU, and the same I/Os, but the processor is AEC-Q100 certified, supports -40°C to +85°C temperature range, and Allwinner promises over 10 years of longevity. OKT507-C single board computer specifications: FETT507-C System on Module SoC – Allwinner T507 quad-core Cortex-A53 @ 1.5GHz with Arm Mali-G31 MP2 GPU with support for OpenGL ES 3.2/2.0/1.0, Vulkan1.1, OpenCL 2.0; (“2.25W power consumption under load”) System Memory – 2GB DDR3L Storage – 8GB eMMC flash Board-to-board connectors for carrier board connection Supply Voltage- 5 V Dimensions – 70 x 40 mm Temperature Range – -40°C to +85°C Carrier board Storage – MicroSD card slot Display I/F 1x LCD […]

Beelink MINI S is cheaper version of Beelink U59 Jasper Lake mini PC

The Beelink MINI S is a mini PC powered by an Intel Celeron N5095 quad-core Jasper Lake processor, and is offered with 8GB RAM plus either a 128GB or 256GB M.2 SATA SSD. Other highlights include dual HDMI 2.0, Gigabit Ethernet, a WiFi 5 & Bluetooth module, as well as four USB 3.0 ports, and support for 2.5-inch SATA SSD or HDD. Beelink MINI S specifications: SoC – Intel Celeron N5095 quad-core Jasper Lake  processor @ 2.0GHz /  2.9GHz (Turbo) with 4MB cache, 16EU Intel UHD Graphics; 15W TDP System MEmory – 8GB DDR4 Storage 128GB or 256GB M.2 SATA SSD (upgradeable up to 2TB) Support for 2.5-inch SATA drives (7mm thick max) Video Output – 2x HDMI 2.0 ports up to 4Kp60 Audio – 3.5mm audio (headphone & microphone) jack, digital audio via HDMI Connectivity Gigabit Ethernet RJ45 port. Dual-band 802.11 b/g/n/ac WiFi 5 up to 450Mbps on the […]

Mekotronics R58 is a cost-optimized Rockchip RK3588 SBC going for $169 and up

Mekotronics R58 is a single board computer based on Rockchip RK3588 processor that will also be sold as a mini PC with an enclosure, and offers a cheaper alternative to the company’s R58X embedded mini PC with up to 16GB RAM, dual Gigabit Ethernet, dual SATA, etc… The R58 comes with fewer ports notably only one Gigabit Ethernet port, one SATA interface, and the RS485/RS232 terminal block and M.2 socket are gone, but it does add an extra HDMI output port, meaning it could support up to four independent displays. It still features up to 16GB RAM and 64GB eMMC flash. Mekotronics R58 specifications: SoC – Rockchip RK3588 octa-core processor with four Cortex-A76 cores @ 2.4 GHz, four Cortex-A55 cores @ 1.8 GHz, an Arm Mali-G610 MP4 GPU, a 6TOPS NPU, 8K 10-bit decoder, 8K encoder Memory & eMMC flash configurations 4GB LPDDR4x + 32GB eMMC flash 8GB LPDDR4x + […]