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

[XPenology] Enable iGPU / Hardware transcoding #133

Closed
alekc70 opened this issue Jun 10, 2024 · 4 comments
Closed

[XPenology] Enable iGPU / Hardware transcoding #133

alekc70 opened this issue Jun 10, 2024 · 4 comments

Comments

@alekc70
Copy link

alekc70 commented Jun 10, 2024

Please check the FAQ before posting any question.

Question
Hello!
First of all thank you for your work!
I would propose adding a wrapper function that includes the necessary commands to enable GPU usage for transcoding video with FFmpeg. You can find a description https://gist.github.com/danpawlik/d1ddd34e01e19d68fdc5890f1d343b95
The reason I'm suggesting this is that it would enable hardware acceleration on the SA6400 with CPU >= Gen11 or NVIDIA/AMD graphics.

@alekc70
Copy link
Author

alekc70 commented Jun 14, 2024

I found one more interesting article https://timothybasanov.com/2018/12/08/hardware-accelerated-h264-encoding-synology-nas.html

Maybe problem in propriate synology ffmpeg library which have no necessary comands inside. Would be possible to change it to one from ds920+ or another one?

@AlexPresso
Copy link
Owner

AlexPresso commented Jun 30, 2024

Hello @alekc70

Thank you for your issue, but there's something I don't understand, why do you want to enable GPU transcoding on a SA6400 ? this NAS model doesn't support it, it's having an AMD Epyc which is not having a iGPU

The wrapper itself is not built to enable hardware transcoding, it's here to change the VideoStation's ffmpeg parameters so that it delegates the transcoding to SynoCommunity ffmpeg and at same time does some tuning on ffmpeg parameters

By default, it's up to VideoStation to pass the original parameters (including GPU transcoding parameters, if available)

@alekc70
Copy link
Author

alekc70 commented Jul 1, 2024

Hello @AlexPresso!

Because I want to build a NAS server with a modern CPU, I'm currently using an i5-12400. The DSM model SA6400 is the only one that supports an iGPU (Gen 11) due to its kernel 5.

However, a colleague found a solution that I'm currently testing: https://xpenology.com/forum/topic/70520-video-station-使用vaapi-硬解-的方法/

@AlexPresso
Copy link
Owner

Hello,

Oh okay, I see, thank you very much for the feedback
Unfortunately, I'm not planning to support non-official distributions, sorry
I will keep this issue pinned, so other XPenology users can have a workaround, but it will not be included in the patcher itself

@AlexPresso AlexPresso closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
@AlexPresso AlexPresso changed the title [QA] [New feature] Add to ffmpeg command line to enable GPU to transcoding [XPenology] Enable iGPU / Hardware transcoding Jul 1, 2024
@AlexPresso AlexPresso pinned this issue Jul 1, 2024
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

No branches or pull requests

2 participants