-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
FFmpeg EAC3 and/or DTS support in Video Station for DSM 6.x #2952
Comments
First: we don't support DSM 6 so DSM 6.2 isn't supported as well... |
@houndtt I have ffmpeg on DS918+ w/ DSM 6.1.3-15152 Update 6 and its working fine for DTS and others, but I don't know if I have any video encoded w/ EAC3 audio. If you have a sample file with EAC3 audio to test I'd be interested to see if its working on the package I'm running. |
I believe a recent DSM update may have included an architecture change by Synology? I don't have a "before picture" but, I believe VideoStation used to source the ffmpeg off the Now it looks like Synology are embedding ffmpeg at As expected, I couldn't find anything in spksrc that hinted perhaps the packages used to make accommodations for this by - say - overriding Synology's choice of ffmpeg for VideoStation? Doing so might be inelegant, anyway.
You may notice eac3 has been disabled in the build arguments by Synology. After backing up the vendor's binary, I boldly attempted to A I empathize with @cytec that it's not feasible to provide what @houndtt and I are looking for in a sustainable way. I - or someone else - might be motivated to compile an older version of ffmpeg with eac3 to attempt a drop-in replacement. |
@ChrisAnonymous I can confirm the issue only happens with specifically eac3 files. Check the media info in an episode or movie under VideoStation. It should tell you "eac" vs "ac3" or "aac-lc" or similar. |
I had the exact same issue. Downgrading videostation to the previous version fixed the issue |
@cr03 i guess the best way would be to report that to Synology so that they can fix it ;) |
Team, thanks for all your feedback on this. As suggested this needs to be resolved by Synology and I have logged a ticket regarding same. The details of the ticket are as follows: Problem Explanation:
Problem Reproduce Steps:
I'll update the team once I receive a response. |
Same issues here, thanks for your research guys! Looking forward to the reply from Synology and a fix. |
I also dropped a ticket at Synology Support. They answered that E-AC3 is currently not supported. |
This is what i from Synology Support today Maybe you have used 3rd party like ffmpeg? So i don't Synology is going to fix it in a future release. |
I'm still awaiting my response from Synology (they initially asked for a debug log). If the above is correct then I would suggest that there be some sort of compromise. Synology operates on a whole community of open-source projects. Either the vendor allows their users the choice of decoder packages (much like they allow for a choice of web servers, interpreters, etc.) via some sort of selector to toggle the newly included stripped down decoder... or they allow for a paid option (much like they do for survelliance, anti-virus and file systems). |
Here is reference about Dolby software patents claimed to be infringed: #2952 (comment) |
@ymartin59 |
@ymartin59 I think you may have fumbled the link you wanted to paste -- it just links to this issue. Try again? |
I made a ticket and the answer was "eac3 format was never officially supported", if I use "ffmpeg unofficial package may be broken because of updates of Video Station". I downgrade to VideoStation-x86_64-2.3.4-1468 (DS416play) and solved the problem for now. Waiting for a better solution. |
Well I did the rollback to version 2.3.4-1468 and the EAC3 audio is once again transcoding. For those who are unsure about the process, the steps I took were as follows:
As an update to the ticket with Synology they closed it as a feature request with the following generic reply: "We have sent up your concerns with the ffmpeg process in DSM 6.2 beta and your desire to source the ffmpeg off the $PATH or some other mechanism that allowed third party versions to be used, to our features and development team." I also did a bit of experimenting with the downgraded version following in the steps of @cr03. My output for the 'ffmpeg' in Video Station was as follows:
I don't see any output in the
|
Just downgraded to 2.3.4-1468, let's hope Synology is picking this up and it will work again with the next release. |
Please close issue, if there is nothing we can do here. |
Just as an update, I attempted to upgrade to Video Station version 2.3.6-1475 this morning but the problem with the EAC3 audio still persists. Rolled back to version 2.3.4-1468 and all is once again well with the world. Hopefully Synology will fix this soon. |
Just to confirm what @houndtt pointed out, I could fix Video Station playback issues by downgrading manually from 2.3.6-1475 to 2.3.4-1468 . |
I know this issue was closed, but I have to say Videostation can not play DTS either AC3 originally, after install 3rd part FFMPEG from the community source, you get both DTS and AC3 works. What I want to point is why DTS and AC3 can be played but EAC3 won't? Is there anything FFMPEG community edition can do the same thing to enable EAC3? |
@kurtn2005 Because EAC3 is a codec that has licensefees. Synology is not willing to pay for that. |
@repmeer correct me if I am worng, from my understanding, both DTS and AC3 are need license and original VideoStation can not streaming both of them, and this can be proved by the lead of compile parameters of original FFMPEG which comes with VideoStation, however, after install the community FFMPEG package, DTS and AC3 works, why they are enabled? Should be some things changed after install community edition, I beleive. I assume it can be enable EAC3 with community edition as well. |
Can somebody pls post a link to the community version of FFMPEG? Do I get it right that after the installation of ffmpef community edition I can update my video station again if I just want to play MKVs with AC3 and DTS? |
@malhal please open a new issue specifically for your transcoding problem on aarch64 Ho ho ho, new Christmas package set Script available here (regular & debug versions): |
@th0ma7 - thanks for the xmas present :D Question: Do I need to use the shell script on my Atom DS1817+? |
I tried -19 package with the script on my DS1019+ (apollolake), the hevc transcoding with stutter for couple of seconds in every ~10 seconds. Trying to figure out what is the difference as the previous script has no such problem. |
Use @kc6108 's script instead: #2952 (comment) By launching ffmpeg with the "&", parent process stops and VideoStation restarts ffmpeg after few seconds. That's what creates this kind of freeze. |
Has anyone noticed with -19 package the hevc transcoding with hardware acceleration on Apollo lake has some artifacts? |
I had a quick look over it but part of the minimal requirement is GCC 6.1 for proper C++ 11 support. It can probably be done with current GCC 4.93 from DSM6.x but this may trigger unexpected bugs and become hard to figure where the issue is. I've created issue #3830 to track this. |
Hi all, Exchanges on this threads where really awesome, thnx to all who shared ideas and helped improving or testing the various scripts & new package sets. Changes are now all pushed I believe that the originating problem is now fully resolved (and a few other bits as well). Closing the thread. Again thnx to all. |
|
I have installed the latest 4.2.1-22 install with the symlink fix above and it works on a 1817+ -22 did not work directly, I still need to run the 6 lines of code above, not sure if thats the intended result. |
@YerBabiE you are absolutely right, currently things won't work out of the box and manual command lines are needed to get things going. Issues are with Synology VideoStation and SynoCommunity tries to find ways to alleviate/circumvent theses limitations without help from Synology. Althgough we do have a project to ease this process but it ain't ready yet. Thnx for your time for testing. |
How about rebuild videostation from source and remove the restrictions of
using the external ffmpeg?
Le jeu. 9 janv. 2020 à 13:03, Vincent Fortier <[email protected]> a
écrit :
… @YerBabiE <https://github.com/YerBabiE> you are absolutely right,
currently things won't work out of the box and manual command lines are
needed to get things going. Issues are with Synology VideoStation and
SynoCommunity tries to find ways to alleviate/circumvent theses limitations
without help from Synology.
Althgough we do have a project to ease this process but it ain't ready yet.
Feel free to follow it and become a early tester when ready at #3828
<#3828>
Thnx for your time for testing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2952?email_source=notifications&email_token=AABEHTYJRBDXMSDMVBASK4LQ44HBBA5CNFSM4D6HNHP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIQCJ7A#issuecomment-572531964>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEHT7VDFJSPQHPR6MJZSLQ44HBBANCNFSM4D6HNHPQ>
.
|
FYI: I have just followed this https://gist.github.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e#gistcomment-3119240 instructions and on my DS 718+ most of things are working:
What is not working: iso files. |
@mattPiratt |
VideoStation is owned and maintained by Synology. |
How about this link :(thank you @Mask) From : #2952 (comment) |
Theses are all the original open sources that are tied to VideoStation and not the videostation software itself... |
Does anyone have an old copy of VideoStation-x86_64-2.4.6-1594.spk |
A quick google search pointed me here: Also please try not to repost on closed issues unless it's related to the original problem. |
Even though that is the archive I think they have made changes to our work above not longer works!! Can you email me off board please |
I’ve been running the current video station (2.4.7-1603) and th0ma7’s recompiled ffmpeg (4.2.1-23) with a link from the video station bin ffmpeg to the ffmpeg bin directory. so far, I have had no problems playing both mp4 and mkv container files. It plays aac, ac3 and dts audio formats. I haven’t seen any problems yet other than some one in a while audio station relaunch of a video doesn’t play. Simply closing the audio station window and reopening it seems to work fine. There is some CPU usage when fast forwarding or moving around in video files but this seems to subside once the process is done and has never been an issue. I want to give @th0ma7 a very robust THANK YOU for all the hard work! |
Thnx @EngMarc and note that a new testing version related to PR #3965 is available here: |
sorry for the post because this thread has been closed but i have a probleme with DTS. I have a working DTS in videostation with 4.2.2-24 iwth modified file to accepte DTS and link. I tried 4.2.2-29 with no more succes. Videostation 2.4.7-1603. Do i need to edit the file again to accept DTS audio file? Same probleme with Eac3. do i need ssh to edit again with: |
@Yod4z yes, anytime you upgrade VideoStation as otherwise it wont accept playing any unsupported file formats.
|
sorry my bad i see in comment on BenjaminPoncet ffmpeg-wrapper that after videostation update i need to modifi again libsynovte.so |
hmm, updated DSM 7.0.1-42218 and VideoStation 3.0.1-2067 and have ffmnpeg 4.3.3-39-26 from community forum. I'm wondering if there's a new library or something we are missing? |
Hi @EngMarc I would recommend you follow-up this thread AlexPresso/VideoStation-FFMPEG-Patcher#15 (comment) as SynoCommunity does not support VideoStation. |
For new Package Requests, see the guidelines
Setup
Package Name: FFmpeg
_Package Version:_3.3.3-7
_NAS Model:_DS916+
_NAS Architecture:_Intel
_DSM version:_6.1.3-15152 Update 6
Expected behavior
Playback of video with Dolby tracks in DS Video work without issue
Actual behavior
Playback error "failed to play the video because the file format of the currently selected audio track is not supported" (for EAC3).
Steps to reproduce
_1._Launch DS Video
_2._Select video with EAC3 audio
_3._Play
Package log
Check Package Center or
/usr/local/{package}/var/
Other logs (attempted a re-install)
E.g.
/var/log/messages
or/var/log/synopkg.log
The text was updated successfully, but these errors were encountered: