-
-
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
Update ffmpeg to 3.4.2 with vaapi support for intel x64 #3222
Conversation
- vaapi is for intel x64 archs only
OK interesting. But why not implement my proposal to link against Video Station shared libraries already available ? |
@ymartin59 because the VideoStation uses a different version off ffmpeg. |
@hgy59 My idea #3207 (comment) was to build ffmpeg thanks to "libva*.so" libraries from VideoStation to avoid to rebuild them including kernel modules.
Just an idea, it may not be successful... Your trial may face troubles to have libraries matching kernel modules. |
@ymartin59 I presume that linking to *.so will not be possible without *.la file (not sure for linux, but on Windows you need the *.def file to link to *.dll) |
@ymartin59 and how to download spk from synology from the build environment? |
@hgy59 Just googled, but maybe from here? |
@hgy59 About libraries, C compiler only requires |
I think (if we can) we are avoid to use any lib from Synology. We can see that they use often old lib (ffmpeg, php 5.6) as core. Its better to create own "same" lib, to get the fresh version and newest bugfix. |
@MrSpoocy I can only agree with you, but concerning hardware-related libraries like "libva*" and "drm" kernel drivers, it sounds wiser to keep in-line with what Synology provides in DSM. |
@ymartin59 Have you ever had a chance to look into this PR? I think it could be a stepping stone for further updates. Obvisouly biased, benefitting from vapi integration... ;-) |
@ymartin59 This PR looks very logical to me, but I'm also aware that you looked into an alternative implemenation method. From what you know now, would you still advocate an alternative approach? |
I still consider that if version provided in DSM "works", there is no need to rebuild or to update - I faced it recently with fuse for sshfs. |
A proposal would be to build against VideoStation libva:
So it means VideoStation becomes a required dependency for ffmpeg package, at least for x64 platforms. To be honest, probably the only reason why I let that PR alone may be jealousy because @hgy59 succeeded to build just one week after I tried myself and failed against intel driver and made my mind to avoid rebuild libva and intel driver... Really this is a good job and I find no reason (today) not to merge it. I will squash and rebase @hgy59 commits to keep author into #3575. |
@ymartin59 It takes character to arrive at conclusions like this, and even more so to state them publically. I enjoy being part of this project! @hgy59 Many thanks for your contributions and your patience! |
Motivation: Support video accelleration API for intel chips
Linked issues: #3207
Checklist
all-supported
completed successfullyFeatures