Jump to content
XPEnology Community

Transcoding WITHOUT a valid serial number


likeadoc

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...

In the description of the patch (for example on its GitHub page) it states, that the SN needs to be in the format:

XXXXODNXXXXXX

for DS3617xs, while mine is

XXODNXXXXX

for DS3617xs.

 

Is that a problem? I mean: Is the number of characters before and after "ODN2" important?

Link to comment
Share on other sites

  • 2 weeks later...

Newbie here. Just patched to /usr/syno/bin/synocodectool which is sufficient right? The tool also gives option for /volume1/@appstore/VideoStation/bin/synocodectool, but I didn't execute it. Should I have done both?

 

Thanks! I'm re-indexing Moments now and hopefully I'll see its AI magic soon!

Link to comment
Share on other sites

  • 2 weeks later...

hmm somehow it worked for me but now after adding volumen for raid1 and re-installling moments/photo its not working anymore..

DSM 6.1.6-15266

photostation version:6.8.14-33501

moments version:1.2.1-0646

 

511dec657daa60b0f11da20295e2c665ba2c749c  /usr/syno/bin/synocodectool

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

 

when running moments index no line in varlogmessage is written. 
but it works for normal pictures/videos, but no heic

 

has someone an idea? 

 

and one more side-question - last time when it was working, all heic where just showing up as videos in moments - is this normal? (i guess its related to not full support of heic at that version?).

 

thanks for your effort

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi tried to patch my DS213 but failed

 

Detected DSM version: 6.2.3 25426-3
Patch for DSM Version (6.2.3 25426-3) 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:1
Corrupted synocodectool detected. Please use the -r option to try restoring it.

 

Restore is the same.
Do I need to stop package or other thing? Any advice?
Thanks

Vik

Link to comment
Share on other sites

@likeadoc

 

Thanks fo the help.

Tried to restore the original downloaded version from github.

root@anas:~/mybackup# bash ./patch.sh -r
Detected DSM version: 6.2.3 25426-3
Patch for DSM Version (6.2.3 25426-3) 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
Detected corrupted synocodectool.
No backups found. You can download the original file for DSM 6.2.3 25426-3 from https://github.com/likeadoc/synocodectool-patch/.

 

Where do I need to put it? (sorry I'm linux newbie)

Everything in root@anas:~/mybackup.

Vik

Link to comment
Share on other sites

  • 2 weeks later...

@Vikarowitsch

1) delete /usr/syno/bin/synocodectool & /volume1/@appstore/VideoStation/bin/synocodectool

2) download https://github.com/likeadoc/synocodectool-patch/blob/master/synocodectool/original/synocodectool.6.2.1-23824-0_6.2.3-25426-3.original

3) rename it to "synocodectool" (without quotes)

4) copy the file to /usr/syno/bin/ & /volume1/@appstore/VideoStation/bin/

5) apply patch for both copies (./patch.sh -p)

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
tien@MiniNas:~$ sudo ./patch.sh -p
Detected DSM version: 6.2.3 25426-3
Patch for DSM Version (6.2.3 25426-3) 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:1
Restored synocodectool and valid backup detected (DSM 6.2.1-23824-0_6.2.3-25426-3) . Patching...
xxd: /usr/syno/bin/synocodectool: Text file busy

 

It say "Text file busy", it not successful right?

 

 

Link to comment
Share on other sites

First thanks for the work! I'm trying to apply the patch and as far as I can tell it's successful:

 

ash-4.3# ./patch.sh -p

Detected DSM version: 6.2 23739-2

Patch for DSM Version (6.2 23739-2) AVAILABLE!

Available binaries to patch/restore:

1) /usr/syno/bin/synocodectool

2) Quit

Please choose which binary you want to patch/restore:1

Restored synocodectool and valid backup detected (DSM 6.1.4-15217-0_6.2-23739-2) . Patching...

Patched successfully

Creating spoofed activation.conf..

Spoofed activation.conf created successfully

 

However, when I upload a video to Photo Station the transcode still fails:

 

2021-03-19T11:31:54-05:00 DiskStation synoflvconv: synoflvconv.cpp:617 Failed to convert video [/volume2/photo/2021/test1/2020_1025_162528_068.MP4] to h.264 mp4.

 

Any idea what I might be missing here to make Photo Station conversion work?

Link to comment
Share on other sites

18 hours ago, princerock said:

Any idea what I might be missing here to make Photo Station conversion work?

if that need hardware transcoding then check that /dev/dri hast devices in it

you might also try to use videostatios transcoding for testing (re run the patcher after installing videostation, it comes with its own binary that needs patching)

Link to comment
Share on other sites

  • 4 weeks later...

It worked for me. Now the HEIC files could be displayed in Moments.

 

But I found other issues.

1. Moments could auto analyze people's face and categorize photos. However, this function does not apply to HEIC files, which means in the album of one person (auto generated), I couldn't find the HEIC files.

2. Moments seems does not read the EXIF info of the HEIC files. If you check the file details, it only displays file name, path, size. The camera model, location, and so on, is missing.

 

Not sure if this happens on Synology devices. My devices is HP Gen8 with DSM 6.2.3.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
В 19.03.2021 в 02:03, Tran сказал:

xxd: /usr/syno/bin/synocodectool: Text file busy

 

It say "Text file busy", it not successful right?

 

 

Yes, it means the file is running right now, most probably you have media reindexing right now.

 

Try running the following command and press "1 [Enter]" to choose the binary you are trying to patch as fast as possible. If get the same "Text file busy" error - try a few more times.

killall /usr/syno/bin/synocodectool; ./patch.sh -p

 

Link to comment
Share on other sites

  • 3 weeks later...
On 1/13/2021 at 9:21 PM, likeadoc said:

@richx
if you only want to enable transoding in the moments app patching /usr/syno/bin/synocodectool should suffice.

Patching /volume1/@appstore/VideoStation/bin/synocodectool enables transcoding capabilities in Synologys VideoStation application.

 

Great help, 

./patch.sh should be add -p and should add this explantion.

Link to comment
Share on other sites

  • 1 month later...

Are you guys able to hardware transcode h265 (hevc) 10bit?

It was confusing to check if my J4105 (Intel UHD 600) was compatible or not because Intel doesn't clearly show it. But apparently Plex has the power to do it and DS video hasn't.

When I check `/usr/syno/etc/codec/activation.conf` it seems to be missing `hevc_enc` (as encoder), but `hevc_dec` is present.

 

Other thing I noticed is that only the latest version of Video Station added support to watch in-browser hevc 10bit but your browser needs to support it (so far IE10, Mac OS Safari, iOS Safari).

This issue might be linked to DS video on iOS not playing anymore but it was until early this year/late last year.

 

Everything else seems to be working fine, except watching 4k 10bit hevc in anything other than Samsung Tizen OS TVs.

I have a legit syno 918+ (j3455) and xpe 918+ (j4105).

 

If my CPU doesn't support it on DS Video somehow, jumping to a 10600k (with HT off) will work?

Link to comment
Share on other sites

  • 2 weeks later...

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...