likeadoc

Transcoding WITHOUT a valid serial number

Recommended Posts

@Napalmd if you plan to utilize surveillance station, then yes you should patch that one too - I updated the script on Github accordingly:)

  • Thanks 1

Share this post


Link to post
Share on other sites

I'v been using surveilance station without problems, but I will patch it to see if there are any differences...

Share this post


Link to post
Share on other sites

I patched it but no difference, it works as usual. It would be cool if you could patch the surveilance station so we could add more than 2 cameras without buying the license.

I get this error every time I open it, it works fine nonetheless


2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_update_ds_token.c:50 fgets failed
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_update_ds_token.c:145 Can't set api key
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: pushservice_utils.c:387 GenerateDsToken Failed
2020-06-27T19:35:41+01:00 FileServer synoscgi_SYNO.SurveillanceStation.Notification_1_GetRegisterToken[7464]: Failed to get ds token.

 

Share this post


Link to post
Share on other sites

@likeadoc

does this allow me to get plex hw transcode ( i have plex pass ) but i run the script 

its activated but still no hw transcode on plex ( ore maby its the cpu its a 10th gen )

 

Share this post


Link to post
Share on other sites

Did you not read through this thread ? On Page 1

Quote

Plex, Emby & Jellyfin should be unaffected by this patch since they don't use synologys license checking mechanism and come bundled with their own version of ffmpeg.

 

 

Share this post


Link to post
Share on other sites
19 hours ago, beantje said:

its activated but still no hw transcode on plex ( ore maby its the cpu its a 10th gen )

plex "only" useses the /dev/dri devices and these are uneffected by synology's licensing stuff (that is more about codecs and licensing fees - at least thats my guess)

10th gen is definitely your problem, you can read about it here (you don't have something in /dev/dri as base for hardware based transcoding)

https://xpenology.com/forum/topic/28321-driver-extension-jun-103b104b-for-dsm623-for-918-3615xs-3617xs/

 

so far one tester for the "experimental" patch and he found it not working, please try the patched i915 and write about your experience in the thread so we know for sure if its a fruitless effort with the 10th gen cpu's

  • Like 1

Share this post


Link to post
Share on other sites

Hello,

 

i have tried implementing your patch but being on 6.2.3 25426-2 it does not work.

 

ash-4.3# ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) not found.

 

@likeadoc any chances you have spare time to update your patch?

 

Thanks and Regards,

 

S

Share this post


Link to post
Share on other sites

you could add the entry for 6.2.3 u2 yourself if you dont want to wait

 

...
declare -a versions_list=(

...

 "6.2.3 25426-2"

)

 

Share this post


Link to post
Share on other sites
Posted (edited)

hello, i have error when check status after patch.

 

 cat /usr/syno/etc/codec/activation.conf

{"success":false,"msg":"SN format is wrong."}
 

 

DSM: 6.2.3- 25426

 

its patched but not work for me...

 

how can i get activated?

 

 

 sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-0
Patch for DSM Version (6.2.3 25426-0) AVAILABLE!
/usr/syno/bin/synocodectool
Valid backup and patched synocodectool detected. Skipping patch.
Backing up libraries...
--2020-08-03 11:53:10--  https://raw.githubusercontent.com/Jlozde/xpenology-6.2.3-easyfix/master/libsynophoto-plugin-detection.so
Resolving raw.githubusercontent.com... 151.101.132.133
Connecting to raw.githubusercontent.com|151.101.132.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49891 (49K) [application/octet-stream]
Saving to: '/var/packages/SynologyMoments/target/usr/lib/libsynophoto-plugin-detection.so'

libsynophoto-plugin 100%[===================>]  48.72K  --.-KB/s    in 0.02s

2020-08-03 11:53:10 (2.50 MB/s) - '/var/packages/SynologyMoments/target/usr/lib/libsynophoto-plugin-detection.so' saved [49891/49891]

 

Edited by otobcn

Share this post


Link to post
Share on other sites
On 7/31/2020 at 7:49 PM, IG-88 said:

you could add the entry for 6.2.3 u2 yourself if you dont want to wait

 


...
declare -a versions_list=(

...

 "6.2.3 25426-2"

)

 

Hi, i modified the file path.sh but the script still says Patch for DSM Version (6.2.3 25426-2) not found. Should i edit something else? Thanks!

Share this post


Link to post
Share on other sites
Posted (edited)

yes, for every patch there is a definition from and to version it is valid

 

#arrays
declare -A binhash_version_list=(
    ["cde88ed8fdb2bfeda8de52ef3adede87a72326ef"]="6.0-7321-0_6.0.3-8754-8"
    ["ec0c3f5bbb857fa84f5d1153545d30d7b408520b"]="6.1-15047-0_6.1.1-15101-4"
    ["1473d6ad6ff6e5b8419c6b0bc41006b72fd777dd"]="6.1.2-15132-0_6.1.3-15152-8"
    ["26e42e43b393811c176dac651efc5d61e4569305"]="6.1.4-15217-0_6.2-23739-2"
    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-0"
)

the last line needs to be extended so that the valid ends with "6.2.3-25426-2" instead of "6.2.3-25426-0"

    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-2"

Edited by IG-88

Share this post


Link to post
Share on other sites
On 8/7/2020 at 11:36 PM, IG-88 said:

yes, for every patch there is a definition from and to version it is valid

 


#arrays
declare -A binhash_version_list=(
    ["cde88ed8fdb2bfeda8de52ef3adede87a72326ef"]="6.0-7321-0_6.0.3-8754-8"
    ["ec0c3f5bbb857fa84f5d1153545d30d7b408520b"]="6.1-15047-0_6.1.1-15101-4"
    ["1473d6ad6ff6e5b8419c6b0bc41006b72fd777dd"]="6.1.2-15132-0_6.1.3-15152-8"
    ["26e42e43b393811c176dac651efc5d61e4569305"]="6.1.4-15217-0_6.2-23739-2"
    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-0"
)

the last line needs to be extended so that the valid ends with "6.2.3-25426-2" instead of "6.2.3-25426-0"

    ["1d01ee38211f21c67a4311f90315568b3fa530e6"]="6.2.1-23824-0_6.2.3-25426-2"

It works! Thanks! 😀 I already modified that line but i was running the patch script in a wrong way. I was running the script as root not as a sudo user. 

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I applied the patch successfully but when i'm using Plex transcoding, the CPU have 98-99% utilization (just like before the patch). Am i doing something wrong? or i forgot  something?

I had to modify patch.sh file because the version 6.2.3-25426 Update 2 is not supported yet.

 

DSM 6.2.3-25426 Update 2

DS3615xs - with Intel i3 3210 CPU / 4GB RAM

Loader version and model: JUN'S LOADER v1.03b - DS3615xs

Using custom extra.lzma: NO

Installation type: BAREMETAL - HP Microserver Gen8 (onboard NIC disabled, using NIC: HP NC-360T)

 

 cat /usr/syno/etc/codec/activation.conf

{"success":true,"activated_codec":["hevc_dec","ac3_dec","h264_dec","h264_enc","aac_dec","aac_enc","mpeg4part2_dec","vc1_dec","vc1_enc"],"token":...""}
 


user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:1
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:2
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-2
Patch for DSM Version (6.2.3 25426-2) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume2/@appstore/VideoStation/bin/synocodectool
3) /volume2/@appstore/MediaServer/bin//synocodectool
4) Quit
Please choose which binary you want to patch/restore:3
Valid backup and patched synocodectool detected. Skipping patch.
user@Synology:~$

Share this post


Link to post
Share on other sites
On 9/1/2020 at 1:37 PM, Enigel said:

Am i doing something wrong? or i forgot  something?

 

yes

 

-the patch has nothing to do with plex, its for synology's videostation and its licensing

-the pre requirement for hardware transcoding is to have a proper hardware (cpu) and to use loader 1.04b with 918+ installation (minimum 4th gen intel cpu)

 

if you dont have something in /dev/dri then there is no hardware transcoding, plex and videostation both need this device and its driver to work

3615/17 dont have such drivers, only 918+ comes with it and your hardware is not capable of running 918+ because your cpu is to old (3rd gen intel)

  • Like 1

Share this post


Link to post
Share on other sites

i dont really know where else to post this as im using legit SN\MAC.. i use loader 1.04b, dsm 6.2.3 update 2, i have plex pass, and hw transcoding used to work just fine. just noticed this evening someone is streaming from my plex server, transcoding but now hw. so i checked my activation file;

 

admin@DiskStation:/$  cat /usr/syno/etc/codec/activation.conf

{"success":true,"activated_codec":["h264_dec","h264_enc","mpeg4part2_dec","hevc_dec","vc1_dec","vc1_enc","aac_dec","aac_enc"],"token":""}

 

what could be the problem?

Share this post


Link to post
Share on other sites

The activation file is for the Synology video app, nothing to do with Plex/Plex Pass.

Share this post


Link to post
Share on other sites

Hi! Does the patch work with the Moments app? Moments will not transcode the photos with HEIC format. Thanks. 

Share this post


Link to post
Share on other sites
10 hours ago, iamheresy said:

Hi! Does the patch work with the Moments app? Moments will not transcode the photos with HEIC format. Thanks. 

if you look into the  script then you will see it patches the "synocodectool" in different location

Moments does not contain this file, so the patch can't  do that

 

 

Share this post


Link to post
Share on other sites

Hey guys,

sorry for being absent that long - I had a lot on my plate workwise - thank you @IG-88 & @flyride for keeping this topic active & supported!

I just merged support for DSM 6.2.3 25426-2 into the github repo - there seem to be no changes to the synocodectool binaries in this update.

 

@iamheresy this patch should work fine with the Moments app since it utilizes the synocodectool binary located in /usr/syno/bin (automatic heic conversion in the Moments app was the reason I wrote that patch in the first place:))

 

Share this post


Link to post
Share on other sites

@likeadoc thanks for your fast reply. I‘ve install the patch and it works fine with the Moments app. Now i can see the HEIC photos. 😃
 

By the way... Is it possible to restart the transcode for HEIC photos?

 

Great job!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.