Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AMLogic S905W (TX3 Mini) Hardware H.264 Encoding?

Featured Replies

I'd like to do hardware-accelerated H.264 encoding on TX3 Mini. I compiled latest Armbian with kernel 5.1.0, however it is not working, when I try to use a h264_v4l2m2m encoder, I get this error:

 

[h264_v4l2m2m @ 0xaaaae3bb2a20] driver 'meson-vdec' on card 'Amlogic Video Decoder'
[h264_v4l2m2m @ 0xaaaae3bb2a20] Could not find a valid device
[h264_v4l2m2m @ 0xaaaae3bb2a20] can't configure encoder

 

On lsmod, I only see amlogic-vdec, not venc[oder]...

On 5/31/2019 at 10:00 AM, Milan Kragujevic said:
 

I'd like to do hardware-accelerated H.264 encoding on TX3 Mini. I compiled latest Armbian with kernel 5.1.0, however it is not working, when I try to use a h264_v4l2m2m encoder, I get this error:

 

[h264_v4l2m2m @ 0xaaaae3bb2a20] driver 'meson-vdec' on card 'Amlogic Video Decoder'
[h264_v4l2m2m @ 0xaaaae3bb2a20] Could not find a valid device
[h264_v4l2m2m @ 0xaaaae3bb2a20] can't configure encoder

 

On lsmod, I only see amlogic-vdec, not venc[oder]...

 

Hi,

 

 the mainline kernel only supports hw decoding (yet). I hope it will change soon :)

No way to hardware encoding with aml chipset :

the hack of hardware decoding use the V4L2 M2M and it use less cpu it don t use all the hardware  decoding.  ( i make lot of tests ).

the autor of the hack have stopped To work on it. ( check with google ely, french guy, and v4l2 m2m you can find a vidéo with beautifull explain  )

If nobody continue and work on the encoding the only way it to make in software.

With my test only s912 can make some encoding but i wait the new s922 To make new tests of encoding h264  with an odroid n2 or the hardware tested by balbes150.   

 

Another hope is rockchip have a roadmap for the mpp ffmpeg plugin to hardware encode  for this years ... 

8 hours ago, martos said:

No way to hardware encoding with aml chipset :

the hack of hardware decoding use the V4L2 M2M and it use less cpu it don t use all the hardware  decoding.  ( i make lot of tests ).

the autor of the hack have stopped To work on it. ( check with google ely, french guy, and v4l2 m2m you can find a vidéo with beautifull explain  )

If nobody continue and work on the encoding the only way it to make in software.

He didn't stop the work. It now focuses on the more important decoding tasks that a much larger number of users need.

Perfect if "elyotna"continue  and yes i see it :

https://lkml.org/lkml/2019/6/6/535

and i understand the decoding is the most important at this time.

And if amlogic help :

"We have received a redistributable license from Amlogic and the firmwares have been merged in linux-firmware"

 

So i continue to wait, because if decoding use the complete hardware , i have more cpu to encode ... ;)

 

Thank you for giving me hope !

 

my news read :

https://patchwork.kernel.org/project/linux-amlogic/list/

If i read correctly ( http://linux-meson.com/doku.php ) , the S922x is a g12b, no yet implemeted ( i see some odroid guy dev work on it) but :

v5.3 (work in progress)

...

G12B: add support for the S922X SoC

and

G12B : Identical to GXL but with Quad Cortex-A73 + dual Cortex-A53 cores

S922X: mostly pin compatible with S905X2

And if i read correctly , lot of similarity with S905X2, so it could be quick (https://patchwork.kernel.org/cover/10964079/ ) ...

 

to come back with the subject, i wait the new kernel and i try to transcode with my amlogic ( i have s912, TX3 Mini ) and come back with result.
 

kernel request :

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.3-Media-Updates

 

- new Atmel microship ISC driver;
- coda has gained support for mpeg2 and mpeg4;
- cxusb gained support for analog TV;
- rockchip staging driver was split into two separate staging drivers;
- added a new staging driver for Allegro DVT video IP core;
- added a new staging driver for Amlogic Meson video decoder;
- lots of improvements and cleanups.

 

Must wait to make more tests ...

  • Werner locked this topic
Guest
This topic is now closed to further replies.

Account

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.