jeannotmer Posted May 2, 2020 Share #51 Posted May 2, 2020 Hello thanks for the works I'have update my synology (to DSM 6.2.2) and i see the same error on my log I don't use video station or photo station Can i ignore this error on SN or should i apply the patch ? for other application ? Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 8, 2020 Share #52 Posted May 8, 2020 On 4/27/2020 at 2:09 PM, Tuonorosso said: Hello, i have a question. The patch works until i permit access to internet to NAS. After go online my SN gone wrong. How can i fix it? Thanks No solution for this? Thanks 1 Quote Link to comment Share on other sites More sharing options...
MitkoVIP Posted May 13, 2020 Share #53 Posted May 13, 2020 Hi guys, running DSM 6.2.2 U6 and tried to use this patch, but no luck. Patch is applied but as soon as i try to play movie on TV it bounces back to wrong SN. Tried several SN for 3615xs. What else can we test? Thansk. Quote Link to comment Share on other sites More sharing options...
likeadoc Posted May 19, 2020 Author Share #54 Posted May 19, 2020 @MitkoVIP @Tuonorosso @jeannotmer sorry for the late response... Did you apply the patch to both copys of synocodectool? Please kindly provide the output of the following commands: sha1sum /usr/syno/bin/synocodectool sha1sum /volumeX/@appstore/VideoStation/bin/synocodectool volumeX is the drive where VideoStation is installed Cheers Quote Link to comment Share on other sites More sharing options...
jeannotmer Posted May 19, 2020 Share #55 Posted May 19, 2020 Thanks i don't as i say I want to know "I don't use video station or photo station Can i ignore this error on SN or should i apply the patch ? for other application ?" Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 19, 2020 Share #56 Posted May 19, 2020 3 hours ago, likeadoc said: @MitkoVIP @Tuonorosso @jeannotmer sorry for the late response... Did you apply the patch to both copys of synocodectool? Please kindly provide the output of the following commands: sha1sum /usr/syno/bin/synocodectool 93067026c251b100e27805a8b4b9d8f0ae8e291c /usr/syno/bin/synocodectool 3 hours ago, likeadoc said: sha1sum /volumeX/@appstore/VideoStation/bin/synocodectool 93067026c251b100e27805a8b4b9d8f0ae8e291c /volume1/@appstore/VideoStation/bin/synocodectool In this moment my xpenology is without internet ... so ...all works fine. If i try to re-index with xpenology connected to internet the patch go ti invalid S/N. If you want i can try so i can post output with S/N error... Let me know Thanks Quote Link to comment Share on other sites More sharing options...
likeadoc Posted May 19, 2020 Author Share #57 Posted May 19, 2020 @jeannotmer you only need this patch if you are using moments or videostation AFAIK @Tuonorosso that is a little bit weird because both versions of synocodectool seem to be patched - I am going to need a bit more details - which DSM Version, serial number format ((e.g. XXXXPDNXXXXXX for DS918+, XXXXODNXXXXXX for DS3617xs, XXXXLWNXXXXXX for 3615xs), the output of sudo cat /var/log/messages after you went online and lastly sudo find / -name synocodectool to see if there is a third synocodectool executable that overrides those settings... Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 19, 2020 Share #58 Posted May 19, 2020 15 hours ago, likeadoc said: @jeannotmer you only need this patch if you are using moments or videostation AFAIK @Tuonorosso that is a little bit weird because both versions of synocodectool seem to be patched - I am going to need a bit more details - which DSM Version, serial number format ((e.g. XXXXPDNXXXXXX for DS918+, XXXXODNXXXXXX for DS3617xs, XXXXLWNXXXXXX for 3615xs), the output of S/N: XXXXLWN020640 - DS3615XS - DSM 6.2.2-24922 Update 4 Quote sudo cat /var/log/messages after you went online and lastly 2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: utils.cpp:35 Fail to get synology account 2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: user.cpp:129 get account info fail [100] 2020-05-19T12:07:23+02:00 XXXXXXXX synoddsmd: synoddsm-hostd.cpp:227 Fail to get DDSM licenses, errCode: 0x100 2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong." 2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong." 2020-05-20T01:25:56+02:00 XXXXXXXX synocodectool: SYSTEM: Last message 'G1Licence.cpp:79 Lic' repeated 1 times, suppressed by syslog-ng on XXXXXXXX 2020-05-20T01:25:56+02:00 XXXXXXXX synoflvconv: synoflvconv.cpp:761 Failed to convert video [/volume1/photo/2004/PICT0015.AVI] to mpeg4 mp4. Quote sudo find / -name synocodectool to see if there is a third synocodectool executable that overrides those settings... /usr/syno/bin/synocodectool /volume1/@appstore/MediaServer/bin/synocodectool /volume1/@appstore/VideoStation/bin/synocodectool Do you need more? Thanks Quote Link to comment Share on other sites More sharing options...
mervincm Posted May 20, 2020 Share #59 Posted May 20, 2020 on current DSM 918+ error message of Patch for DSM Version (6.2.3 25426-0) not found. then a list of the versions it does suport. sudo cat /var/log/messages tells me 2020-05-19T18:39:38-06:00 DS2 synocodectool: G1Licence.cpp:79 Licence not Succes s,error msg "SN format is wrong." 2020-05-19T18:39:38-06:00 DS2 synocodectool: SYNOCodecPatentG1.cpp:242 ValidateG 1Licence failed sudo find / -name synocodectool tells me /usr/syno/bin/synocodectool /volume1/Apps/DS2/Scripts/synocodectool-patch-master/synocodectool /volume2/@appstore/VideoStation/bin/synocodectool sha1sum /usr/syno/bin/synocodectool supplies 1d01ee38211f21c67a4311f90315568b3fa530e6 /usr/syno/bin/synocodectool Quote Link to comment Share on other sites More sharing options...
tigs Posted May 20, 2020 Share #60 Posted May 20, 2020 Hi OP, Can you kindly update the patch to latest version? thanks root@DiskStation:/# ./patch.sh -p Detected DSM version: 6.2.3 25426-0 Patch for DSM Version (6.2.3 25426-0) not found. Quote Link to comment Share on other sites More sharing options...
tigs Posted May 20, 2020 Share #61 Posted May 20, 2020 2 hours ago, tigs said: There are actually 3 versions : /usr/syno/bin/synocodectool /volume1/@appstore/MediaServer/bin/synocodectool /volume1/@appstore/VideoStation/bin/synocodectool 2 hours ago, tigs said: Hi OP, Can you kindly update the patch to latest version? thanks root@DiskStation:/# ./patch.sh -p Detected DSM version: 6.2.3 25426-0 Patch for DSM Version (6.2.3 25426-0) not found. Quote Link to comment Share on other sites More sharing options...
likeadoc Posted May 20, 2020 Author Share #62 Posted May 20, 2020 @tigs @mervincm @Tuonorosso I updated the patch to work with DSM 6.2.3 25426-0. I also added support for patching the third executable (/volumeX/@appstore/MediaServer/bin/synocodectool) - theoretically it should work now. P.S.: Could you run the following command BEFORE patching and post the output here ? I am curious to see which version of synocodectool the MediaServer application uses. sha1sum /volume1/@appstore/MediaServer/bin/synocodectool Cheers Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 20, 2020 Share #63 Posted May 20, 2020 4 minutes ago, likeadoc said: @tigs @mervincm @Tuonorosso I updated the patch to work with DSM 6.2.3 25426-0. I also added support for patching the third executable (/volumeX/@appstore/MediaServer/bin/synocodectool) - theoretically it should work now. P.S.: Could you run the following command BEFORE patching and post the output here ? I am curious to see which version of synocodectool the MediaServer application uses. sha1sum /volume1/@appstore/MediaServer/bin/synocodectool Cheers 1d01ee38211f21c67a4311f90315568b3fa530e6 /volume1/@appstore/MediaServer/bin/synocodectool So, now i restore with ./patch.sh -r and then re-download with wget and re-patch? Is it correct? Thanks again Quote Link to comment Share on other sites More sharing options...
likeadoc Posted May 20, 2020 Author Share #64 Posted May 20, 2020 @Tuonorosso no need to restore just download the new version and only patch /volume1/@appstore/MediaServer/bin/synocodectool The other versions (/usr/syno/bin/synocodectool and /volume1/@appstore/VideoStation/bin/synocodectool) are already successfully patched:) Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 20, 2020 Share #65 Posted May 20, 2020 (edited) 22 minutes ago, likeadoc said: @Tuonorosso no need to restore just download the new version and only patch /volume1/@appstore/MediaServer/bin/synocodectool The other versions (/usr/syno/bin/synocodectool and /volume1/@appstore/VideoStation/bin/synocodectool) are already successfully patched:) sorry, i do this: wget https://raw.githubusercontent.com/likeadoc/synocodectool-patch/master/patch.sh but when i try to patch Detected DSM version: 6.2.2 24922-4 Patch for DSM Version (6.2.2 24922-4) AVAILABLE! Available binaries to patch/restore: 1) /usr/syno/bin/synocodectool 2) /volume1/@appstore/VideoStation/bin/synocodectool 3) Quit Please choose which binary you want to patch/restore:2 Valid backup and patched synocodectool detected. Skipping patch. and if i do cat /usr/syno/etc/codec/activation.conf {"success":false,"msg":"SN format is wrong."} I think i make some error.... EDIT: my mistake....when download it create patch.sh.1 ... hehe Detected DSM version: 6.2.2 24922-4 Patch for DSM Version (6.2.2 24922-4) AVAILABLE! Available binaries to patch/restore: 1) /usr/syno/bin/synocodectool 2) /volume1/@appstore/VideoStation/bin/synocodectool 3) /volume1/@appstore/MediaServer/bin//synocodectool 4) Quit Please choose which binary you want to patch/restore:3 Detected valid synocodectool. Creating backup.. Patching... Patched Creating spoofed activation.conf.. Spoofed activation.conf created successfully Edited May 20, 2020 by Tuonorosso Quote Link to comment Share on other sites More sharing options...
Tuonorosso Posted May 20, 2020 Share #66 Posted May 20, 2020 Nothing...same error... 2020-05-20T10:55:23+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong." 2020-05-20T10:55:23+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong." 2020-05-20T10:55:24+02:00 XXXXXXXXX synocodectool: G1Licence.cpp:79 Licence not Success,error msg "SN format is wrong." 2020-05-20T10:55:24+02:00 XXXXXXXXX synocodectool: SYSTEM: Last message 'G1Licence.cpp:79 Lic' repeated 3 times, suppressed by syslog-ng on Fantonax4 2020-05-20T10:55:24+02:00 XXXXXXXXX synoflvconv: synoflvconv.cpp:761 Failed to convert video [/volume1/photo/2011/20111117-20111231 - Mimi 1 anno - 2011/IMG_2388.MOV] to mpeg4 mp4. {"success":false,"msg":"SN format is wrong."} Quote Link to comment Share on other sites More sharing options...
tigs Posted May 20, 2020 Share #67 Posted May 20, 2020 On 3/29/2020 at 6:56 AM, likeadoc said: @likeadoc Thanks: here is output and it was a success!! Can we patch all 3 versions? right now it does not seem to allow. Once you patched one of them, the only option is to "RESTORE" even if you do "./patch.sh -p". Great work!! ash-4.3# sha1sum /volume1/@appstore/MediaServer/bin/synocodectool 1d01ee38211f21c67a4311f90315568b3fa530e6 /volume1/@appstore/MediaServer/bin/synocodectool Quote Link to comment Share on other sites More sharing options...
likeadoc Posted May 20, 2020 Author Share #68 Posted May 20, 2020 @tigs you should definitely be able to patch more than one version - you just have to do it one by one. if that doesnt work could you please send a screen grab ? Quote Link to comment Share on other sites More sharing options...
tigs Posted May 20, 2020 Share #69 Posted May 20, 2020 46 minutes ago, likeadoc said: @tigs you should definitely be able to patch more than one version - you just have to do it one by one. if that doesnt work could you please send a screen grab ? @likeadoc never mind. figured out and No issues!!! thanks a lot!! this is amazing Quote Link to comment Share on other sites More sharing options...
mervincm Posted May 20, 2020 Share #70 Posted May 20, 2020 (edited) sudo find / -name synocodectool tells me /usr/syno/bin/synocodectool /volume1/Apps/DS2/Scripts/synocodectool-patch-master/synocodectool /volume2/@appstore/VideoStation/bin/synocodectool so I don't have the tool in a "MediaServer" folder like others have listed, so I targetted the latest Video station app (2.4.8-1611) via self modified pkg. sha1sum /volume2/@appstore/VideoStation/bin/synocodectool 1d01ee38211f21c67a4311f90315568b3fa530e6 /volume2/@appstore/VideoStation/bin/synocodectool Patched the 2 copies it found. not sure if it worked our not, but the script didn't complain. I still have driver issues to work on I think as I don't have a /dev/dri folder yet. I believe it is working as 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":"123456789987654abc"} and sudo cat /var/log/messages | grep SN does not seem to be incrementing SN errors any longer Edited May 20, 2020 by mervincm Quote Link to comment Share on other sites More sharing options...
grumpymonk Posted May 24, 2020 Share #71 Posted May 24, 2020 (edited) Hi there DS3615xs guest on kvm running DSM 6.2-23739 Had this problem and applied the patch as instructed No more SN in /var/log/messages and no errors in Log Center Seems to work well, thanks! Will report in case of errors! g Edited May 24, 2020 by grumpymonk Quote Link to comment Share on other sites More sharing options...
grumpymonk Posted May 27, 2020 Share #72 Posted May 27, 2020 Hi again, I had to rexecute the tool at some point yesterday, no sure why. In any case, I was disappointed with the video playback performance on Moments, so I am reverting back to Plex. Cheers and thanks again, g Quote Link to comment Share on other sites More sharing options...
stefauresi Posted May 30, 2020 Share #73 Posted May 30, 2020 Hi, Thanks , all it's good for me 😋 Quote Link to comment Share on other sites More sharing options...
bonzoxxx Posted June 3, 2020 Share #74 Posted June 3, 2020 (edited) Thanks for the patch, it's seems that's working really well with my config, I really appreciate. Soon I'll try to activate hw transcoding using integrated GPU but I'm not confident it will run. Edited June 3, 2020 by bonzoxxx Quote Link to comment Share on other sites More sharing options...
Napalmd Posted June 26, 2020 Share #75 Posted June 26, 2020 thanks for the patch. I also have a synocodectool in: /volume1/@appstore/SurveillanceStation/bin/synocodectool does it need to be patched too? 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":"123456789987654abc"} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.