Jump to content
XPEnology Community

Transcoding and Face Recognition(People and Subjects) Issue Fix in Once


Jlozde

Recommended Posts

In DSM7.0.1-42218 I see this strange behaviour:

 

 sudo ./patch.sh -p
Detected DSM version: 7.0.1 42218-0
Patch for DSM Version (7.0.1 42218-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/MediaServer/bin//synocodectool
3) Quit
Please choose which binary you want to patch/restore:1
Restored synocodectool and valid backup detected (DSM 7.0.1-42216-0_7.0.1-42218-0) . Patching...
Patched successfully
Creating spoofed activation.conf..
Spoofed activation.conf created successfully

~/synocodectool-patch-master$ sudo ./patch.sh -r
Detected DSM version: 7.0.1 42218-0
Patch for DSM Version (7.0.1 42218-0) AVAILABLE!
Available binaries to patch/restore:
1) /usr/syno/bin/synocodectool
2) /volume1/@appstore/MediaServer/bin//synocodectool
3) Quit
Please choose which binary you want to patch/restore:1
Detected unpatched original synocodectool. Restoring not neccessary!

 

activation.conf looks like this;


sudo 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"}

 

in Photos the number of photos to be discovered counts down but in the end there's nothing in the people album

Link to comment
Share on other sites

synafoto.log says:

 

021-11-10T16:04:50+01:00 DSM7 synofoto-task-center[18755]: /source/synofoto/src/lib/io/channel.cpp:107 channel[] failed to send: write: Broken pipe
2021-11-10T16:04:50+01:00 DSM7 synofoto-task-center[18755]: /source/synofoto/src/lib/io/channel.cpp:79 channel[/run/synofoto/face-extraction.socket] construct failed: connect: Connection refused

 

plaese advise

 

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Friends,

At current moment it looks like it doesn't work.

 

I have DS3615xs + DSM 7.0.1u3

I've executed the patch and the activation = 'success'.

 

In the Photos the playing of video is OK.

But face recognition - not work.

In the Photos I have a 'XXX photos to be discovered' many hours.

See the screen below:

 

Скрытый текст

804765048_Screenshot2022-04-14at19_41_36.thumb.png.c3018c25543fa529e271c34bea0a2d68.png

 

I already tried any re-indexes (from Photos and Control Panel). No effect.

Does anybody can try to or provide an advice how to fix it?

Edited by Infinity6
Link to comment
Share on other sites

  • 1 month later...

the question is if a patch is needed. i have the impression I read about people that do not need one. Even if you do not have created sn. I am using pocopico tinycore in yesterdays version with a created sn  with a 918+ and for me it does not work. Its a fresh install just to test this. thx for this great tool you and all that participated created there.

 

additional i loaded those:

 

./rploader.sh ext apollolake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
./rploader.sh ext apollolake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json

 

in /var/log/messages i see this:

2022-05-17T22:24:46-03:00 disk-prox-test synocloudserviceauth[14395]: cloudservice_get_api_key.cpp:21 Cannot get key
2022-05-17T22:24:46-03:00 disk-prox-test synocloudserviceauth[14395]: cloudservice_register_api_key.cpp:293 Register api key failed: Auth Fail
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_update_ds_token.c:52 fgets failed
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_update_ds_token.c:147 Can't set api key
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_utils.c:387 GenerateDsToken Failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: json_utils.cpp:147 Failed to parse json file [/tmp/VideoStation/enabled]
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/lib/face_detection.cpp:214 Error: (face plugin) load network failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/face_plugin.cpp:68 Error: (face plugin) init face detection error
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: uncaught thread task exception /source/synofoto/src/daemon/plugin/plugin_worker.cpp:90 plugin init failed: /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-face.so
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/lib/face_detection.cpp:214 Error: (face plugin) load network failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/face_plugin.cpp:68 Error: (face plugin) init face detection error
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: uncaught thread task exception /source/synofoto/src/daemon/plugin/plugin_worker.cpp:90 plugin init failed: /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-face.so

 

for me its not essential, but i see that the topics grow so fast that it is quite difficult to follow everything if you are just out for some days :)

 

maybe we can put some information here to the face detection that helps other...

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
19 часов назад, Aigor сказал:

Может быть, не по теме, у меня есть доступ к оригинальному DS1819+, если кому-то нужна информация, спросите, и я предоставлю

Please to email:  ssv251284@gmail.com

Link to comment
Share on other sites

  • 1 month later...
On 5/18/2022 at 7:37 PM, plegs said:

the question is if a patch is needed. i have the impression I read about people that do not need one. Even if you do not have created sn. I am using pocopico tinycore in yesterdays version with a created sn  with a 918+ and for me it does not work. Its a fresh install just to test this. thx for this great tool you and all that participated created there.

 

additional i loaded those:

 

./rploader.sh ext apollolake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
./rploader.sh ext apollolake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json

 

in /var/log/messages i see this:

2022-05-17T22:24:46-03:00 disk-prox-test synocloudserviceauth[14395]: cloudservice_get_api_key.cpp:21 Cannot get key
2022-05-17T22:24:46-03:00 disk-prox-test synocloudserviceauth[14395]: cloudservice_register_api_key.cpp:293 Register api key failed: Auth Fail
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_update_ds_token.c:52 fgets failed
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_update_ds_token.c:147 Can't set api key
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.
2022-05-17T22:24:46-03:00 disk-prox-test synofoto-bin-push-service[14391]: pushservice_utils.c:387 GenerateDsToken Failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: json_utils.cpp:147 Failed to parse json file [/tmp/VideoStation/enabled]
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/lib/face_detection.cpp:214 Error: (face plugin) load network failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/face_plugin.cpp:68 Error: (face plugin) init face detection error
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: uncaught thread task exception /source/synofoto/src/daemon/plugin/plugin_worker.cpp:90 plugin init failed: /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-face.so
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/lib/face_detection.cpp:214 Error: (face plugin) load network failed
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: /source/synophoto-plugin-face/src/face_plugin/face_plugin.cpp:68 Error: (face plugin) init face detection error
2022-05-17T22:27:11-03:00 disk-prox-test synofoto-face-extraction[13947]: uncaught thread task exception /source/synofoto/src/daemon/plugin/plugin_worker.cpp:90 plugin init failed: /var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-face.so

 

for me its not essential, but i see that the topics grow so fast that it is quite difficult to follow everything if you are just out for some days :)

 

maybe we can put some information here to the face detection that helps other...

 

 

+1

This is not working on DS918+ DSM 7.1-42661 Update 1

 

Neither Transcoding or Face Recognitions. 

 

What I see, Api authentication failed for valid license or no synology account. Which why this is not processing the plugin activation.

 

I hope someone will comes around with something and make it actually work.

Thanks

 

Link to comment
Share on other sites

19 hours ago, goodone007 said:

 

 

+1

This is not working on DS918+ DSM 7.1-42661 Update 1

 

Neither Transcoding or Face Recognitions. 

 

What I see, Api authentication failed for valid license or no synology account. Which why this is not processing the plugin activation.

 

I hope someone will comes around with something and make it actually work.

Thanks

 

 

I had a problem with the face detection. You need several photos of the same face to get it to work. Having one picture of a person will not work. Basically, the software ignores the face thinking it is not an important person. So try to upload several pictures of the same person and wait for it to process.

Also, I have a 10th gen Intel i3 CPU and even the back-ported i915 driver did not help. For some reason, the GPU is not utilized. I had to patch it to force DSM Photos to stop using the graphics card and do CPU processing only on the DS-918+ and it worked! At that point, I was thinking I would have been better off using an AMD system instead of all this as my LG OLED TV at home does hardware decoding like a champ! No need for Synology hardware acceleration stuff and Plex pass.

 

Here is what needs to be done:

https://github.com/jinlife/Synology_Photos_Face_Patch

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...
On 2/5/2023 at 3:28 AM, Benna said:

Any update on the patch?

i've used the patch on my DS3622xs+ DSM 7.1.1-42962 Update 1 without succes.

 

 

 

 

 

as far as the patch goes, I think you need to use the correct version for the Photos version. Each Photos app version needs a different patch. Just check and make sure the patch version matches the app's version. I have only tested it on DSM 918+ installation and it is working.

 

https://github.com/jinlife/Synology_Photos_Face_Patch

Link to comment
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.

×
×
  • Create New...