-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Enhancement] Support for CUDA #480
Comments
Hey, yes that would be nice to support. I've only briefly looked at it some years ago but then concluded that at least for some of the GPU and CUDA libraries it didn't seem possible to produce a static binary. But please if you feel motivated have a look again and see how it looks! |
Now i remembered another possible issue: libs not linked with musl might be challenging. |
Can also Intel drivers be added for Intel ARC GPUs transcoding acceleration? |
@examedia-video-engineering Hello, i have no experience using them but if the software needed is open source, can be built with musl libc and be link statically it should be work. Want to look into it? either do a PR or do research what packages would be needed and so on. I'm happy to help out. |
Sounds good, i'll gather Intel ARC driver information, add it to your Dockerfile to test, and will report back if it works. Off topic: What would you reccomend to troubleshoot docker build ? If there's an error with "checkdupsym" for example. |
👍 When working on something i usually take the Dockerfile and strip out everything unrelated and also strip away everything after building ffmpeg, this way the build state kept and also have a shell. Now build the image and run it to get a dev env. In your case i think you can strip all tests for now, including checkdupsym. checkdupsym should only be needed to check for dup syms for rust based libraries. |
I was trying to run FFmpeg and passing
--gpus all
flag to the docker container, just to realise that the image does not support it yet (which I later read in the "todos" section in the README).Any chance to compile FFmpeg with CUDA?
https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#compiling-for-linux
If you do not have time to do it yourself, I can try to take a shot at it (but it might take me a while to understand and fix it). Let me know.
The text was updated successfully, but these errors were encountered: