Jellyfin Forum
ARM transcoding - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: ARM transcoding (/t-arm-transcoding)



ARM transcoding - Serj-47 - 2024-03-24

I have a Chinese tvbox that has been converted into a NAS, those on it have a full-fledged linux armbian installed and a hard drive is also connected on which files with my media collection are located.In Armbian linux, I use docker for some applications, for example, for 'transmission' and it works quite normally. My question is, can I use the Jellyfin docker and transcoding version to view media content over the network? To be more precise, I am interested in whether the performance of the box is enough for video transcoding? Hardware: Amlogic CPU- Amlogic s905x3,, GPU-G31MP2, 4 GB RAM


RE: ARM transcoding - gnattu - 2024-03-24

It will work to an extent, as the v4l2mem is available for this SoC. However, don't expect too much from it, as its performance is not adequate for Jellyfin.


RE: ARM transcoding - Serj-47 - 2024-04-05

Thanks for your reply. I installed the jellyfin server, the docker version on one of my s905x2 TV boxes. And it works!) When playing transcoded video on my phone in the jellyfin app, I can watch it without stuttering in 480 resolution. At the same time, I see 100% CPU usage on the TV box, and this is not surprising.
How do find out which type of transcoding is used on the server, software or hardware?


RE: ARM transcoding - Serj-47 - 2024-04-13

As I indicated in my message above, the load of all soc cores on the server when using software transcoding is about 100%. I tried to enable hardware decoding v4l2 in the jellyfish app on my phone, but now the content is no longer playing, giving an error.
The jellyfish server log -
https://pastebin.com/UvhwAXh8
v4l2-compliance -s output from the server - https://pastebin.com/VeFv5nVR

The launch parameters of the docker container on the server look something like this:

Code:
docker run -d  --name jellyfin-linuxserver \
--net=host  \
--volume /srv/usb-disk/Storage2/jellyfin/config:/config \
-e TZ=W-SU \
-e PUID=1000  \
-e PGID=1000  \
--volume /srv/usb-disk/Storage2/jellyfin/cache:/cache  \
--mount type=bind,source=/home/serj/Storage-nfs,target=/media \
--restart=unless-stopped  \
--device=/dev/dri/:/dev/dri/  \
--device=/dev/video0:/dev/video0  \
linuxserver/jellyfin

Code:
ls /dev/dri                                              
by-path  card0  card1  renderD128
ls /dev/video*                                            
/dev/video0