Jump to content

HW acceleration (decode + encode) with RK3568?


Recommended Posts

Posted

I'm afraid to say that, but this is farther away than the impression that has been created.

Once we have a new ffmpeg version, this will not immediately include RK hwa support. Initially, we will need to test and stabilize all regular functionality with the new ffmpeg. This takes time. And when we integrate the RK hw features in a new and specific ffmpeg build for those devices, this still doesn't mean that it's working automatically. There is development in Emby Server required, so that it will make use of those hwa capabilities. So it's really not something that is like just-around-the-corner.

Even though this is not the kind of message you were all hoping and waiting for - I think it's not only fair but also a matter of respect towards users, not to let them get trapped in a long loop of hope and disappointment. It's definitely on the agenda, but not possible to get done by a finger-snip.

Thanks

  • Like 1
  • Sad 3
  • Agree 1
  • 1 month later...
Posted

Got a CM3588 myself , following with interest 

  • 1 month later...
Posted

@softworkzis there a roadmap at all? I'm having to use both Jellyfin and emby at the moment but would love to just migrate to just Emby.

  • Agree 2
  • 3 months later...
danergo
Posted

Hi Folks! How is the status with this currently? I came across with this problem again, and it would be extremely useful if I can use rk's hw acceleration with emby.

  • 3 weeks later...
Posted
On 3/7/2026 at 12:04 PM, danergo said:

Hi Folks! How is the status with this currently? I came across with this problem again, and it would be extremely useful if I can use rk's hw acceleration with emby.

Hi, we are working on an updated ffmpeg that should be in the server beta channel in the near future. Thanks.

  • Like 1
  • Thanks 2
  • 3 weeks later...
zyrorl
Posted

@Lukeany status on when it'll be available in Beta, this has been waiting for quite a long time!!!

  • Sad 1
  • Disagree 1
  • 2 months later...
Posted
On 4/13/2026 at 10:44 AM, zyrorl said:

@Lukeany status on when it'll be available in Beta, this has been waiting for quite a long time!!!

+1... 

Posted

Just to let you guys know - this is not on the never-gonna-happen list.

We're working towards it, and progress is made...

image.png

  • Thanks 1
Posted
5 minutes ago, softworkz said:

Just to let you guys know - this is not on the never-gonna-happen list.

We're working towards it, and progress is made...

image.png

Wow, this is awesome! Can we somehow understand the status of progress? Is there much more work left to be done?

Posted (edited)

I got few minutes, so let me explain our - let's say - "limited excitement" for RockChip devices.

Few years ago, users convinced us to look into those types of devices (earlier gen of course) for transcoding and it looked very promising  - at least on paper - so we bought a Pine64 with an RK3399 and looked into it. Step-by-step it became clear that the specs were blatant lies and none of the promises kept true, like ffmpeg support, which had been mentioned and confirmed at various places, and then it turned out that there had been an earlier attempt, abandoned 1.5 years ago, completely unusable, requiring some kernel of firmware that wasn't even available - a total failure.

Playback at FullHD - stuttering like crazy - far away from all the specs they published - and it was clear that this device will never be able to transcode anything (when it cannot even de-code, how should it at the same time? 

Several OS images were provided and the only question was: which bug will the next one have what the others don't have?

OS had to be copied on an eMMC card - ancient technology, super-slow, took endlessly long and the result worked only in one of 3 cases - at best.
The device became super-hot, even for little effort, cooling was insufficient, and it became even slower when hot and it was hot most of the time.
Also, it was hardly possible to keep it closed. Each time I reassembled, it took only minutes until another reason came up for disassembling again, yet it needed its case for cooling, so it was an endless chain of open close open close open close - you couldn't put it into a corner and be good.
It might be a nice gadget for doing simple things, but the way how it was advertised - by RockChip, not by Pine - is not acceptable, just a collection of lies.

It's been an incredible waste of time, disappointing all along the line with a manufacturer who is lying about capabilities - from this background it should be understandable that since then, our excitement for anything about RockChip has been - as said - rather limited.

The conclusion was that we won't do any pioneering work and won't make any move in this area until there's proven evidence that this can work in a reasonable way and other will have done the required work on ffmpeg integration and suitable OS images, drivers and convincing device models are available.

The condition of the last sentence seems to be fulfilled, that why we're going for another attempt, but not as a top priority.

Edited by softworkz
Posted
51 minutes ago, niksol said:

Wow, this is awesome! Can we somehow understand the status of progress? Is there much more work left to be done?

Well, on the FFmpeg side, everything is prepared, but not at the side of Emby Server. 

We do not even have a device other than the underperforming hand-warmer (which I won't ever touch again 🙂 ).

Posted
2 minutes ago, softworkz said:

Well, on the FFmpeg side, everything is prepared, but not at the side of Emby Server. 

We do not even have a device other than the underperforming hand-warmer (which I won't ever touch again 🙂 ).

Okay, I understand. Thanks for your work and attempts!

Maybe we can help you to test raw software in beta test? For example I have Orange Pi 5+ with RK3588S, it can transcode any format with ffmpeg included in Jellyfin without any bugs and much heating/cpu load. So I think it won't be difficult to test and feedback for such users as me.

Posted

Thanks for the offer, through, the FFmpeg command building we do is pretty complex and working on this requires probably more iterations than we will have beta versions over the next few years...

Acquisition of a device not a problem in itself, it's rather about which one.  The requirements are:

  1. The device must use: RK3588 or RK3588S
  2. The device must have an internal M.2 M-key NVMe slot.
  3. Multi-Boot
    The device must be able to
    • either boot multiple OS installations from NVMe  (probably doesn't work)
    • or boot with a boot loader  with a menu  on regular/flash storage while the core OS is installed on NVMe 
    • or boot from a non-fixed drive while the core OS is installed on NVMe and switch OS by changing the drive's medium
      In this case, the "drive'" must be externally accessible without opening the case
  4. The device must be useable in all possible ways without needing to disassemble and re-assemble it more than once - ever

More generally: Everything that requires more time than it should/could, is a showstopper

Posted
14 minutes ago, softworkz said:

Thanks for the offer, through, the FFmpeg command building we do is pretty complex and working on this requires probably more iterations than we will have beta versions over the next few years...

Acquisition of a device not a problem in itself, it's rather about which one.  The requirements are:

  1. The device must use: RK3588 or RK3588S
  2. The device must have an internal M.2 M-key NVMe slot.
  3. Multi-Boot
    The device must be able to
    • either boot multiple OS installations from NVMe  (probably doesn't work)
    • or boot with a boot loader  with a menu  on regular/flash storage while the core OS is installed on NVMe 
    • or boot from a non-fixed drive while the core OS is installed on NVMe and switch OS by changing the drive's medium
      In this case, the "drive'" must be externally accessible without opening the case
  4. The device must be useable in all possible ways without needing to disassemble and re-assemble it more than once - ever

More generally: Everything that requires more time than it should/could, is a showstopper

1. Orange Pi 5 Plus

  • SoC: Rockchip RK3588.

  • Storage Interface: Onboard M.2 M-Key slot (PCIe 3.0 x4, 2280 form factor).

  • Multi-Boot Implementation: Equipped with a 16MB/32MB SPI NOR Flash. Supports UEFI (EDK2) deployment (need configuration) to enable a native boot menu directly from the NVMe drive. Alternatively, the MicroSD slot is positioned on the board's edge, allowing external media swapping via compatible enclosures without chassis disassembly.

  • Enclosure Ergonomics: Compatible with standard metal cases that expose the MicroSD slot and all primary I/O ports. One-time assembly requirement is met by pre-installing the NVMe SSD and sealing the chassis.

2. Radxa Rock 5B

  • SoC: Rockchip RK3588.

  • Storage Interface: Bottom-mounted M.2 M-Key slot (PCIe 3.0 x4, 2280 form factor).

  • Multi-Boot Implementation: Features a detachable eMMC module slot and an external-facing MicroSD slot. Multi-booting is achievable via customized U-Boot/GRUB configurations or UEFI images targeting the SPI Flash/SD card as the primary boot stage, while mounting core OS root filesystems from distinct NVMe partitions.

  • Enclosure Ergonomics: Requires a dedicated aluminum heatsink-case. The NVMe drive is secured internally during the initial layout. System switching via MicroSD card swaps does not require opening the housing, as the card slot remains perimeter-accessible.

I have first variant in use for almost 2 years, so I can help providing more information about this sbc. My config: Ubuntu 22.04 linux 5.10, NVMe 1TB with main OS, external HDDs for Data.

  • Like 1
Posted

Thanks, that's nice, because it matches the result of my own research which I had done two weeks ago:

image.png

 

What I wasn't aware of, though is that you can use UEFI for booting, which is great news.

Probably not for booting Android - did you ever run Android, is this even still a thing?

Posted
2 minutes ago, softworkz said:

Thanks, that's nice, because it matches the result of my own research which I had done two weeks ago:

image.png

 

What I wasn't aware of, though is that you can use UEFI for booting, which is great news.

Probably not for booting Android - did you ever run Android, is this even still a thing?

About UEFI: it's a test suit from users, so it can be unstable. I haven't tested this so I can't say anything about it.
About Android: I know there is official android images from orange pi website, but I don't tested it. 

If you will be using Ubuntu — I recommend Joshua Riek images.

Posted
8 minutes ago, niksol said:

About UEFI: it's a test suit from users, so it can be unstable. I haven't tested this so I can't say anything about it.

Okay, unstable is not the type of paths I'd like to be walking on. How about the other options:

  • Having a single (never-change) bootloader on SD for booting multiple OS installation on NVMe
  • Having multiple SD cards each one booting an OS on a different partition on NVMe

Which of them are you sure to be working?

Posted
3 minutes ago, softworkz said:

Okay, unstable is not the type of paths I'd like to be walking on. How about the other options:

  • Having a single (never-change) bootloader on SD for booting multiple OS installation on NVMe
  • Having multiple SD cards each one booting an OS on a different partition on NVMe

Which of them are you sure to be working?

If you want to maximise stability, I will recommend second variant with multiple SD cards. 

Posted
27 minutes ago, niksol said:

If you want to maximise stability, I will recommend second variant with multiple SD cards. 

Thanks for an honest answer. If it were a private passion project of mine, I would surely like to explore and try out everything to see what's possible, but for this, it's different priorities: The highest value is to have some who can guide and show me which ways are the safe side and guaranteed (by their own experience) to be working.

I think we'll probably set up a small beta group with a few who are interested, so that we can pursue this outside of the mainstream noise about the big HWA paths. Expect progress to be a bit slower and step after step, but eventually it will be great (because we won't stop before it is).

Thanks again

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...