Jump to content

Recommended Posts

Posted

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]...

Posted

Moved to TV box topic, most likely more of the people following this subforum have interest/info about the topic.

Posted
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 :)

Posted

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 ... 

Posted
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.

Posted

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/

Posted

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.
 

Posted

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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines