Reputation: 31
I have a GTX 660 with nvidias fancy hardware H.264 encoder, I also have a bunch of video files I would like to encode into H.264. Is it possible to tell ffmpeg to use my hardware H.264 encoder instead of my CPU for encoding video?
Upvotes: 2
Views: 3147
Reputation: 1811
You need to configure ffmpeg with -enable-nvenc key and use -vcodec nvenc
Please read this documentation for more information.
Upvotes: 1
Reputation: 41
Apparently, ffmpeg 2.6 now includes support (from http://git.videolan.org/?p=ffmpeg.git;a=blob;f=RELEASE_NOTES;hb=release/2.6):
A lot of people will probably be happy to hear that we now
have support for NVENC — the Nvidia Video Encoder interface for
H.264 encoding — thanks to Timo Rothenpieler, with some little
help from NVIDIA and Philip Langdale.
Upvotes: 3
Reputation: 5684
There's no built-in solution with FFmpeg.
But it's possible if you code using the NVIDIA SDK. I did it by myself. But the quality of the NVIDIA H.264 HE is terrible compared to libx264. I didn't find anyone else that got satisfied with the results... :-(
Upvotes: 3