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

how use ffmpeg by Gpu geforce GTX #202

Open
saman-magnus opened this issue Jan 20, 2022 · 4 comments
Open

how use ffmpeg by Gpu geforce GTX #202

saman-magnus opened this issue Jan 20, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@saman-magnus
Copy link

hello i try Million way's to find a way for encoding video file ffmpeg but i can't find any , i search at google but nothing, another problem ffmpeg use to much cpu power , what can i do any idea ???

  • i use geforce GTX 1070 ti and geforce GTX 960 turbo
    cpuhard
@MacWarrior MacWarrior added wontfix This will not be worked on and removed wontfix This will not be worked on labels Jan 20, 2022
@MacWarrior
Copy link
Owner

Hello @saman-magnus,

I've also spend time looking for GPU conversion... and it require to recompile FFMpeg with a specific argument (nv-codec-hearders)

Check this :
https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/

After finalising HLS conversion, I'll have a huge conversion process to do and I'll probably look further into this option to massively improve conversion time (Here with RTX3080 / GTX1080)
If things go well, I'll make a tuto / script to automate ffmpeg compilation

Best regards,
MacWarrior.

@saman-magnus
Copy link
Author

this GeForce Gtx 960 Turbo Gpu and i waiting for ur job bro
cmd

@MacWarrior MacWarrior added the enhancement New feature or request label Jan 20, 2022
@saman-magnus
Copy link
Author

hello MacWarrior i find a way to fix cpu usage and use GPU for Encode ffmpeg, i was install_
https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/ on GeForce GTX 960 T
after that i change video encode from H264 to H264_nvenc and finally i see this one :
cpu lov
so its much faster and low cpu usage 👍 what do you think ?

@anhthoai
Copy link

anhthoai commented Mar 31, 2022

hello MacWarrior i find a way to fix cpu usage and use GPU for Encode ffmpeg, i was install_ https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/ on GeForce GTX 960 T after that i change video encode from H264 to H264_nvenc and finally i see this one : cpu lov so its much faster and low cpu usage 👍 what do you think ?

Yes. You just change libx264 to h264_nvenc for GPU in command at ffmpeg.class.php. Speed will be 15x to 27x for GPU 10GB-12GB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants