Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

225+ or 425+ Owners - Plex HW Transcoding.

4k to 1080 or 720 seems to work ok for me on my Samsung TV, and Laptop (both via a web browser, and the Plex app).

CPU usage is generally 10-15%

Edit... Altho the LG Colours of Journey demo did struggle for some reason. Maybe it's a HDR thing.
 
I get these error messages when I run the script :
View attachment 28604
I'm not good at linux scripting but I think there shouldn't be the word "i915" on line 375. I removed it, ran the script and everything seems to be working fine.

View attachment 28605
After removing the word "i915" line 375 :

View attachment 28606

Can the script author confirm that this is a typo?
The rmmod errors appear to be because the i915 module wasn't loaded when the script ran... Shouldn't be an issue providing the 'good' modules loaded without error.
 
4k to 1080 or 720 seems to work ok for me on my Samsung TV, and Laptop (both via a web browser, and the Plex app).

CPU usage is generally 10-15%

Edit... Altho the LG Colours of Journey demo did struggle for some reason. Maybe it's a HDR thing.
Ok with 4K videos on my 2 Samsung TV (QLED 2019 and OLED 2024). The result also depends on the client, but the DS1520+ performed well in all cases... I'd be curious to see how the Beestation Plus performs with 4K videos to older clients (however, the Amazon Firestick TV 4K MAX isn't that old...).
Regarding the LG Colors of Journey demo, the bitrate is very high, over 50 Mbps. The J4125's IGPU shows its limits here. The Core i9-13900k's IGPU transcodes it without any problems, with no stuttering.
 
The rmmod errors appear to be because the i915 module wasn't loaded when the script ran... Shouldn't be an issue providing the 'good' modules loaded without error.
I checked, the i915 module was loaded. By analyzing the script you will understand that rmmod calls two parameters while it only needs one.
 
@PlichtaO @Rusty
That "i915" was definitely a typo. I don't have a DS425+ or DS225+ so I blame my beta tester, Robbie at NASCompares :D

In v1.1.1 I've fixed it. Releases · 007revad/Transcode_for_x25
@007revad Is there a unix command that allows you to wait a few seconds? If the script you provided is launched when the NAS starts, I have a problem with the Plex application which sometimes launches at the same time (the IGPU is no longer detected sometimes!). I would like your script to launch after the Plex Media Server application. I have not found a way to do this on the scheduler.
 
Last edited:
@Rusty There are still issues with 2160p videos if tone mapping is enabled. I continued the discussion on the Plex forum here: Synology DS425+ hardware transcoding issue . Do you think this problem can be solved by replacing a file like what was done with the previously proposed solution?
It's not 2160p video's, it's HDR tone mapping when converting from hevc to H264

A non HDR 2160p file will HW transcode.

2160p hevc HDR will also HW transcode when the client is able to display hevc hdr (and hevc encoding is enabled)
 
It's not 2160p video's, it's HDR tone mapping when converting from hevc to H264

A non HDR 2160p file will HW transcode.

2160p hevc HDR will also HW transcode when the client is able to display hevc hdr (and hevc encoding is enabled)
"it's HDR tone mapping when converting from hevc to H264" : no problem when converting 1080p HEVC to H264 with tone mapping :
1759582797656.png


"A non HDR 2160p file will HW transcode." : Sorry, all my 2160p files are HDR so I can't test.


"2160p hevc HDR will also HW transcode when the client is able to display hevc hdr (and hevc encoding is enabled)" : Not with my Amazon fire Stick tv 4K max, which can handle 2160p HEVC file. No problem though with my two Samsung TV (OLED 2024 and QLED 2019) when HEVC encoding is enabled. HW transcoding problem for theses 2 TV when HEVC encoding is disabled.

It seems to be even more complicated than I had noticed. I will do more tests later with more cases. But in any case, if I disable tone mapping, all videos work on all my devices. I had the opportunity this morning to access Plex on a Synology DS1520+, there is no problem when tone mapping is enabled, regardless of the device playing the video.

The problem is centered on tone mapping but only occurs from a certain resolution.
 
Last edited:
From a quick google it would appear the 'Amazon fire Stick tv 4K max' has it's own issues with hevc, so maybe not the best test.

The problem is centered on tone mapping but only occurs from a certain resolution.
Because most HDR content is 4k hevc.

This is definitely a bug, but likely isn't fixable by loading additional modules, maybe an issue with the modified i915 or drm modules, opencl or ffmpeg
 
Ok but this Amazon fire stick works perfectly when files come from the DS1520+ :)
 
@Rusty There are still issues with 2160p videos if tone mapping is enabled. I continued the discussion on the Plex forum here: Synology DS425+ hardware transcoding issue . Do you think this problem can be solved by replacing a file like what was done with the previously proposed solution?
Probably but that would be u to the team behind the RR project. From a quick github issues search this is an issue for some time now. So unless they tackle it I don’t see a way of doing it.
 
Probably but that would be u to the team behind the RR project. From a quick github issues search this is an issue for some time now. So unless they tackle it I don’t see a way of doing it.
To solve this tone mapping problem on 4K videos, why not take inspiration from the drivers and other files of the Beestation +? Same CPU and same version of Linux as the DS225+ and DS425+ ...
 
For anyone wondering, the Transcoding 'Fix' appears to play nicely with DSM 7.3. (Still no Tone Mapping though)
Yes I tested it ! And now we can use non-Synology Hard drives on the DS*25+ NAS !
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top