sorry for my bad English,
it about this :
https://forum.videohelp.com/threads/403540-Why-the-default-libx265-is-much-more-effici..._nvenc-encoder
for input i use :
Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film
h264, 720p, Size on disk : 153 MB (161.193.984 bytes)
Code:ffmpeg -i "Big Buck Bunny 60fps 4K - Official Blender.mp4" -c:v libx265 -c:a copy libx265.mp4 ffmpeg -i "Big Buck Bunny 60fps 4K - Official Blender.mp4" -c:v hevc_nvenc -c:a copy hevc_nvenc.mp4my question is : is there a way to put this libx265 to GPU powered but not hevc_nvenc?Code:libx265 average ffmpeg speed : 1x ffmpeg time spend : 810 seconds CPU temp : 80-85C GPU temp : 38C Size on disk : 69,2 MB (72.564.736 bytes) hevc_nvenc average ffmpeg speed : 12x time spend : 54 seconds CPU temp : 65C GPU temp : 44C Size on disk : 168 MB (176.164.864 bytes)
+ Reply to Thread
Results 1 to 8 of 8
-
Last edited by kucing; 2nd Feb 2025 at 14:23. Reason: minor typo
-
1. libx265 is a strictly software encoder that uses you CPU to encode videos
2. hevc_nvenc is a strictly hardware encoder that uses your GPU to encode videos
3. you can't encode videos with libx265 using your GPU, because it's a strictly software encoder -
I'm not sure if I understand this correctly.
But what you looking for seems to be a hybrid that uses both. CPU and GPU.
The only software that crossed my mind is the Mainconcept Hybrid HEVC encoder, which is payware but has a trial version.
Code:https://www.mainconcept.com/ffmpeg#try-free
-
-
I did re read and when I scroll down it lists
Hardware-accelerated encoding powered by AMD AMF, Intel Quick
Sync Video and NVIDIA NVENC -
If it should be x265, then you can use hevc_amf (AMD hardware) or hevc_qsv (Intel hardware) in addition to hevc_nvenc (nVidia hardware), both with or without hardware decoding support.
Try them with clever FFmpeg-GUI, if the hardware support is missing, you will get an error message.
[Attachment 85280 - Click to enlarge]
Similar Threads
-
FFMPEG; how to get GPU accelerated nlmeans work
By RogerTango in forum Video ConversionReplies: 4Last Post: 21st Jun 2023, 17:39 -
ffmpeg accepting vapoursynth .vpy input directly, and gpu accelerated speed
By hydra3333 in forum Newbie / General discussionsReplies: 25Last Post: 2nd Feb 2023, 00:09 -
2 pass encoding error in ffmpeg cli with libx265
By Anonymous543 in forum Newbie / General discussionsReplies: 19Last Post: 31st Dec 2021, 14:04 -
how to force ffmpeg to encode mpeg2 interlaced ?
By hydra3333 in forum Video ConversionReplies: 19Last Post: 25th Jun 2021, 08:22 -
ffmpeg join 2 videos with GPU accelerated encoding
By M00nsp3ll in forum Newbie / General discussionsReplies: 0Last Post: 9th Apr 2020, 20:00