Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
building cuda-based filters #83
Any idea how to implement the cross-compilation of these things given the nvidia SDK will apparently no longer be required ("only" nvcc) ?
EDIT: .exe to test: https://share.toji.site/ffmpeg.exe
Works fine on my end.
Make sure to install cuda correctly using this guide:
I only tested 1 filter though.. and merely if it even converts/runs ffmpeg:
And it seems to have worked fine.
@hydra3333 Nothing on the windows pc is required.. other than nVidia driver and GPU I guess.
Also, I think they already began implementing it
So the patches will fail
OK, yes, https://git.videolan.org/?p=ffmpeg.git;a=shortlog seems to show the patches committed.
So, next is for me to try this too like you said,
outside the .py
I've been building with ubuntu 18.04 but am considering trying 18.10 to see what happens :)
edit: the nvidia cuda SDK install guide seems to talk about also installing an nvidia driver, which is problematic since I build inside a VM ... oh well, will omit that bit and see what happens
I build inside a VM too. Just download this .run file:
either for 18.10 or 04 then run it and just keep all default options selected.
Then add the paths to.. the path (as seen here): https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#environment-setup
You don't need a nVidia GPU for this and it also works in a VM.
OK, just for completeness and when I forget for next time, notes consolidated from the nvidia install document: