AlexPresso / VideoStation-FFMPEG-Patcher

Patcher to enable DTS, EAC3 and TrueHD transcoding support to Synology VideoStation (from DSM 6.2 to DSM 7.0 and above ; ffmpeg4, 5, 6, 7 ready)
1.06k stars 102 forks source link

dsm 7.1 codec not working #26

Closed PoepieFloepie closed 2 years ago

PoepieFloepie commented 2 years ago

System details

Describe the bug video with dts eac3 and truehd the circle keeps spinning

volkzp commented 2 years ago

The same bug after updating to DSM 7.1-42661

Synology model: DS920+ FFMPEG Version: latest VideoStation version: latest Advanced Media Extensions version: latest

AlexPresso commented 2 years ago

Is the video codec H.265 (HEVC) ?

zetanary commented 2 years ago

Same here, circle keeps spinning. Not work for any video (H264/H265) with audio EAC3, DTS, TrueHD after upgrade to DSM7.1-42661.

Synology model: DS920+ SynoCommunity FFMPEG version: 4.3.3-39 VideoStation version: 3.0.3-2084 Advanced Media Extensions version: latest

Fabian1601 commented 2 years ago

Same for me.

Synology model: DS1520+ SynoCommunity FFMPEG version: 4.3.3-39 VideoStation version: 3.0.3-2084 Advanced Media Extensions version: latest

AlexPresso commented 2 years ago

Strange, I need to investigate

volkzp commented 2 years ago

Is the video codec H.265 (HEVC) ?

If you are asking about Advanced Media Extensions, then yes. AME with HEVC codec support

AlexPresso commented 2 years ago

Yes, I'm asking specifically for this video codec, because it's a known problem I'm working on for a long time (see: #16 )

Fabian1601 commented 2 years ago

I have the problems also with movies that worked fine under 7.0 with your patch

zhonghaoyun240 commented 2 years ago

so?time?

AlexPresso commented 2 years ago

so?time?

What ? Really ? You're asking it like I owe you any kind of service. I don't. Be kind, let me find some time to fix it, or fix it yourself.

findstevehere commented 2 years ago

so?time?

seriously dude?

findstevehere commented 2 years ago

always getting: Missing SynoCommunity ffmpeg package, please install it and re-run the patcher.

Fabian1601 commented 2 years ago

strange, I get no message that something is missing. the patch runs cleanly through

AlexPresso commented 2 years ago

always getting: Missing SynoCommunity ffmpeg package, please install it and re-run the patcher.

That is strange, have you successfully installed the package using the package manager ?


DSM 7.1 is not yet available for my DS218Play, I'll wait until monday to see if there's an auto update, and start investigating. If I still have no update until monday, I'll manually update it anyway.

mblanco4x4 commented 2 years ago

Same here, manually updated to DSM 7.1 then repatched. Videos without dts seem to work but WITH dts it just spins and never begins playback. Was working great before. I will experiment some more.

Thanks!

Synology model: DS918+ SynoCommunity FFMPEG version: 4.3.3-39 VideoStation version: 3.0.3-2084 Advanced Media Extensions version: 2.0.0-1017

findstevehere commented 2 years ago

What is the procedure then if I'm missing something? I try to both with audio station stopped or running. And with fmmpg pack installed

On Sat., Apr. 9, 2022, 3:17 a.m. Fabian1601, @.***> wrote:

strange, I get no message that something is missing. the patch runs cleanly through

— Reply to this email directly, view it on GitHub https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/issues/26#issuecomment-1093863552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWU47YB4Z42R7G57BQSD7DDVEFKMHANCNFSM5SWD4BIQ . You are receiving this because you commented.Message ID: @.***>

mblanco4x4 commented 2 years ago

Further testing, playback hangs with eac3 & dts audio streams. DSM 7.1 patched.

Thanks!

findstevehere commented 2 years ago

I had it patched before the update successfully but have not been able to do so again. But if it's not working anyways I guess there's no point right?

On Sat., Apr. 9, 2022, 5:00 a.m. AlexPresso, @.***> wrote:

always getting: Missing SynoCommunity ffmpeg package, please install it and re-run the patcher.

That is strange, have you successfully installed the package using the package manager ?

DSM 7.1 is not yet available for my DS218Play, I'll wait until monday to see if there's an auto update, and start investigating. If I still have no update until monday, I'll manually update it anyway.

— Reply to this email directly, view it on GitHub https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/issues/26#issuecomment-1093959621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWU47YAVYYUTR54IJQNZT43VEFWMLANCNFSM5SWD4BIQ . You are receiving this because you commented.Message ID: @.***>

AlexPresso commented 2 years ago

For now yes, I'll fix it, then we'll have a look on why it tells you don't have SynoCommunity ffmpeg :)

zuendi123 commented 2 years ago

Further testing, playback hangs with eac3 & dts audio streams. DSM 7.1 patched.

Thanks!

I have the same issue here. Syno was patched before on DSM 7.0.1. After update to DSM 7.1 and re-run the patcher, the playback with eac3 and dts audio streams hangs.

But besides that, thank you for your amazing work!

OnePunchMan007 commented 2 years ago

First thanks for this amazing patcher ! I just want to say it doesn't work for me also in 7.1

findstevehere commented 2 years ago

For now yes, I'll fix it, then we'll have a look on why it tells you don't have SynoCommunity ffmpeg :)

thanks buddy!

ja-vivanco commented 2 years ago

so?time?

What ? Really ? You're asking it like I owe you any kind of service. I don't. Be kind, let me find some time to fix it, or fix it yourself.

Alex, after reading that weird comment from [zhonghaoyun240] I just wanted to let you know how much the community apreciates all the effort you are putting into this in your free time, and how gratful we are because thanks to people like you with the knwoledge and willingness to share with others without expecting anything in return, we can fully enjoy the feaures of the fantastic DSM software.

Thanks a lot Alex, and keep doing this at your own pace, whenever you have time avaiable and feel like it. And if at some point in time you decide that you can't or don't want to mantaining your patch any more, we'll totally understand and still be grateful for what you have been sharing with us all this time.

OnePunchMan007 commented 2 years ago

@ja-vivanco :

here the step that work for me :

thanks to kidWar75 in the other forum I just follow the step here : https://github.com/darknebular/Wrapper_VideoStation

cnstudio commented 2 years ago

@OnePunchMan007 :

Your fix steps also work for me on DSM 7.1-42661 (All packages version are the latest). Feedback this information for everyone who use DSM 7.1.

findstevehere commented 2 years ago

@ja-vivanco :

here the step that work for me :

  • Run the patch from alex
  • cd /var/packages/CodecPack/target/bin
  • sudo mv /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.orig
  • wget -O - https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/ffmpeg41-wrapper > /var/packages/CodecPack/target/bin/ffmpeg41
  • sudo chmod 755 /var/packages/CodecPack/target/bin/ffmpeg41
  • sudo sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so
  • sudo synopkg restart VideoStation

thanks to kidWar75 in the other forum I just follow the step here : https://github.com/darknebular/Wrapper_VideoStation

oh thank you so much, really appreciate step by step... happy to collate or put these all together for others if I can get to work for me. Will post any issues or confusion if they pop up. cheers

AlexPresso commented 2 years ago

@OnePunchMan007 Thanks for the infos, I'll have a look at it and try to implement these steps in the patch

iuliangcata commented 2 years ago

I can confirm this is working for me too. Hoping for Alex's version with the possibility of rollback.

findstevehere commented 2 years ago

AlexPresso

not sure how many times I've reported this, but Alex script gets an error that I need to install ffmpeg.. which I have installed already.

findstevehere commented 2 years ago

always getting: Missing SynoCommunity ffmpeg package, please install it and re-run the patcher.

That is strange, have you successfully installed the package using the package manager ?

DSM 7.1 is not yet available for my DS218Play, I'll wait until monday to see if there's an auto update, and start investigating. If I still have no update until monday, I'll manually update it anyway.

huh? You mean did I install ffmpeg through Package manager? yes. is there some other way. Anyways. there's so many different threads now with references to 3 different peoples patches that it's nuts. Or reference to original patch directions in comments from 2 years ago with VS 6. whatever instructions followed by 7xxx instructions. All over the map, so hardly helpful especially with repeatedly getting Alex error stating "install ffmpeg"

findstevehere commented 2 years ago

@ja-vivanco : here the step that work for me :

  • Run the patch from alex
  • cd /var/packages/CodecPack/target/bin
  • sudo mv /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.orig
  • wget -O - https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/ffmpeg41-wrapper > /var/packages/CodecPack/target/bin/ffmpeg41
  • sudo chmod 755 /var/packages/CodecPack/target/bin/ffmpeg41
  • sudo sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so
  • sudo synopkg restart VideoStation

thanks to kidWar75 in the other forum I just follow the step here : https://github.com/darknebular/Wrapper_VideoStation

oh thank you so much, really appreciate step by step... happy to collate or put these all together for others if I can get to work for me. Will post any issues or confusion if they pop up. cheers

sure good luck with that when Alex patch gets error: "install ffmpeg" and then next command results in "no such file or directory"

It would be so nice if someone could provide termninal instructions for mac that work,. cheers

OnePunchMan007 commented 2 years ago

@findstevehere i think you should create another issues because it's seems diffrent. Have you try ot upatch everything then uninstall evertyhing and then resinstall (Adanced Media Extensions , Video Station and ffmpeg from th0ma7 - https://packages.synocommunity.com/)

Swiftfrog commented 2 years ago

https://github.com/darknebular/Wrapper_VideoStation

Hi Bro, that's very useful for DSM7.1, thanks so much!!!

AlexPresso commented 2 years ago

The patch from DarkNebular doesn't work when medias are both encoded with HEVC and DTS or EAC3

findstevehere commented 2 years ago

The patch from DarkNebular doesn't work when medias are both encoded with HEVC and DTS or EAC3

I thought you asked for info somewhere but don't see it now....but this is what I get when I use the basic patch

MacBook-Air:~ root# curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3660 100 3660 0 0 4146 0 --:--:-- --:--:-- --:--:-- 4211 cat: /etc.defaults/VERSION: No such file or directory [2022-05-03 20:45:09] [INFO] ffmpeg-patcher v1.5 [2022-05-03 20:45:10] [Message of the day]

The patcher was redesigned to include an unpatch procedure.

I'm aware of an issue with HEVC and I'm working on it.

As always, please let me know of any issue you could have.

[2022-05-03 20:45:10] [ERROR] Missing SynoCommunity ffmpeg package, please install it and re-run the patcher. MacBook-Air:~ root#

findstevehere commented 2 years ago

but I also install ffmpeg from package centre but not through a manual install, just select from community

AlexPresso commented 2 years ago

The problem is that you're trying to install the patch on your Mac. You need to connect to the NAS through SSH before you run these commands (follow the help link on the repo)

findstevehere commented 2 years ago
  • sudo mv /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.orig

i just get error there is no file or directory. seems ffmpeg doesnt exist in my root folder or whatever

Fabian1601 commented 2 years ago

I I have the problems also with movies that worked fine under 7.0 Am 07.04.2022, 09:39:06, AlexPresso @.> schrieb: > > > Yes, I'm asking specifically for this video codec, because it's a known problem I'm working on for a long time (see: #16 (https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/issues/16) ) > > > > — > Reply to this email directly, view it on GitHub (https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/issues/26#issuecomment-1091200137), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AO2TODXI5EOWP65I7MGNRUTVD2GHHANCNFSM5SWD4BIQ). > You are receiving this because you commented.Message ID: @.> > >