Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dsm 7.1 codec not working #26

Closed
PoepieFloepie opened this issue Apr 6, 2022 · 39 comments · Fixed by #27
Closed

dsm 7.1 codec not working #26

PoepieFloepie opened this issue Apr 6, 2022 · 39 comments · Fixed by #27

Comments

@PoepieFloepie
Copy link

PoepieFloepie commented Apr 6, 2022

System details

  • Synology model: 220+
  • DSM version: 7.1-42661
  • on DSM 7.0 it is working fine
  • SynoCommunity FFMPEG Version: latest
  • VideoStation version: latest
  • Advanced Media Extensions version: latest

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

@volkzp
Copy link

volkzp commented Apr 6, 2022

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
Copy link
Owner

Is the video codec H.265 (HEVC) ?

@zetanary
Copy link

zetanary commented Apr 7, 2022

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
Copy link

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
Copy link
Owner

Strange, I need to investigate

@volkzp
Copy link

volkzp commented Apr 7, 2022

Is the video codec H.265 (HEVC) ?

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

@AlexPresso
Copy link
Owner

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
Copy link

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

@zhonghaoyun240
Copy link

so?time?

@AlexPresso
Copy link
Owner

AlexPresso commented Apr 7, 2022

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
Copy link

so?time?

seriously dude?

@findstevehere
Copy link

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

@Fabian1601
Copy link

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

@AlexPresso
Copy link
Owner

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
Copy link

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
Copy link

findstevehere commented Apr 9, 2022 via email

@mblanco4x4
Copy link

mblanco4x4 commented Apr 9, 2022

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

Thanks!

@findstevehere
Copy link

findstevehere commented Apr 9, 2022 via email

@AlexPresso
Copy link
Owner

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

@zuendi123
Copy link

zuendi123 commented Apr 18, 2022

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
Copy link

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

@findstevehere
Copy link

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
Copy link

ja-vivanco commented Apr 21, 2022

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
Copy link

@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

@cnstudio
Copy link

@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
Copy link

@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
Copy link
Owner

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

@iuliangcata
Copy link

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

@findstevehere
Copy link

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
Copy link

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
Copy link

@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
Copy link

OnePunchMan007 commented Apr 25, 2022

@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
Copy link

https://github.com/darknebular/Wrapper_VideoStation

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

@AlexPresso
Copy link
Owner

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

@findstevehere
Copy link

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
Copy link

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

@AlexPresso
Copy link
Owner

AlexPresso commented May 4, 2022

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
Copy link

  • 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
Copy link

Fabian1601 commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.