Jump to content

RK3399 Legacy Multimedia Framework


JMCC

Recommended Posts

hi, i have an orangepi 4 lts, but thereis no legacy image of armbian for this board. Orange pi does have their own debian legacy image but it tells me it was unable to locate the package. Is there any way to get the multimedia integration on this board? thanks!

Link to comment
Share on other sites

Цитата

You can try to build your own legacy image using the build framework

I guess, there's no hope for "easy" legacy build for orangepi4-lts, because there is no way to choose "legacy" in the GUI of armbian build (even with "EXPERT" flag), it's missing.

And if I try to force "legacy" via CLI flags, I get:

sudo ./compile.sh \
BOARD=orangepi4-lts \
BRANCH=legacy \
RELEASE=buster \
BUILD_MINIMAL=yes \
BUILD_DESKTOP=no \
KERNEL_ONLY=no \
KERNEL_CONFIGURE=no
[ o.k. ] Using config file [ /home/user/progbin/build/userpatches/config-example.conf ]
[ o.k. ] Command line: setting BOARD to [ orangepi4-lts ]
[ o.k. ] Command line: setting BRANCH to [ legacy ]
[ o.k. ] Command line: setting RELEASE to [ buster ]
[ o.k. ] Command line: setting BUILD_MINIMAL to [ yes ]
[ o.k. ] Command line: setting BUILD_DESKTOP to [ no ]
[ o.k. ] Command line: setting KERNEL_ONLY to [ no ]
[ o.k. ] Command line: setting KERNEL_CONFIGURE to [ no ]
[ warn ] The KERNEL_ONLY key is no longer used. [ KERNEL_ONLY=no ]
[ o.k. ] Use an empty BUILD_ONLY variable instead 
[ error ] ERROR in function interactive_config_ask_branch [ functions/cli/cli-entrypoint.sh:106 -> functions/main/config-prepare.sh:114 -> functions/configuration/interactive.sh:149 -> functions/logging/traps.sh:0 ]
[ error ] Kernel branch not defined for this board [ legacy ]
[ o.k. ] Process terminated 

 

So, i guess, for Orange Pi 4 LTS the only hope is that JMCC will have the opportunity to implement multimedia features for "current" or that at some point mainline catches up.

Link to comment
Share on other sites

On 1/26/2023 at 4:49 PM, Salvo Nice said:

I have a RockPi 4c + which has this variant. But I also noticed that legacy Armbian is not available for this board, maybe I have to build it myself

Sorry, I don't have that board and have not tested the framework on it. Maybe you can build an image and try.

Link to comment
Share on other sites

Quote

I have a RockPi 4c + which has this variant. But I also noticed that legacy Armbian is not available for this board, maybe I have to build it myself

 

Did you got any suuccess ?
I also own a Rock 4c+ but since weeks I'm unable to bring my gpu to work.... always llvmpipe is loaded as driver.
And tested different versions of Armbian, Debian & Ubuntu...

just this methode I havn't tested.

Have someone else any suggestions ?
As far I understood correctly with Debian 11 it should work OOTB because the drivers are included.

Or maybe a hardware faulty...?
I searched the  internet a lot but nothings worked out....

would be grateful for any tip

Link to comment
Share on other sites

3 hours ago, Дмитрий Батин said:

Do you have any manual, that can help us to get it ?

Hello! In the first post, you have links to all the sources, most of them from my GitHub repos. The procedure might be outdated, though, I haven't touched it since 2019.

 

For Kodi, you can try the rockchip branch for legacy kernel, or the mainline branch for current. Compilation instructions are included in the repo. Good luck!

Link to comment
Share on other sites

  • Igor unpinned this topic

I installed this image to my rockpro64: https://mirror.yandex.ru/mirrors/armbian/archive/rockpro64/archive/Armbian_21.05.4_Rockpro64_buster_legacy_4.4.213.img.xz

 

Installation & automatic booting into KODI works perfectly. In addition, playing h264 encoded video files also played with HW acceleration, playback is smooth, HDMI have audio.

 

The problem is h265 videos. They are stuttering periodically (every 2 seconds ) with all the TVs I tested.

 

Does anybody know a solution to this?

@JMCC Also, is it possible to have a :
-
HW accelerated decoding with smooth h264 / h265 playback

- HDMI audio

- Automatic booting into kodi

on the latest upstream builds of Armbian for Rockpro64  ?

 

Note: I tested LibreElec for Rockpro64 and all above works perfectly. The problem with LibreElec is its rootfs: It is not Debian / ubuntu and I need to be able to install my packages there, so my use-case is best of both worlds.

Link to comment
Share on other sites

Recommended way to get this running on a headless system?

 

My end goal is to get HW acceleration working for transcoding using Jellyfin 10.9 (which now supports rkmpp) on my RockPi4a . So I tried to make a new install on an SD card following the directions here. BUT, I didn't install the desktop legacy buster image, I tried Armbian_21.05.1_Rockpi-4a_buster_legacy_4.4.213 instead.

 

During 

Quote

sudo apt update && sudo apt upgrade

I got an error

 

Quote

Err:6 http://deb.debian.org/debian buster-backports Release
  404  Not Found [IP: 199.232.30.132 80]

 

And

Quote

Unable to locate package media-buster-legacy-rk3399

 

I'm missing several of the devices listed on the Jellyfin RKMPP page, most notibly rkvenc, dma_heap, mpp_service (but maybe that is just because I'm using a rk33xx chip)

 

Is the desktop image necessary to get all the devices for rkmpp to work?

 

sudo armbianmonitor -u is generating an error for me. Is there a different way now to upload this info?

 

Link to comment
Share on other sites

Buster, kernel 4.4.y and therefore this multimedia framework are deprecated.

Also take note of Jellyfins wiki:

Quote

Older chips may be supported but we were unable to test, such as RK356x and RK33xx

So there is a chance that they don't work at all.

Link to comment
Share on other sites

40 minutes ago, Werner said:

Buster, kernel 4.4.y and therefore this multimedia framework are deprecated.

 

I get that, this is the Legacy multimedia framework afterall. But as far as I am aware this is the only set up that supports the HW accel chips in RK3399. So it has the only chance of work there might be.

 

But I can't even get media-buster-legacy-rk3399 to install at the moment. Just looking for some guidance if this is related to not using the desktop image, or if it's because of the missing repo I mentioned.

Link to comment
Share on other sites

The error you get is from upstream. From Debian themselves to say.

However "media-buster-legacy-rk3399" package came from Armbian apt repo for Buster which has been phased out as well.

Link to comment
Share on other sites

45 minutes ago, SenorSmartyPants said:

And maybe not even then.

And not even then.  Because this is no longer supported by Debian, the files from upstream needed to build no longer exist.

Link to comment
Share on other sites

  • Werner unfeatured this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines